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

@@ -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