mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
fix before-install
This commit is contained in:
@@ -57,6 +57,7 @@ else
|
|||||||
unsafe_flags="--enable-optimizations --with-lto"
|
unsafe_flags="--enable-optimizations --with-lto"
|
||||||
if [ ! -e Makefile ]; then
|
if [ ! -e Makefile ]; then
|
||||||
./configure $safe_flags $unsafe_flags > /dev/null
|
./configure $safe_flags $unsafe_flags > /dev/null
|
||||||
|
fi
|
||||||
make -j$cpucount -s
|
make -j$cpucount -s
|
||||||
RESULT=$?
|
RESULT=$?
|
||||||
echo "First make exited with $RESULT"
|
echo "First make exited with $RESULT"
|
||||||
|
|||||||
@@ -29,7 +29,9 @@ cd Python-$BUILD_PYTHON_VERSION
|
|||||||
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
|
||||||
./configure $safe_flags $unsafe_flags > /dev/null
|
./configure $safe_flags $unsafe_flags > /dev/null
|
||||||
|
fi
|
||||||
make -j$cpucount -s
|
make -j$cpucount -s
|
||||||
RESULT=$?
|
RESULT=$?
|
||||||
echo "Make Python exited with $RESULT"
|
echo "Make Python exited with $RESULT"
|
||||||
|
|||||||
Reference in New Issue
Block a user