-
Notifications
You must be signed in to change notification settings - Fork 350
fix llvmdev osx64 conda builder #1167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
seibert
merged 18 commits into
numba:main
from
swap357:gha/fix-llvmdev-osx64-conda-builder
Apr 17, 2025
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
5662135
disable CPU-specific test flag in build script
swap357 83bc4ca
comment out CPU-specific test flag config from wheel recipe
swap357 378764e
add macos sdk download and config for conda build
swap357 e5543e5
update and test default build config for llvmdev
swap357 ea24fb4
refactor macos setup in llvmdev build script
swap357 34eaea0
move sdk checksum file to correct location
swap357 d8faa82
move and update sdk checksum path
swap357 07ca295
update MacOSX10.10.sdk checksum to SHA-256
swap357 73bae68
add macos sdk setup function to llvmdev_evaluate script
swap357 dc116d2
add platform specific setup script
swap357 dbdb13a
update sdk setup to extract to /opt and configure build environment
swap357 8e0b1a7
cleanup build configs for llvmdev conda and wheel builder
swap357 b156d79
add osx-64 wheel builder to defaults to be run on PR
swap357 43cdfdf
remove platform-specific setup placeholders from setup script
swap357 65a2690
remove redundant vars from conda build config files
swap357 2d497b8
remove unnecessary chmod command
swap357 a49168e
update buildscripts/github/setup_platform.sh
swap357 da770cf
update setup_platform.sh to use errexit flag, set -ex
swap357 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 3839b875df1f2bc98893b8502da456cc0b022c4666bc6b7eb5764a5f915a9b00 MacOSX10.10.sdk.tar.xz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| #!/bin/bash | ||
|
|
||
| set -ex | ||
|
|
||
| PLATFORM=$1 | ||
|
|
||
| echo "Setting up platform-specific requirements for ${PLATFORM}" | ||
|
|
||
| case "${PLATFORM}" in | ||
| "osx-64") | ||
| echo "Setting up macOS SDK for osx-64 build" | ||
| sdk_dir="buildscripts/github" | ||
| mkdir -p "${sdk_dir}" | ||
|
|
||
| # Download SDK | ||
| echo "Downloading MacOSX10.10.sdk.tar.xz" | ||
| wget -q https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.10.sdk.tar.xz | ||
|
|
||
| # Verify checksum | ||
| echo "Verifying SDK checksum" | ||
| shasum -c "${sdk_dir}/MacOSX10.10.sdk.checksum" || exit 1 | ||
|
|
||
| # Extract SDK to /opt | ||
| echo "Extracting SDK to /opt" | ||
| sudo mkdir -p /opt | ||
| sudo tar -xf MacOSX10.10.sdk.tar.xz -C /opt | ||
| echo "macOS SDK setup complete" | ||
| ;; | ||
| *) | ||
| echo "No specific setup required for platform: ${PLATFORM}" | ||
| ;; | ||
| esac | ||
|
|
||
| echo "Platform setup complete for ${PLATFORM}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.