Compiler test scripts: added clang
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Example usage: ./build.sh v4.8.1 20
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
docker build --build-arg P2POOL_VERSION=$1 --build-arg GCC_VERSION=$2 -t p2pool_compiler_test_clang_$2 .
|
||||
|
||||
docker create --name p2pool_compiler_test_clang_$2_container p2pool_compiler_test_clang_$2:latest
|
||||
docker cp p2pool_compiler_test_clang_$2_container:/p2pool/logs.tar.gz clang_$2_logs.tar.gz
|
||||
docker rm p2pool_compiler_test_clang_$2_container
|
||||
|
||||
docker image rm -f p2pool_compiler_test_clang_$2
|
||||
Reference in New Issue
Block a user