-
Notifications
You must be signed in to change notification settings - Fork 22
Add building and testing of PGO+LTO LLVM and Julia #345
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
Open
Zentrik
wants to merge
58
commits into
JuliaCI:main
Choose a base branch
from
Zentrik:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+43
−0
Open
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
7723d66
Add building and testing of PGO+LTO LLVM and Julia
Zentrik 1b3e706
Fix run pgo_script command
Zentrik add640c
Make pgo script a bit quicker
Zentrik e0fcd80
Fix lto build directory
Zentrik 4fafdc1
Fix upload name for lto binary
Zentrik 8dec66b
Use profile from building julia for PGO
Zentrik 04bc679
Replace + with - character in .arches file
Zentrik 4a944cd
Add -m64 as a flag to clang
Zentrik c24698b
Print patchelf config log if make fails
Zentrik cc7a072
Fix typo
Zentrik 657bdf7
Try finding correct gcc - taken from CLANGSA_CXXFLAGS in julia Makefile
Zentrik f907ba9
Specify gcc version exactly
Zentrik 682b02e
Try different path
Zentrik 657b390
Try different path + pass into flags used for building not just config
Zentrik 3c409ba
Specify CFLAGS and CXXFLAGS properly
Zentrik f7fcaf1
Remove hardcoded gcc install dir
Zentrik aaf61c7
Upload profile data so builds can be reproduced
Zentrik 3a22736
Switch rootfs image to llvm_passes
Zentrik 0b7d70e
Add back gcc install dir for sanitize opts
Zentrik 45c520c
Add back gc install dir everywhere
Zentrik 7e2256b
Update rootfs_hash
Zentrik 2fe728a
Stop clang throwing error on unused function in crc32
Zentrik 75e32b8
Fix
Zentrik 1d142de
Revert "Fix"
Zentrik 83c8607
Revert "Stop clang throwing error on unused function in crc32"
Zentrik 07fa39e
Remove `-Werror` till https://github.com/JuliaLang/julia/pull/53897 m…
Zentrik 3703bd8
Clean up
Zentrik 60baf58
Try to fix downloading pgo binary when testing
Zentrik 4f1c0c8
Add comment
Zentrik 13d9447
Tabs to spaces
Zentrik c669dba
Copy cleanup from https://github.com/JuliaCI/julia-buildkite/pull/345…
Zentrik 0408a2f
Workaround parser disliking +
Zentrik eda42b7
Fix triplet extraction
Zentrik 5f6fe68
Include make flags from .arches for stage 1
Zentrik 2d1ba85
Hack in LDFLAGS
Zentrik 81196b0
Be more targeted with LDFLAGS
Zentrik 62cebaf
Try to prevent `binary-dist` from rebuilding sysimg.ji
Zentrik eaabb50
Try again
Zentrik 05efb04
Try again
Zentrik df41626
Try again
Zentrik 63b21a3
Try again
Zentrik 214bb07
Try again
Zentrik 0de5f46
Test fix
Zentrik 4b7099c
Try again
Zentrik aa3e34c
Fix again
Zentrik ea9a02f
Retrigger
Zentrik 482f04a
Try again
Zentrik d165dc5
Try again
Zentrik 6595ba2
Fix again
Zentrik 8dc52bd
Fix up
Zentrik b4a1a2f
Rebuild
Zentrik faa645d
Switch back to official Julia Repo
Zentrik a6d823d
Try fix for lld not being installed into usr/tools
Zentrik a51739b
Hopefully correct fix
Zentrik 173d95e
Retrigger
Zentrik 399ae7e
Switch back to Julia repo
Zentrik acca367
Merge branch 'main' into main
DilumAluthge 892fc25
Merge branch 'main' into main
Zentrik 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,8 @@ | ||
| # ROOTFS_IMAGE_NAME TRIPLET ARCH ARCH_ROOTFS USE_JULIA_PGO_LTO MAKE_FLAGS TIMEOUT ROOTFS_TAG ROOTFS_HASH | ||
| llvm_passes x86_64-linux-gnu-pgo-lto x86_64 x86_64 PGO_LTO . . v7.6 ebdfa2d40c0e27842cccbfdd43710144f9adf9d8 | ||
|
|
||
| # These special lines allow us to embed default values for the columns above. | ||
| # Any column without a default mapping here will simplpy substitute a `.` to the empty string | ||
|
|
||
| # Builds should generally finish in much less time than this, but from-source builds can take longer | ||
| #default TIMEOUT 80 |
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,10 @@ | ||
| # ROOTFS_IMAGE_NAME TRIPLET ARCH ARCH_ROOTFS TIMEOUT USE_RR USE_JULIA_PGO_LTO ROOTFS_TAG ROOTFS_HASH | ||
| tester_linux x86_64-linux-gnu-pgo-lto x86_64 x86_64 . . PGO_LTO v6.00 770c0240be788cfeb9654e1980ea929d3ed98d1f | ||
|
|
||
| # These special lines allow us to embed default values for the columns above. | ||
| # Any column without a default mapping here will simply substitute a `.` to the empty string | ||
|
|
||
| # Most tests should finish within ~45 minutes, barring exceptionally slow hardware | ||
| # We double that to a default of 90 minutes, with an extra 45 minutes for cleanup, | ||
| # including things like `rr` trace compression, | ||
| #default TIMEOUT 135 |
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.