mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
travis
This commit is contained in:
@@ -55,13 +55,12 @@ else
|
||||
cd Python-$BUILD_PYTHON_VERSION
|
||||
echo "Compiling Python $BUILD_PYTHON_VERSION..."
|
||||
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
|
||||
echo "running configure with safe and unsafe"
|
||||
./configure $safe_flags $unsafe_flags > /dev/null
|
||||
fi
|
||||
make -j$cpucount PROFILE_TASK="-m test.regrtest --pgo -j$cpucount" -s
|
||||
make -j$cpucount PROFILE_TASK="-m test.regrtest --pgo -j$(( $cpucount * 2 ))" -s
|
||||
RESULT=$?
|
||||
echo "First make exited with $RESULT"
|
||||
if [ $RESULT != 0 ]; then
|
||||
@@ -93,15 +92,6 @@ else
|
||||
make
|
||||
sudo make install
|
||||
fi
|
||||
if [ ! -d musl=$MUSL_VERSION ]; then
|
||||
echo "Downloading MUSL $MUSL_VERSION"
|
||||
wget https://www.musl-libc.org/releases/musl-$MUSL_VERSION.tar.gz
|
||||
tar xf musl-$MUSL_VERSION.tar.gz
|
||||
cd musl-$MUSL_VERSION
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
fi
|
||||
$pip install git+https://github.com/JonathonReinhart/staticx.git@master
|
||||
fi
|
||||
cd $whereibelong
|
||||
|
||||
@@ -3,7 +3,7 @@ whereibelong=$(pwd)
|
||||
#echo "Brew installing xz..."
|
||||
#brew install xz > /dev/null
|
||||
|
||||
brew upgrade
|
||||
#brew upgrade
|
||||
|
||||
cd ~/pybuild
|
||||
|
||||
@@ -14,8 +14,6 @@ cd ~/pybuild
|
||||
|
||||
brew install openssl@1.1
|
||||
brew upgrade python
|
||||
brew ls --verbose openssl@1.1 | grep libssl
|
||||
brew ls --verbose python3 | grep lib
|
||||
|
||||
export python=python3
|
||||
export pip=pip3
|
||||
|
||||
Reference in New Issue
Block a user