Rename cmake option

This commit is contained in:
Daniel Kirchner 2019-12-03 15:08:06 +01:00
parent e04d8955ab
commit c9be3bdf7e
2 changed files with 5 additions and 5 deletions

View File

@ -49,7 +49,7 @@ git cherry-pick e212159f4e
debversion="${version}${version_patchsuffix}"
CMAKE_OPTIONS="-DBUILD_LIBZ3_SHARED=OFF -DCMAKE_BUILD_TYPE=Release"
CMAKE_OPTIONS="-DZ3_BUILD_LIBZ3_SHARED=OFF -DCMAKE_BUILD_TYPE=Release"
# gzip will create different tars all the time and we are not allowed
# to upload the same file twice with different contents, so we only
@ -181,7 +181,7 @@ This program is free software: you can redistribute it and/or modify
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
EOF
cat <<EOF > debian/changelog
libz3-static-dev (0.0.1-1ubuntu0) saucy; urgency=low
libz3-static-dev (0.0.1-2ubuntu0) saucy; urgency=low
* Initial release.
@ -191,7 +191,7 @@ mkdir debian/source
echo "3.0 (quilt)" > debian/source/format
chmod +x debian/rules
versionsuffix=1ubuntu0~${distribution}
versionsuffix=2ubuntu0~${distribution}
EMAIL="$email" dch -v 1:${debversion}-${versionsuffix} "build of ${version}"
# build source package

View File

@ -1,9 +1,9 @@
#!/usr/bin/env bash
git clone --depth 1 --branch z3-4.8.1 https://github.com/Z3Prover/z3.git
git clone --depth 1 --branch z3-4.8.7 https://github.com/Z3Prover/z3.git
cd z3
mkdir build
cd build
LDFLAGS="-static" cmake -DBUILD_LIBZ3_SHARED=OFF ..
LDFLAGS="-static" cmake -DZ3_BUILD_LIBZ3_SHARED=OFF ..
make -j 4
make install