Merge pull request #3962 from xenog/master

Add Haskoin packages and its dependencies
This commit is contained in:
Jens Petersen 2018-09-10 11:48:24 +09:00 committed by GitHub
commit 285e85f96c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

View File

@ -3582,6 +3582,16 @@ packages:
"Wanja Chresta <wanja.hs@chrummibei.ch> @wchresta":
- matrix-static
"Jean-Pierre Rupp <xenog@protonmail.com> @xenog":
- murmur3
- nqe
- secp256k1
- rocksdb-haskell
- rocksdb-query
- haskoin-core
- haskoin-node
- haskoin-store
# If you stop maintaining a package you can move it here.
# It will then be disabled if it starts causing problems.
# See https://github.com/fpco/stackage/issues/1056

View File

@ -103,6 +103,7 @@ apt-get install -y \
libpcap0.8-dev \
libpq-dev \
libre2-dev \
librocksdb-dev \
libsdl1.2-dev \
libsdl2-dev \
libsdl2-gfx-dev \
@ -254,6 +255,16 @@ curl https://download.libsodium.org/libsodium/releases/LATEST.tar.gz > libsodium
&& ./configure \
&& make install
# Install secp256k1
cd /tmp \
&& git clone https://github.com/bitcoin-core/secp256k1.git \
&& cd secp256k1 \
&& ./autogen.sh \
&& ./configure --enable-module-recovery \
&& make \
&& make install
# NOTE: also update Dockerfile when cuda version changes
# Install CUDA toolkit
# The current version can be found at: https://developer.nvidia.com/cuda-downloads