Skip to content

Commit e3614a5

Browse files
committed
Drop useless workaround
refs compiler-explorer/compiler-explorer#8147
1 parent ef923ba commit e3614a5

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

rust-cg-gcc/build.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,6 @@ pushd rustc_codegen_gcc
7676
cp config.example.toml config.toml
7777

7878
./y.sh prepare
79-
80-
# This may fail because it can't find libgccjit that it downloads itself....
81-
./y.sh build --sysroot --release || true
82-
83-
# So restart it after the failed execution.
84-
# Following y.sh needs to find the libgccjit that is getting downloaded
85-
SO_PATH=$(find -name "libgccjit.so")
86-
LIBRARY_PATH=$(dirname "$PWD"/"$SO_PATH")
87-
LD_LIBRARY_PATH=$(dirname "$PWD"/"$SO_PATH")
88-
export LIBRARY_PATH
89-
90-
# ... this one should work.
9179
./y.sh build --sysroot --release
9280

9381
popd

0 commit comments

Comments
 (0)