Skip to content

Commit 8877ec1

Browse files
committed
replace config.toml to bootstrap.toml in compiler:cg_gcc submodule
1 parent 7705a88 commit 8877ec1

File tree

15 files changed

+30
-21
lines changed

15 files changed

+30
-21
lines changed

compiler/rustc_codegen_cranelift/scripts/setup_rust_fork.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ git submodule update --quiet --init src/tools/cargo library/backtrace library/st
2222
git -c user.name=Dummy -c user.email=dummy@example.com -c commit.gpgSign=false \
2323
am ../patches/*-stdlib-*.patch
2424

25-
cat > config.toml <<EOF
25+
cat > bootstrap.toml <<EOF
2626
change-id = 999999
2727
2828
[llvm]

compiler/rustc_codegen_gcc/.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Setup path to libgccjit
5858
run: |
5959
sudo dpkg --force-overwrite -i ${{ matrix.libgccjit_version.gcc }}
60-
echo 'gcc-path = "/usr/lib/"' > config.toml
60+
echo 'gcc-path = "/usr/lib/"' > bootstrap.toml
6161
6262
- name: Set env
6363
run: |

compiler/rustc_codegen_gcc/.github/workflows/failures.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Setup path to libgccjit
5151
if: matrix.libgccjit_version.gcc == 'libgccjit12.so'
5252
run: |
53-
echo 'gcc-path = "/usr/lib/gcc/x86_64-linux-gnu/12"' > config.toml
53+
echo 'gcc-path = "/usr/lib/gcc/x86_64-linux-gnu/12"' > bootstrap.toml
5454
echo "LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12" >> $GITHUB_ENV
5555
echo "LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12" >> $GITHUB_ENV
5656
@@ -62,7 +62,7 @@ jobs:
6262
if: matrix.libgccjit_version.gcc != 'libgccjit12.so'
6363
run: |
6464
sudo dpkg --force-overwrite -i gcc-15.deb
65-
echo 'gcc-path = "/usr/lib"' > config.toml
65+
echo 'gcc-path = "/usr/lib"' > bootstrap.toml
6666
echo "LIBRARY_PATH=/usr/lib" >> $GITHUB_ENV
6767
echo "LD_LIBRARY_PATH=/usr/lib" >> $GITHUB_ENV
6868

compiler/rustc_codegen_gcc/.github/workflows/gcc12.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: sudo apt-get install ninja-build ripgrep llvm-14-tools libgccjit-12-dev
4848

4949
- name: Setup path to libgccjit
50-
run: echo 'gcc-path = "/usr/lib/gcc/x86_64-linux-gnu/12"' > config.toml
50+
run: echo 'gcc-path = "/usr/lib/gcc/x86_64-linux-gnu/12"' > bootstrap.toml
5151

5252
- name: Set env
5353
run: |

compiler/rustc_codegen_gcc/.github/workflows/m68k.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Setup path to libgccjit
5959
run: |
6060
sudo dpkg -i gcc-m68k-15.deb
61-
echo 'gcc-path = "/usr/lib/"' > config.toml
61+
echo 'gcc-path = "/usr/lib/"' > bootstrap.toml
6262
6363
- name: Set env
6464
run: |

compiler/rustc_codegen_gcc/.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Setup path to libgccjit
4343
run: |
4444
sudo dpkg --force-overwrite -i gcc-15.deb
45-
echo 'gcc-path = "/usr/lib/"' > config.toml
45+
echo 'gcc-path = "/usr/lib/"' > bootstrap.toml
4646
4747
- name: Set env
4848
run: |

compiler/rustc_codegen_gcc/.github/workflows/stdarch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- name: Set env
6161
run: |
6262
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
63-
echo 'download-gccjit = true' > config.toml
63+
echo 'download-gccjit = true' > bootstrap.toml
6464
6565
- name: Build
6666
run: |

compiler/rustc_codegen_gcc/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ tools/llvmint-2
1919
llvm
2020
build_system/target
2121
config.toml
22+
bootstrap.toml
2223
build

compiler/rustc_codegen_gcc/.ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99
!*asm*
1010
!.github
1111
!config.toml
12+
!bootstrap.toml

compiler/rustc_codegen_gcc/Readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ A secondary goal is to check if using the gcc backend will provide any run-time
2626
You need to use my [fork of gcc](https://github.com/antoyo/gcc) which already includes these patches.**
2727

2828
```bash
29-
$ cp config.example.toml config.toml
29+
$ cp bootstrap.example.toml bootstrap.toml
3030
```
3131

3232
If don't need to test GCC patches you wrote in our GCC fork, then the default configuration should
@@ -69,9 +69,9 @@ $ make check-jit
6969
$ make check-jit RUNTESTFLAGS="-v -v -v jit.exp=jit.dg/test-asm.cc"
7070
```
7171

72-
**Put the path to your custom build of libgccjit in the file `config.toml`.**
72+
**Put the path to your custom build of libgccjit in the file `bootstrap.toml`.**
7373

74-
You now need to set the `gcc-path` value in `config.toml` with the result of this command:
74+
You now need to set the `gcc-path` value in `bootstrap.toml` with the result of this command:
7575

7676
```bash
7777
$ dirname $(readlink -f `find . -name libgccjit.so`)

0 commit comments

Comments
 (0)