Skip to content
Snippets Groups Projects
Commit 1d08d157 authored by Joe Garcia's avatar Joe Garcia
Browse files

flang in eccodes (so hacky)

parent 37964e53
No related branches found
No related tags found
No related merge requests found
......@@ -3511,9 +3511,13 @@ PATCH
mk_eccodes() {
resume_tracker && return 0
isDarwin && isTrue USING_FLANG && _tmpenvset FC "${FC} -L${BASE}/lib -lflang -lflangrti -lpgmath"
_cmake_make_install eccodes src/experimental/eccodes-${ECCODESVER}.tar.gz eccodes-${ECCODESVER} \
-DCMAKE_C_FLAGS="${CFLAGS}" –DENABLE_PYTHON "$@"
isDarwin && isTrue USING_FLANG && _tmpenvres FC
set -x
isDarwin && for f in lib/libeccodes*.dylib bin/* $(find Library lib* -name *grib*.so) ; do \
if isMachoNoStub "$f" ; then \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment