Skip to content

fix(package): name the sdk archive for macos hosts - #7

Merged
boykopovar merged 1 commit into
boykopovar:mainfrom
AnyDevStudio:fix/macos-sdk-archive-name
Nov 17, 2026
Merged

boykopovar merged 1 commit into
boykopovar:mainfrom
AnyDevStudio:fix/macos-sdk-archive-name

Conversation

@utkuhalis

Copy link
Copy Markdown
Contributor

Summary

On a Mac, package_sdk names the archive as if it were built on Linux:

PACKAGE_NAME=AnyDevKit-dev-linux-x86_64.tar.gz

because every host that is not Windows takes the Linux name. It now uses AnyDevKit-<version>-macos-<processor>.tar.gz on macOS, with CMake's CMAKE_SYSTEM_PROCESSOR (arm64 on Apple silicon). Windows and Linux names are unchanged.

Testing

On macOS arm64, configured with Ninja and Homebrew LLVM 23.1.3:

  • Before: build.ninja has PACKAGE_NAME=AnyDevKit-dev-linux-x86_64.tar.gz.
  • After: PACKAGE_NAME=AnyDevKit-dev-macos-arm64.tar.gz, and the package_sdk target writes that archive with bin/adk, lib/cmake and the rest (94 entries).

ctest passed 11/11 with this applied.

I did not build on an Intel Mac, so macos-x86_64 is what CMake should report there, not something I saw. I did not run Linux or Windows; their branches are untouched.

Note

Building current main on macOS also needs #include <algorithm> in 3rdparty/opengnm-psbc/src/amd/compiler/aco_util.h (std::move_backward); I added that locally to build and run the tests. It is not part of this pull request.

@boykopovar
boykopovar merged commit 9f77618 into boykopovar:main Nov 17, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants