mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-25 01:54:21 +01:00
build: remove gmp
Core and secp have not used gmp for a very long time now (core disabled it in 2015). Signed-off-by: Jon Griffiths <jon_p_griffiths@yahoo.com>
This commit is contained in:
committed by
Rusty Russell
parent
69f74a92e6
commit
8b4136bad5
10
.github/scripts/build.sh
vendored
10
.github/scripts/build.sh
vendored
@@ -79,16 +79,6 @@ then
|
||||
rm sqlite-src-3260000.zip
|
||||
rm -rf sqlite-src-3260000
|
||||
|
||||
wget -q https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz
|
||||
tar xf gmp-6.1.2.tar.xz
|
||||
cd gmp-6.1.2 || exit 1
|
||||
./configure --disable-assembly --prefix="$QEMU_LD_PREFIX" --host="$TARGET_HOST"
|
||||
make
|
||||
sudo make install
|
||||
cd ..
|
||||
rm gmp-6.1.2.tar.xz
|
||||
rm -rf gmp-6.1.2
|
||||
|
||||
./configure CC="$TARGET_HOST-gcc" --enable-static
|
||||
|
||||
make -s -j32 CC="$TARGET_HOST-gcc"
|
||||
|
||||
3
.github/scripts/setup.sh
vendored
3
.github/scripts/setup.sh
vendored
@@ -24,7 +24,6 @@ sudo apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
|
||||
git \
|
||||
libc6-dev-arm64-cross \
|
||||
libc6-dev-armhf-cross \
|
||||
libgmp-dev \
|
||||
libpq-dev \
|
||||
libprotobuf-c-dev \
|
||||
libsqlite3-dev \
|
||||
@@ -82,4 +81,4 @@ sudo chmod a+x /usr/local/bin/protoc
|
||||
export PROTOC=/usr/local/bin/protoc
|
||||
export PATH=$PATH:/usr/local/bin
|
||||
env
|
||||
ls -lha /usr/local/bin
|
||||
ls -lha /usr/local/bin
|
||||
|
||||
Reference in New Issue
Block a user