Skip to content

fix llvmdev_build.yml to resolve toolchain incompatibility on osx-64#1227

Merged
seibert merged 4 commits intonumba:mainfrom
swap357:gha/fix_llvmdev_workflow_for_osx-64
Jun 3, 2025
Merged

fix llvmdev_build.yml to resolve toolchain incompatibility on osx-64#1227
seibert merged 4 commits intonumba:mainfrom
swap357:gha/fix_llvmdev_workflow_for_osx-64

Conversation

@swap357
Copy link
Contributor

@swap357 swap357 commented Jun 3, 2025

ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd' for architecture x86_64
    clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
    ninja: build stopped: subcommand failed.

The above error is mostly caused when using conda build under conda env on (intel-based) osx-64 systems.
It's because the newer toolchains are incompatible with conda build.
To make this work, we download older toolchain and have conda build point to it using CONDA_BUILD_SYSROOT var.

--variants '{"CONDA_BUILD_SYSROOT": "/opt/MacOSX10.10.sdk"}'

Reference:

@seibert seibert merged commit 55f4224 into numba:main Jun 3, 2025
22 of 31 checks passed
@seibert seibert mentioned this pull request Jun 3, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants