Skip to content

Commit

Permalink
Use dynamic linking for lapack and blas
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g committed Jan 9, 2025
1 parent f888c3a commit 65d7a11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions recipes/elk/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -xe

F90_OPTS="-O3 -ffast-math -funroll-loops -fopenmp -fallow-argument-mismatch"
F77_OPTS=$F90_OPTS
LIB_LPK="liblapack.so libopenblas.so -L${PREFIX}/lib"
LIB_FFT="libfftw3.so -L${PREFIX}/lib"
LIB_LPK="-L${PREFIX}/lib -llapack -lopenblas -lgfortran"
LIB_FFT="fftlib.a"

echo > make.inc
echo "MAKE = make" >> make.inc
Expand Down
1 change: 0 additions & 1 deletion recipes/elk/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ requirements:
- llvm-openmp # [osx]
- lapack
- openblas
- fftw
run:

test:
Expand Down

0 comments on commit 65d7a11

Please sign in to comment.