Skip to content

Commit

Permalink
no fortran
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnaf-tahmid-chowdhury committed Jun 13, 2024
1 parent ec811f3 commit b3b461e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/quick_wheel_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,13 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest]
os: [ubuntu-latest, macos-13, macos-14, windows-latest]

steps:
- name: Additional Windows settings
if: matrix.os == 'windows-latest'
- name: Additional CMake settings
shell: bash -l {0}
run: |
choco install mingw
echo "CMAKE_GENERATOR=MinGW Makefiles" >> $GITHUB_ENV
echo "CMAKE_ARGS=-DENABLE_SPATIAL_SOLVERS=OFF" >> $GITHUB_ENV
echo "CMAKE_ARGS=-DENABLE_LAPACK=OFF -DENABLE_SPATIAL_SOLVERS=OFF" >> $GITHUB_ENV
- name: Additional macOS settings
if: matrix.os == 'macos-13' || matrix.os == 'macos-14'
Expand Down
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,10 @@ find_program(CYTHON "cython")
# Setup Fortran, LAPACK and f2py #
############################################################

# Call macro to setup Fortran
pyne_setup_fortran()
if(ENABLE_LAPACK OR BUILD_SPATIAL_SOLVER OR ENABLE_ENSDF_PROCESSING)
# Call macro to setup Fortran
pyne_setup_fortran()
endif()

if(ENABLE_LAPACK)
# If LAPACK is installed in a non-standard location, set LAPACK_ROOT
Expand Down

0 comments on commit b3b461e

Please sign in to comment.