Skip to content

Commit

Permalink
Step 3 (Updated install script for OpenBLAS)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinRJDagleish committed Dec 30, 2023
1 parent 3646353 commit dc5d9d2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/install_openblas.bash
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ export COMMON_OPT="-O2 -march=native"
export CFLAGS="-O2 -march=native"
export FCOMMON_OPT="-O2 -march=native"
export FCFLAGS="-O2 -march=native"
# ORIGINAL TWO CMDS
# make -j DYNAMIC_ARCH=0 CC=gcc FC=gfortran HOSTCC=gcc BINARY=64 INTERFACE=64 \
# USE_OPENMP=1 LIBNAMESUFFIX=openmp
# sudo make PREFIX=$OPENBLAS_DIR LIBNAMESUFFIX=openmp install
make -j DYNAMIC_ARCH=0 CC=gcc FC=gfortran HOSTCC=gcc BINARY=64 INTERFACE=64 \
USE_OPENMP=1 LIBNAMESUFFIX=openmp
sudo make PREFIX=$OPENBLAS_DIR LIBNAMESUFFIX=openmp install
USE_OPENMP=1
sudo make PREFIX=$OPENBLAS_DIR install

# 4. Install
export C_INCLUDE_PATH=$C_INCLUDE_PATH:/opt/OpenBLAS/include
Expand Down

0 comments on commit dc5d9d2

Please sign in to comment.