forked from wbhart/mpir
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
appveyor with more build options and binaries wbhart#280
- Loading branch information
Showing
2 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,34 @@ | ||
export PATH=/c/msys64/mingw$ABI/bin:/c/projects/mpir/bin/:$PATH | ||
cd /c/projects/mpir | ||
|
||
echo && echo build: ./autogen.sh | ||
./autogen.sh | ||
|
||
case "$LIBRARY" in | ||
"static") LIB="--enable-static --disable-shared";; | ||
"shared") LIB="--disable-static --enable-shared";; | ||
esac | ||
|
||
echo && echo build: ./configure ABI=$ABI $LIB $CONFIG_CXX $CONFIG_GMP | ||
./configure ABI=$ABI $LIB $CONFIG_CXX $CONFIG_GMP | ||
|
||
echo && echo build: make | ||
make | ||
# should work but falsely requires texlive ?!? | ||
#echo && echo build: DISTCHECK_CONFIGURE_FLAGS="ABI=$ABI $LIB" make distcheck | ||
#DISTCHECK_CONFIGURE_FLAGS="ABI=$ABI $LIB" make distcheck | ||
echo && echo build: make check | ||
make check | ||
|
||
echo && echo build: make dist | ||
make dist | ||
if ! test -z "$CONFIG_GMP"; then | ||
if ! test -z "$CONFIG_CXX"; then | ||
|
||
if test "x$CONFIG_GMP" != "x"; then | ||
if test "x$CONFIG_CXX" != "x"; then | ||
MODE="C++" | ||
else | ||
MODE="" | ||
fi | ||
echo && echo build: make install DESTDIR=$(pwd)/bin$ABI$MODE-$LIBRARY | ||
make install DESTDIR=$(pwd)/bin$ABI$MODE-$LIBRARY | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters