macOS x64 CI: fix dependency install and OpenMP runtime copy (use Homebrew libomp, adjust Helix payload) #7510
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.
PR: macOS x64 CI: fix dependency install and OpenMP runtime copy
Summary
This PR fixes MachineLearning-CI failures on macOS x64 where jobs stop at Install MacOS build dependencies with:
The breakage comes from two areas:
libomp.rb
path that no longer works on hosted macOS images.libomp.dylib
andlibiomp5.dylib
, butlibiomp5.dylib
is not available when installinglibomp
from Homebrew core.Fixes #7509
Changes
build/ci/job-template.yml
brew install …/build/libomp.rb
with standard Homebrew:eng/helix.proj
DYLD_LIBRARY_PATH
so Helix can findlibomp.dylib
./usr/local/opt/libomp/lib/libomp.dylib
into the publish folder.libiomp5.dylib
(not present withlibomp
from Homebrew).@loader_path/libomp.dylib
.Why
libomp
is available via core.Testing
osx.13.amd64.open
queue.libomp.dylib
is present in publish folder.DYLD_LIBRARY_PATH
set correctly.Risk / Impact
Additional Notes
llvm
overlibomp
as the OpenMP provider, happy to adjust.PR Checklist