mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
fix osx build
This commit is contained in:
@@ -3,6 +3,7 @@ whereibelong=$(pwd)
|
|||||||
echo "Brew installing xz..."
|
echo "Brew installing xz..."
|
||||||
brew install xz > /dev/null
|
brew install xz > /dev/null
|
||||||
|
|
||||||
|
cd ~/pybuild
|
||||||
# Compile latest OpenSSL
|
# Compile latest OpenSSL
|
||||||
if [ ! -d openssl-$BUILD_OPENSSL_VERSION ]; then
|
if [ ! -d openssl-$BUILD_OPENSSL_VERSION ]; then
|
||||||
wget --quiet https://www.openssl.org/source/openssl-$BUILD_OPENSSL_VERSION.tar.gz
|
wget --quiet https://www.openssl.org/source/openssl-$BUILD_OPENSSL_VERSION.tar.gz
|
||||||
@@ -17,10 +18,10 @@ make -j$cpucount -s
|
|||||||
echo "Running make install for OpenSSL..."
|
echo "Running make install for OpenSSL..."
|
||||||
make install > /dev/null
|
make install > /dev/null
|
||||||
export LD_LIBRARY_PATH=~/ssl/lib
|
export LD_LIBRARY_PATH=~/ssl/lib
|
||||||
cd ~
|
cd ~/pybuild
|
||||||
|
|
||||||
# Compile latest Python
|
# Compile latest Python
|
||||||
if [ -d Python-$BUILD_PYTHON_VERSION ]; then
|
if [ ! -d Python-$BUILD_PYTHON_VERSION ]; then
|
||||||
wget --quiet https://www.python.org/ftp/python/$BUILD_PYTHON_VERSION/Python-$BUILD_PYTHON_VERSION.tar.xz
|
wget --quiet https://www.python.org/ftp/python/$BUILD_PYTHON_VERSION/Python-$BUILD_PYTHON_VERSION.tar.xz
|
||||||
echo "Extracting Python..."
|
echo "Extracting Python..."
|
||||||
tar xf Python-$BUILD_PYTHON_VERSION.tar.xz
|
tar xf Python-$BUILD_PYTHON_VERSION.tar.xz
|
||||||
|
|||||||
Reference in New Issue
Block a user