mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Build cvc4 when packaging the snap
This commit is contained in:
parent
d5744b3c1c
commit
47153430b2
@ -26,7 +26,7 @@ parts:
|
|||||||
source: .
|
source: .
|
||||||
source-type: git
|
source-type: git
|
||||||
plugin: cmake
|
plugin: cmake
|
||||||
build-packages: [build-essential, libboost-all-dev, libcvc4-dev]
|
build-packages: [build-essential, libboost-all-dev]
|
||||||
stage-packages: [libicu60]
|
stage-packages: [libicu60]
|
||||||
override-build: |
|
override-build: |
|
||||||
if git describe --exact-match --tags 2> /dev/null
|
if git describe --exact-match --tags 2> /dev/null
|
||||||
@ -34,7 +34,7 @@ parts:
|
|||||||
echo -n > ../src/prerelease.txt
|
echo -n > ../src/prerelease.txt
|
||||||
fi
|
fi
|
||||||
snapcraftctl build
|
snapcraftctl build
|
||||||
after: [z3]
|
after: [z3, cvc4]
|
||||||
z3:
|
z3:
|
||||||
source: https://github.com/Z3Prover/z3.git
|
source: https://github.com/Z3Prover/z3.git
|
||||||
source-tag: z3-4.8.4
|
source-tag: z3-4.8.4
|
||||||
@ -47,3 +47,14 @@ parts:
|
|||||||
cd build
|
cd build
|
||||||
make -j -l $(grep -c "^processor" /proc/cpuinfo)
|
make -j -l $(grep -c "^processor" /proc/cpuinfo)
|
||||||
make install DESTDIR=$SNAPCRAFT_PART_INSTALL
|
make install DESTDIR=$SNAPCRAFT_PART_INSTALL
|
||||||
|
cvc4:
|
||||||
|
source: https://github.com/CVC4/CVC4.git
|
||||||
|
source-tag: "1.7"
|
||||||
|
plugin: nil
|
||||||
|
build-packages: [python, cmake, openjdk-11-jre, libgmp-dev]
|
||||||
|
override-build: |
|
||||||
|
./contrib/get-antlr-3.4
|
||||||
|
./configure.sh --prefix=$SNAPCRAFT_STAGE/usr
|
||||||
|
cd build
|
||||||
|
make -j -l $(grep -c "^processor" /proc/cpuinfo)
|
||||||
|
make install DESTDIR=$SNAPCRAFT_STAGE
|
||||||
|
Loading…
Reference in New Issue
Block a user