forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#127566 - GuillaumeGomez:sync-cg_gcc, r=Guilla…
…umeGomez Sync rustc_codegen_gcc Follow-up of rust-lang/rustc_codegen_gcc#535. cc `@antoyo`
- Loading branch information
Showing
69 changed files
with
2,681 additions
and
1,138 deletions.
There are no files selected for viewing
This file contains 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 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 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 |
---|---|---|
|
@@ -68,21 +68,23 @@ jobs: | |
run: | | ||
./y.sh prepare --only-libcore --libgccjit12-patches | ||
./y.sh build --no-default-features --sysroot-panic-abort | ||
cargo test --no-default-features | ||
./y.sh clean all | ||
- name: Prepare dependencies | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "User" | ||
./y.sh prepare --libgccjit12-patches | ||
- name: Add more failing tests for GCC 12 | ||
run: cat tests/failing-ui-tests12.txt >> tests/failing-ui-tests.txt | ||
|
||
- name: Add more failing tests because the sysroot is not compiled with LTO | ||
run: cat tests/failing-non-lto-tests.txt >> tests/failing-ui-tests.txt | ||
|
||
- name: Run tests | ||
run: | | ||
./y.sh test --release --clean --build-sysroot ${{ matrix.commands }} --no-default-features | ||
# Uncomment when we no longer need to remove global variables. | ||
#./y.sh build --sysroot --no-default-features --sysroot-panic-abort | ||
#cargo test --no-default-features | ||
#./y.sh clean all | ||
#- name: Prepare dependencies | ||
#run: | | ||
#git config --global user.email "[email protected]" | ||
#git config --global user.name "User" | ||
#./y.sh prepare --libgccjit12-patches | ||
|
||
#- name: Add more failing tests for GCC 12 | ||
#run: cat tests/failing-ui-tests12.txt >> tests/failing-ui-tests.txt | ||
|
||
#- name: Add more failing tests because the sysroot is not compiled with LTO | ||
#run: cat tests/failing-non-lto-tests.txt >> tests/failing-ui-tests.txt | ||
|
||
#- name: Run tests | ||
#run: | | ||
#./y.sh test --release --clean --build-sysroot ${{ matrix.commands }} --no-default-features |
This file contains 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 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 |
---|---|---|
|
@@ -37,7 +37,7 @@ jobs: | |
run: sudo apt-get install ninja-build ripgrep | ||
|
||
- name: Download artifact | ||
run: curl -LO https://github.com/antoyo/gcc/releases/latest/download/gcc-13.deb | ||
run: curl -LO https://github.com/rust-lang/gcc/releases/latest/download/gcc-13.deb | ||
|
||
- name: Setup path to libgccjit | ||
run: | | ||
|
@@ -53,7 +53,7 @@ jobs: | |
- name: Build | ||
run: | | ||
./y.sh prepare --only-libcore | ||
EMBED_LTO_BITCODE=1 ./y.sh build --release --release-sysroot | ||
EMBED_LTO_BITCODE=1 ./y.sh build --sysroot --release --release-sysroot | ||
cargo test | ||
./y.sh clean all | ||
|
@@ -62,12 +62,12 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "User" | ||
./y.sh prepare | ||
# FIXME(antoyo): we cannot enable LTO for stdarch tests currently because of some failing LTO tests using proc-macros. | ||
echo -n 'lto = "fat"' >> build_sysroot/Cargo.toml | ||
- name: Add more failing tests because of undefined symbol errors (FIXME) | ||
run: cat tests/failing-lto-tests.txt >> tests/failing-ui-tests.txt | ||
|
||
- name: Run tests | ||
run: | | ||
# FIXME(antoyo): we cannot enable LTO for stdarch tests currently because of some failing LTO tests using proc-macros. | ||
echo -n 'lto = "fat"' >> build_system/build_sysroot/Cargo.toml | ||
EMBED_LTO_BITCODE=1 ./y.sh test --release --clean --release-sysroot --build-sysroot ${{ matrix.commands }} |
This file contains 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 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 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 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 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 was deleted.
Oops, something went wrong.
Oops, something went wrong.