mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
force configure
This commit is contained in:
@@ -56,12 +56,14 @@ else
|
|||||||
if [[ "$dist" == "bionic" ]]; then
|
if [[ "$dist" == "bionic" ]]; then
|
||||||
echo "running bionic make clean"
|
echo "running bionic make clean"
|
||||||
make clean
|
make clean
|
||||||
|
rm Makefile
|
||||||
fi
|
fi
|
||||||
echo "Compiling Python $BUILD_PYTHON_VERSION..."
|
echo "Compiling Python $BUILD_PYTHON_VERSION..."
|
||||||
safe_flags="--with-openssl=$mypath/ssl --enable-shared --prefix=$mypath/python --with-ensurepip=upgrade"
|
safe_flags="--with-openssl=$mypath/ssl --enable-shared --prefix=$mypath/python --with-ensurepip=upgrade"
|
||||||
unsafe_flags="--enable-optimizations --with-lto"
|
unsafe_flags="--enable-optimizations --with-lto"
|
||||||
|
|
||||||
if [ ! -e Makefile ]; then
|
if [ ! -e Makefile ]; then
|
||||||
|
echo "running configure with safe and unsafe"
|
||||||
./configure $safe_flags $unsafe_flags > /dev/null
|
./configure $safe_flags $unsafe_flags > /dev/null
|
||||||
fi
|
fi
|
||||||
make -j$cpucount -s
|
make -j$cpucount -s
|
||||||
|
|||||||
Reference in New Issue
Block a user