-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[build] ensure benchmark toolchain tests use the just built libraries #38158
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
[build] ensure benchmark toolchain tests use the just built libraries #38158
Conversation
@swift-ci please smoke test |
@swift-ci please build toolchain |
I would recommend reverting my change to skip building benchmark in this PR. Otherwise, build toolchain job will not provide valid testing. |
7c730a9
to
7a12ffe
Compare
@swift-ci please smoke test |
@swift-ci please build toolchain |
Linux Toolchain (Ubuntu 16.04) Install command |
@swift-ci please smoke test macOS |
@swift-ci please test Windows |
The binaries would prefer the dylibs shipped in the OS to the ones just built -- employ `DYLD_LIBRARY_PATH` to pick up the latter instead. The main purpose of this change is to unblock the generation of nightly toolchains. Addresses rdar://79788142
7a12ffe
to
db88d43
Compare
@swift-ci please smoke test |
@swift-ci please build toolchain |
Linux Toolchain (Ubuntu 16.04) Install command |
macOS Toolchain Install command |
The benchmark tests are being executed without errors
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with these small changes.
utils/swift_build_support/swift_build_support/products/benchmarks.py
Outdated
Show resolved
Hide resolved
utils/swift_build_support/swift_build_support/products/benchmarks.py
Outdated
Show resolved
Hide resolved
@swift-ci please python lint |
@swift-ci please smoke test |
@swift-ci please build toolchain |
Linux Toolchain (Ubuntu 16.04) Install command |
macOS Toolchain Install command |
Checked that the new run executed the benchmark tests as expected
|
For some reason I don't fully understand, the standalone python lint seems to check more files that the one run as part of macOS tests and detect issues on a file not changed by this PR
Since this will not affect regular CI runs, I will return to this at a later time. |
The binaries would prefer the libraries shipped in the OS to the ones just built -- employ `DYLD_LIBRARY_PATH` to pick up the latter instead. The main purpose of this change is to unblock the generation of nightly toolchains. Addresses rdar://79788142 Cherry picked from commit 3504310, swiftlang#38158
The binaries would prefer the dylibs shipped in the OS to the ones just built -- employ
DYLD_LIBRARY_PATH
to pick up the latter instead.The main purpose of this change is to unblock the generation of nightly
toolchains.
Addresses rdar://79788142