From 3ea1a44344dc14482519d98753daadac964b79aa Mon Sep 17 00:00:00 2001 From: Xun Li Date: Thu, 22 Aug 2024 15:32:27 -0700 Subject: [PATCH] debug mac build [ci skip] --- BuildTools/macosx/install.sh | 40 ++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/BuildTools/macosx/install.sh b/BuildTools/macosx/install.sh index 80bf1254..dae602b8 100755 --- a/BuildTools/macosx/install.sh +++ b/BuildTools/macosx/install.sh @@ -27,6 +27,26 @@ mkdir -p ../../o cd temp +# Build CLAPACK +if ! [ -f "clapack.tgz" ]; then + curl -L -O https://github.com/GeoDaCenter/software/releases/download/v2000/clapack.tgz + tar -xf clapack.tgz +fi +if ! [ -f "CLAPACK-3.2.1/libf2c.a" ]; then + cp -rf ../dep/CLAPACK-3.2.1 . + cd CLAPACK-3.2.1 + make f2clib + make blaslib + cd INSTALL + make + cd .. + cd SRC + make + cd .. + cp F2CLIBS/libf2c.a . + cd .. +fi + # Build Boost 1.76 if ! [ -f "boost_1_76_0.tar.bz2" ]; then curl -L -O https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.gz @@ -71,26 +91,6 @@ if ! [ -f "../libraries/lib/libjson_spirit.a" ]; then cd ../.. fi -# Build CLAPACK -if ! [ -f "clapack.tgz" ]; then - curl -L -O https://github.com/GeoDaCenter/software/releases/download/v2000/clapack.tgz - tar -xf clapack.tgz -fi -if ! [ -f "CLAPACK-3.2.1/libf2c.a" ]; then - cp -rf ../dep/CLAPACK-3.2.1 . - cd CLAPACK-3.2.1 - make -j $CPUS f2clib - make -j $CPUS blaslib - cd INSTALL - make -j $CPUS - cd .. - cd SRC - make -j $CPUS - cd .. - cp F2CLIBS/libf2c.a . - cd .. -fi - # Build Eigen3 and Spectra if ! [ -f "eigen3.zip" ]; then curl -L -O https://github.com/GeoDaCenter/software/releases/download/v2000/eigen3.zip