From June 06th, all CI Jobs will run on federated Helmholtz infrastructure by default. If you need UFZ-internal resources, add the tag "ufz-internal" to your CI configuration or use a custom GitLab Runner (e.g. EVE). If you have any questions, feel free to contact us!

Curious to learn more about GitLab CI? Join this free course on 14-16 June. Register now

Commit 910b23b0 authored by Sebastian Müller's avatar Sebastian Müller 🐈
Browse files

Cmake set missing env var

parent 318c55a3
......@@ -31,7 +31,7 @@ add_custom_command(
OUTPUT ${generated_module_file}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
# use Command Line Tool Mode of CMake to set LDFLAGS for f2py (rpath)
COMMAND ${CMAKE_COMMAND} -E env 'LDFLAGS=-Wl,-rpath,${rpath}'
COMMAND ${CMAKE_COMMAND} -E env 'LDFLAGS=-Wl,-rpath,${rpath}' env 'NPY_DISTUTILS_APPEND_FLAGS=1'
${F2PY_EXECUTABLE}
-m ${f2py_module_name}
-c ${fortran_src_file}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment