diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-02 23:34:03 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-02 23:34:03 +0800 |
commit | b13735b40024ccc704a4c343b2985165a3bc66f4 (patch) | |
tree | a814196fe4c154f886ba0c6a9ba4348c9268b849 /tests/files/ansible/test-files/docker-cppjit | |
parent | b383ff0b96a1cf3df0b56f13b8d303ae4d4977ad (diff) | |
download | go-tangerine-b13735b40024ccc704a4c343b2985165a3bc66f4.tar go-tangerine-b13735b40024ccc704a4c343b2985165a3bc66f4.tar.gz go-tangerine-b13735b40024ccc704a4c343b2985165a3bc66f4.tar.bz2 go-tangerine-b13735b40024ccc704a4c343b2985165a3bc66f4.tar.lz go-tangerine-b13735b40024ccc704a4c343b2985165a3bc66f4.tar.xz go-tangerine-b13735b40024ccc704a4c343b2985165a3bc66f4.tar.zst go-tangerine-b13735b40024ccc704a4c343b2985165a3bc66f4.zip |
updated tests
Diffstat (limited to 'tests/files/ansible/test-files/docker-cppjit')
-rw-r--r-- | tests/files/ansible/test-files/docker-cppjit/Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/files/ansible/test-files/docker-cppjit/Dockerfile b/tests/files/ansible/test-files/docker-cppjit/Dockerfile index 7b4416cb8..b9b9b68ba 100644 --- a/tests/files/ansible/test-files/docker-cppjit/Dockerfile +++ b/tests/files/ansible/test-files/docker-cppjit/Dockerfile @@ -34,11 +34,13 @@ RUN add-apt-repository ppa:ethereum/ethereum RUN apt-get update RUN apt-get install -qy libcryptopp-dev libjson-rpc-cpp-dev +# this is a workaround, to make sure that docker's cache is invalidated whenever the git repo changes +ADD https://api.github.com/repos/ethereum/cpp-ethereum/git/refs/heads/develop unused.txt + # Build Ethereum (HEADLESS) RUN git clone --depth=1 --branch develop https://github.com/ethereum/cpp-ethereum RUN mkdir -p cpp-ethereum/build -RUN cd cpp-ethereum/build && cmake .. -DCMAKE_BUILD_TYPE=Release -DHEADLESS=1 -DEVMJIT=1 && make -j $(cat /proc/cpuinfo | grep processor | wc -l) && make install +RUN cd cpp-ethereum/build && cmake .. -DCMAKE_BUILD_TYPE=Debug -DVMTRACE=1 -DPARANOIA=1 -DEVMJIT=1 && make -j $(cat /proc/cpuinfo | grep processor | wc -l) && make install RUN ldconfig ENTRYPOINT ["/cpp-ethereum/build/test/checkRandomTest"] - |