Use full commit hash and remove libgccjit.version file

This commit is contained in:
Guillaume Gomez 2024-03-09 18:06:59 +01:00
parent 1d058a0b06
commit c5c6729c88
5 changed files with 2 additions and 5 deletions

View file

@ -7,7 +7,8 @@ cd $1
# Setting up folders for GCC
git clone https://github.com/antoyo/gcc gcc-src
cd gcc-src
git checkout $(head -1 /scripts/libgccjit.version)
# This commit hash needs to be updated to use a more recent gcc fork version.
git checkout 78dc50f0e50e6cd1433149520bd512a4e0eaa1bc
mkdir ../gcc-build ../gcc-install
cd ../gcc-build

View file

@ -59,7 +59,6 @@ ENV RUST_CONFIGURE_ARGS \
COPY host-x86_64/x86_64-gnu-llvm-16/script.sh /tmp/
COPY host-x86_64/dist-x86_64-linux/libgccjit.version /scripts/
COPY host-x86_64/dist-x86_64-linux/build-gccjit.sh /scripts/
RUN sh /scripts/build-gccjit.sh /scripts

View file

@ -54,7 +54,6 @@ ENV RUST_CONFIGURE_ARGS \
COPY host-x86_64/x86_64-gnu-llvm-16/script.sh /tmp/
COPY host-x86_64/dist-x86_64-linux/libgccjit.version /scripts/
COPY host-x86_64/dist-x86_64-linux/build-gccjit.sh /scripts/
RUN sh /scripts/build-gccjit.sh /scripts

View file

@ -95,7 +95,6 @@ ENV RUST_CONFIGURE_ARGS \
ENV HOST_TARGET x86_64-unknown-linux-gnu
COPY host-x86_64/dist-x86_64-linux/libgccjit.version /scripts/
COPY host-x86_64/dist-x86_64-linux/build-gccjit.sh /scripts/
RUN sh /scripts/build-gccjit.sh /scripts