Files
p2pool-salvium/scripts/compiler_tests/clang/build.sh

14 lines
485 B
Bash
Raw Normal View History

2025-07-06 22:47:18 +02:00
#!/bin/sh
# Example usage: ./build.sh v4.8.1 20
cd "$(dirname "$0")"
2025-07-19 22:16:50 +02:00
docker build --build-arg P2POOL_VERSION=$1 --build-arg CLANG_VERSION=$2 -t p2pool_compiler_test_clang_$1_$2 .
2025-07-06 22:47:18 +02:00
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/output.log clang_$2_output.log
docker rm p2pool_compiler_test_clang_$1_$2_container
2025-07-06 22:47:18 +02:00
docker image rm -f p2pool_compiler_test_clang_$1_$2