on master help sign in
Add binaryen
commit6b01584fe5924bb2849bcd2f1b21e50441fe5f39 authorShao Cheng <cheng.shao@tweag.io> dateWed 8 Jul 2020, 19:20 (6 years ago) parent3924b4e
2 files changed+15−1
build-constraints.yaml+2−1 debian-bootstrap.sh+13
build-constraints.yaml+2−1
@@ -3209,7 +3209,8 @@ packages:
32093209 - codo-notation < 0 # MonadFail
32103210 - language-fortran < 0 # build failure with GHC 8.4
32113211
3212− "Shao Cheng <astrohavoc@gmail.com> @TerrorJack":
3212+ "Cheng Shao <astrohavoc@gmail.com> @TerrorJack":
3213+ - binaryen
32133214 - cabal-toolkit < 0 # GHC 8.4 via Cabal-2.2.0.0
32143215 - direct-rocksdb < 0 # GHC 8.4 via Cabal-2.2.0.0
32153216
debian-bootstrap.sh+13
@@ -296,6 +296,19 @@ wget -qO - https://packages.confluent.io/deb/5.2/archive.key | apt-key add -
296296add-apt-repository "deb https://packages.confluent.io/deb/5.2 stable main"
297297apt-get update && apt install -y librdkafka-dev
298298
299+# Install binaryen
300+curl -L https://github.com/WebAssembly/binaryen/archive/version_94.tar.gz | tar xz -C /tmp
301+pushd /tmp/binaryen-version_94
302+mkdir build
303+cd build
304+cmake \
305+ -DCMAKE_BUILD_TYPE=Release \
306+ -DCMAKE_INSTALL_PREFIX=/usr \
307+ -G "Unix Makefiles" \
308+ ..
309+sudo make install
310+popd
311+
299312# EOF: don't build anything below this line
300313
301314# Cleanup