Build scripts: use clang-21

This commit is contained in:
SChernykh
2025-07-19 22:16:50 +02:00
parent bba9f780bc
commit 3bbc0753c6
4 changed files with 6 additions and 6 deletions

View File

@@ -11,12 +11,12 @@ if [ $? -ne 0 ]; then
images/ubuntu/build.sh
fi
for i in 8 9 10 11 12 13 14 15;
for i in 8 15;
do
gcc/build.sh $1 $i
done
for i in 17 18 19 20;
for i in 17 21;
do
clang/build.sh $1 $i
done

View File

@@ -1,4 +1,4 @@
FROM p2pool_compiler_tests_ubuntu
ARG P2POOL_VERSION GCC_VERSION
ARG P2POOL_VERSION CLANG_VERSION
ADD test.sh test2.sh /p2pool/
RUN /p2pool/test.sh ${P2POOL_VERSION} ${GCC_VERSION}
RUN /p2pool/test.sh ${P2POOL_VERSION} ${CLANG_VERSION}

View File

@@ -4,7 +4,7 @@
cd "$(dirname "$0")"
docker build --build-arg P2POOL_VERSION=$1 --build-arg GCC_VERSION=$2 -t p2pool_compiler_test_clang_$1_$2 .
docker build --build-arg P2POOL_VERSION=$1 --build-arg CLANG_VERSION=$2 -t p2pool_compiler_test_clang_$1_$2 .
docker create --name p2pool_compiler_test_clang_$1_$2_container p2pool_compiler_test_clang_$1_$2:latest
docker cp p2pool_compiler_test_clang_$1_$2_container:/p2pool/logs.tar.gz clang_$2_logs.tar.gz

View File

@@ -127,7 +127,7 @@ cd /root
curl -L -O https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
for i in 17 18 19 20;
for i in 17 18 19 20 21;
do
./llvm.sh $i
done