3
0
mirror of https://github.com/triqs/dft_tools synced 2025-01-03 01:55:56 +01:00

[build] fix MacOS X build: add ninja as req

* Print f2py:meson build logs in github actions
* add ninja as requirement
This commit is contained in:
Thomas Hahn 2024-01-25 16:50:04 -05:00 committed by Alexander Hampel
parent b4c1050623
commit c48a51c7e7
3 changed files with 9 additions and 1 deletions

View File

@ -94,6 +94,11 @@ jobs:
mkdir build && cd build && cmake ..
make -j2 || make -j1 VERBOSE=1
- name: Print logs
if: ${{ failure() }}
run: |
cat $(find . -name meson-log.txt)
- name: Test app4triqs
env:
DYLD_FALLBACK_LIBRARY_PATH: /usr/local/opt/llvm/lib

View File

@ -12,7 +12,7 @@ add_custom_target(${module_name} ALL
##generate the fortran python wrapper shared library
add_custom_command(
OUTPUT ${generated_module_file}
COMMAND ${TRIQS_PYTHON_EXECUTABLE} -m numpy.f2py --f90exec=${CMAKE_Fortran_COMPILER} --f77exec=${CMAKE_Fortran_COMPILER} -c ${fortran_src_file} -m ${module_name} > elk_f2py.log
COMMAND ${TRIQS_PYTHON_EXECUTABLE} -m numpy.f2py --build-dir ${CMAKE_CURRENT_BINARY_DIR}/meson --f90exec=${CMAKE_Fortran_COMPILER} --f77exec=${CMAKE_Fortran_COMPILER} -c ${fortran_src_file} -m ${module_name} > elk_f2py.log
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)

View File

@ -2,3 +2,6 @@
mako
numpy
scipy
meson
setuptools
ninja