mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-29 18:31:38 +00:00
turn off unsafe to speed up Python for moment
This commit is contained in:
@@ -57,7 +57,7 @@ else
|
|||||||
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
|
||||||
./configure $safe_flags $unsafe_flags > /dev/null
|
./configure $safe_flags # $unsafe_flags > /dev/null
|
||||||
fi
|
fi
|
||||||
make -j$cpucount -s
|
make -j$cpucount -s
|
||||||
RESULT=$?
|
RESULT=$?
|
||||||
|
|||||||
Reference in New Issue
Block a user