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

14 lines
469 B
Bash
Raw Normal View History

2025-07-06 21:59:52 +02:00
#!/bin/sh
# Example usage: ./build.sh v4.8.1 15
cd "$(dirname "$0")"
docker build --build-arg P2POOL_VERSION=$1 --build-arg GCC_VERSION=$2 -t p2pool_compiler_test_gcc_$1_$2 .
2025-07-06 21:59:52 +02:00
docker create --name p2pool_compiler_test_gcc_$1_$2_container p2pool_compiler_test_gcc_$1_$2:latest
docker cp p2pool_compiler_test_gcc_$1_$2_container:/p2pool/output.log gcc_$2_output.log
docker rm p2pool_compiler_test_gcc_$1_$2_container
2025-07-06 21:59:52 +02:00
docker image rm -f p2pool_compiler_test_gcc_$1_$2