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:
parent
b4c1050623
commit
c48a51c7e7
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -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
|
||||
|
@ -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}
|
||||
)
|
||||
|
||||
|
@ -2,3 +2,6 @@
|
||||
mako
|
||||
numpy
|
||||
scipy
|
||||
meson
|
||||
setuptools
|
||||
ninja
|
||||
|
Loading…
Reference in New Issue
Block a user