Use xz repository from GitHub.

Fixes #28189.
This commit is contained in:
John Preston 2024-07-24 18:04:36 +02:00
parent 889ec0c731
commit c81f406759
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ RUN git init zlib \
&& rm -rf zlib
FROM builder AS xz
RUN git clone -b v5.4.4 --depth=1 https://git.tukaani.org/xz.git \
RUN git clone -b v5.4.4 --depth=1 https://github.com/tukaani-project/xz.git \
&& cd xz \
&& cmake -B build . -DCMAKE_BUILD_TYPE=None \
&& cmake --build build -j$(nproc) \

View file

@ -540,7 +540,7 @@ release:
stage('xz', """
!win:
git clone -b v5.4.5 https://git.tukaani.org/xz.git
git clone -b v5.4.5 https://github.com/tukaani-project/xz.git
cd xz
sed -i '' '\\@check_symbol_exists(futimens "sys/types.h;sys/stat.h" HAVE_FUTIMENS)@d' CMakeLists.txt
CFLAGS="$UNGUARDED" CPPFLAGS="$UNGUARDED" cmake -B build . \\