Skip to content

Commit

Permalink
[gitian] Build electrs for x86_64 linux
Browse files Browse the repository at this point in the history
  • Loading branch information
dagurval committed Apr 17, 2019
1 parent 60dc568 commit d400770
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions contrib/gitian-descriptors/gitian-linux.yml
Expand Up @@ -20,6 +20,9 @@ packages:
- "bsdmainutils"
- "ca-certificates"
- "python"
- "python3-git" # building electrs
- "clang" # for rocksdb in electrs
- "cmake" # for rocksdb in electrs
reference_datetime: "2019-04-09 00:00:00"
remotes:
- "url": "https://github.com/BitcoinUnlimited/BitcoinUnlimited.git"
Expand Down Expand Up @@ -153,6 +156,11 @@ script: |
mkdir -p ${INSTALLPATH}
tar --strip-components=1 -xf ../$SOURCEDIST
CONFIG_SITE=${BASEPREFIX}/${i}/share/config.site ./configure --prefix=/ --disable-ccache --disable-maintainer-mode --disable-dependency-tracking ${CONFIGFLAGS} CFLAGS="${HOST_CFLAGS}" CXXFLAGS="${HOST_CXXFLAGS}" LDFLAGS="${HOST_LDFLAGS}"
if [ "$i" = "x86_64-linux-gnu" ]; then
# Scope of electrs support is for servers running linux.
# We'll support x86_64 only for now.
make ${MAKEOPTS} electrs
fi
make -j7 ${MAKEOPTS}
make ${MAKEOPTS} -C src check-security
make ${MAKEOPTS} -C src check-symbols
Expand Down

0 comments on commit d400770

Please sign in to comment.