Skip to content

Commit 74a0ebc

Browse files
committed
Fix build script
1 parent 7078dc9 commit 74a0ebc

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

bin/pip_install_ubuntu.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ PYTHON_FLINT=$1
3737
sudo apt-get update
3838
sudo apt-get install libgmp-dev libmpfr-dev xz-utils
3939

40-
# This will default to installing in /usr/local. If you want to install in a
41-
# non-standard location then configure flint with
42-
# ./configure --disable-static --prefix=$PREFIX
43-
# If $PREFIX is not in default search paths, then at build time set
44-
# export C_INCLUDE_PATH=$PREFIX/include
45-
# and at runtime set
46-
# export LD_LIBRARY_PATH=$PREFIX/lib
47-
4840
if [ -z "$FLINT_GIT" ]; then
4941
# Install from release tarball
5042
echo "Installing Flint $FLINTVER from release tarball"
@@ -59,10 +51,18 @@ else
5951
git checkout $FLINT_GIT
6052
fi
6153

54+
# This will default to installing in /usr/local. If you want to install in a
55+
# non-standard location then configure flint with
56+
# ./configure --disable-static --prefix=$PREFIX
57+
# If $PREFIX is not in default search paths, then at build time set
58+
# export C_INCLUDE_PATH=$PREFIX/include
59+
# and at runtime set
60+
# export LD_LIBRARY_PATH=$PREFIX/lib
6261
./bootstrap.sh
6362
./configure --disable-static
6463
make -j
6564
sudo make install
65+
cd ..
6666

6767
ls -l /usr/local/lib
6868
sudo ldconfig /usr/local/lib

0 commit comments

Comments
 (0)