Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Fix build of gambit
Browse files Browse the repository at this point in the history
  • Loading branch information
jdemeyer committed Feb 27, 2018
1 parent 93020a4 commit b3bcbc1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
2 changes: 1 addition & 1 deletion build/pkgs/gambit/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
15.1.1
15.1.1.p0
25 changes: 8 additions & 17 deletions build/pkgs/gambit/spkg-install
Original file line number Diff line number Diff line change
@@ -1,26 +1,17 @@
cd src

./configure --disable-gui --prefix="$SAGE_LOCAL" --libdir="$SAGE_LOCAL/lib"
if [ $? -ne 0 ]; then
echo >&2 "Error configuring Gambit."
exit 1
fi
sdh_configure --disable-gui
sdh_make
sdh_make_install

$MAKE
if [ $? -ne 0 ]; then
echo >&2 "Error building Gambit."
exit 1
fi

$MAKE -j1 install
if [ $? -ne 0 ]; then
echo >&2 "Error installing Gambit."
exit 1
fi

cd src/python
sage-python23 setup.py --no-user-cfg build install

# Remove outdated source file (https://github.com/gambitproject/gambit/pull/232)
rm gambit/lib/libgambit.cpp

# pip doesn't work (https://github.com/gambitproject/gambit/issues/207)
sage-python23 setup.py --no-user-cfg build install
if [ $? -ne 0 ]; then
echo "Error installing Python API"
exit 1
Expand Down

0 comments on commit b3bcbc1

Please sign in to comment.