diff options
author | Bhargava Shastry <bshas3@gmail.com> | 2020-12-10 22:28:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 13:28:07 -0800 |
commit | 01bff561d7bc155aed610c0b59d62df4f3035a73 (patch) | |
tree | 233ff873b2b340a2d100f389208bde7951d06aa0 /projects/solidity | |
parent | 95a7b67504c0a934c11c93598a1a6e6b51924120 (diff) | |
download | oss-fuzz-01bff561d7bc155aed610c0b59d62df4f3035a73.tar.gz |
solidity: Install libabicoder (#4818)
Diffstat (limited to 'projects/solidity')
-rw-r--r-- | projects/solidity/Dockerfile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/projects/solidity/Dockerfile b/projects/solidity/Dockerfile index 5556e13fe..9cfcb3608 100644 --- a/projects/solidity/Dockerfile +++ b/projects/solidity/Dockerfile @@ -60,4 +60,15 @@ RUN cd $SRC/evmone; \ ninja; \ ninja install; +# libabicoder +RUN set -ex; \ + cd /usr/src; \ + git clone https://github.com/ekpyron/Yul-Isabelle; \ + cd Yul-Isabelle; \ + cd libabicoder; \ + CXX=clang++ CXXFLAGS="-stdlib=libc++ -pthread" make; \ + cp libabicoder.a /usr/lib; \ + cp abicoder.hpp /usr/include; \ + rm -rf /usr/src/Yul-Isabelle + COPY build.sh $SRC/ |