-
Notifications
You must be signed in to change notification settings - Fork 671
[bazel] Build with LLVM #8414
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
auscompgeek
wants to merge
9
commits into
wpilibsuite:2027
Choose a base branch
from
auscompgeek:llvm-toolchain
base: 2027
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.
+125
−22
Open
[bazel] Build with LLVM #8414
Changes from 3 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
9e3f07d
[bazel] Build with LLVM 19.1.7
auscompgeek e4f6490
containers are for chumps
auscompgeek 6da76b8
system deps aaaa
auscompgeek 7adcc0d
wpical mrcal warnings
auscompgeek 6f94a1b
llvm 20.1.7
auscompgeek f488776
fix macos platform name
auscompgeek 6db1309
declare warning bankruptcy
auscompgeek cb955ba
Add disk space cleanup step for Linux Bazel build
auscompgeek 3ab7b31
shot myself in the foot with the fixed enum extension in HAL_ENUM
auscompgeek 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
Some comments aren't visible on the classic Files Changed page.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,14 +12,14 @@ jobs: | |
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - { name: "Linux System Core", classifier: "linuxsystemcore", os: ubuntu-24.04, container: "wpilib/systemcore-cross-ubuntu:2027-24.04", action: "build" } | ||
| - { name: "Linux System Core Debug", classifier: "linuxsystemcoredebug", os: ubuntu-24.04, container: "wpilib/systemcore-cross-ubuntu:2027-24.04", action: "build" } | ||
| - { name: "Linux System Core Static", classifier: "linuxsystemcorestatic", os: ubuntu-24.04, container: "wpilib/systemcore-cross-ubuntu:2027-24.04", action: "build" } | ||
| - { name: "Linux System Core Static Debug", classifier: "linuxsystemcorestaticdebug", os: ubuntu-24.04, container: "wpilib/systemcore-cross-ubuntu:2027-24.04", action: "build" } | ||
| - { name: "Linux x86-64", classifier: "linuxx86-64,headers,sources", os: ubuntu-24.04, container: "wpilib/systemcore-cross-ubuntu:2027-24.04", action: "test" } | ||
| - { name: "Linux x86-64 Debug", classifier: "linuxx86-64debug", os: ubuntu-24.04, container: "wpilib/systemcore-cross-ubuntu:2027-24.04", action: "test" } | ||
| - { name: "Linux x86-64 Static", classifier: "linuxx86-64static", os: ubuntu-24.04, container: "wpilib/systemcore-cross-ubuntu:2027-24.04", action: "test" } | ||
| - { name: "Linux x86-64 Static Debug", classifier: "linuxx86-64staticdebug", os: ubuntu-24.04, container: "wpilib/systemcore-cross-ubuntu:2027-24.04", action: "test" } | ||
| - { name: "Linux System Core", classifier: "linuxsystemcore", os: ubuntu-24.04, action: "build" } | ||
| - { name: "Linux System Core Debug", classifier: "linuxsystemcoredebug", os: ubuntu-24.04, action: "build" } | ||
| - { name: "Linux System Core Static", classifier: "linuxsystemcorestatic", os: ubuntu-24.04, action: "build" } | ||
| - { name: "Linux System Core Static Debug", classifier: "linuxsystemcorestaticdebug", os: ubuntu-24.04, action: "build" } | ||
| - { name: "Linux x86-64", classifier: "linuxx86-64,headers,sources", os: ubuntu-24.04, action: "test" } | ||
| - { name: "Linux x86-64 Debug", classifier: "linuxx86-64debug", os: ubuntu-24.04, action: "test" } | ||
| - { name: "Linux x86-64 Static", classifier: "linuxx86-64static", os: ubuntu-24.04, action: "test" } | ||
| - { name: "Linux x86-64 Static Debug", classifier: "linuxx86-64staticdebug", os: ubuntu-24.04, action: "test" } | ||
|
|
||
| - { name: "macOS", classifier: "osxuniversal,osxuniversaldebug,headers,sources,osxuniversalstatic,osxuniversalstaticdebug,linuxsystemcore,linuxsystemcoredebug,linuxsystemcorestatic,linuxsystemcorestaticdebug", os: macOS-15, action: "test" } | ||
|
|
||
|
|
@@ -34,7 +34,6 @@ jobs: | |
|
|
||
| name: "${{ matrix.action == 'test' && 'Test' || 'Build' }} ${{ matrix.name }}" | ||
| runs-on: ${{ matrix.os }} | ||
| container: ${{ matrix.container }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: { fetch-depth: 0 } | ||
|
|
@@ -45,6 +44,10 @@ jobs: | |
| username: ${{ secrets.BAZEL_CACHE_USERNAME }} | ||
| password: ${{ secrets.BAZEL_CACHE_PASSWORD }} | ||
|
|
||
| - name: Install apt dependencies | ||
| if: matrix.os == 'ubuntu-24.04' | ||
| run: sudo apt-get install -y libgl1-mesa-dev libx11-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev | ||
|
|
||
| - if: matrix.os == 'ubuntu-24.04' | ||
| uses: bazel-contrib/[email protected] | ||
| with: | ||
|
|
@@ -64,12 +67,7 @@ jobs: | |
| - name: Free Space | ||
| if: always() | ||
| shell: bash | ||
| run: | | ||
| if [[ "${{ matrix.os }}" == "windows-2022" ]]; then | ||
| fsutil volume diskfree C: | ||
| else | ||
| df -h / | ||
| fi | ||
| run: df -h | ||
|
|
||
| buildifier: | ||
| name: "buildifier" | ||
|
|
||
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
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.
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.
There's no
toolchains_llvmrelease that supports theextra_*_flagsparameters yet.