mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-12 07:18:31 +01:00
Add binaryen
This commit is contained in:
parent
3924b4e8cc
commit
6b01584fe5
@ -3209,7 +3209,8 @@ packages:
|
||||
- codo-notation < 0 # MonadFail
|
||||
- language-fortran < 0 # build failure with GHC 8.4
|
||||
|
||||
"Shao Cheng <astrohavoc@gmail.com> @TerrorJack":
|
||||
"Cheng Shao <astrohavoc@gmail.com> @TerrorJack":
|
||||
- binaryen
|
||||
- cabal-toolkit < 0 # GHC 8.4 via Cabal-2.2.0.0
|
||||
- direct-rocksdb < 0 # GHC 8.4 via Cabal-2.2.0.0
|
||||
|
||||
|
||||
@ -296,6 +296,19 @@ wget -qO - https://packages.confluent.io/deb/5.2/archive.key | apt-key add -
|
||||
add-apt-repository "deb https://packages.confluent.io/deb/5.2 stable main"
|
||||
apt-get update && apt install -y librdkafka-dev
|
||||
|
||||
# Install binaryen
|
||||
curl -L https://github.com/WebAssembly/binaryen/archive/version_94.tar.gz | tar xz -C /tmp
|
||||
pushd /tmp/binaryen-version_94
|
||||
mkdir build
|
||||
cd build
|
||||
cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-G "Unix Makefiles" \
|
||||
..
|
||||
sudo make install
|
||||
popd
|
||||
|
||||
# EOF: don't build anything below this line
|
||||
|
||||
# Cleanup
|
||||
|
||||
Loading…
Reference in New Issue
Block a user