on master help sign in
Add binaryen
6b01584Shao Cheng
build-constraints.yaml+2−1
@@ -3209,7 +3209,8 @@ packages:
3209 - codo-notation < 0 # MonadFail
3209 - codo-notation < 0 # MonadFail
3210 - language-fortran < 0 # build failure with GHC 8.4
3210 - language-fortran < 0 # build failure with GHC 8.4
3211
3211
3212− "Shao Cheng <astrohavoc@gmail.com> @TerrorJack":
3212+ "Cheng Shao <astrohavoc@gmail.com> @TerrorJack":
3213+ - binaryen
3213 - cabal-toolkit < 0 # GHC 8.4 via Cabal-2.2.0.0
3214 - cabal-toolkit < 0 # GHC 8.4 via Cabal-2.2.0.0
3214 - direct-rocksdb < 0 # GHC 8.4 via Cabal-2.2.0.0
3215 - direct-rocksdb < 0 # GHC 8.4 via Cabal-2.2.0.0
3215
3216
debian-bootstrap.sh+13
@@ -296,6 +296,19 @@ wget -qO - https://packages.confluent.io/deb/5.2/archive.key | apt-key add -
296add-apt-repository "deb https://packages.confluent.io/deb/5.2 stable main"
296add-apt-repository "deb https://packages.confluent.io/deb/5.2 stable main"
297apt-get update && apt install -y librdkafka-dev
297apt-get update && apt install -y librdkafka-dev
298
298
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+
299# EOF: don't build anything below this line
312# EOF: don't build anything below this line
300
313
301# Cleanup
314# Cleanup