Skip to content

Commit

Permalink
debug mac build [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed Aug 22, 2024
1 parent 5378803 commit 3ea1a44
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions BuildTools/macosx/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3ea1a44

Please sign in to comment.