Skip to content

Commit

Permalink
New Mac gfortran location
Browse files Browse the repository at this point in the history
  • Loading branch information
lindonroberts committed May 30, 2024
1 parent cd20e59 commit 73fb414
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python_testing_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo ln -s /usr/local/bin/gfortran-11 /usr/local/bin/gfortran
export FC="/usr/local/bin/gfortran-11"
sudo ln -s /opt/homebrew/bin/gfortran-12 /opt/homebrew/bin/gfortran
export FC="/opt/homebrew/bin/gfortran"
python -m pip install .
pip install pytest
- name: Run unit tests
Expand Down
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
cmake_minimum_required(VERSION 3.17.2)
project(${SKBUILD_PROJECT_NAME} LANGUAGES C Fortran)

if (APPLE)
# Location of Fortran compiler for MacOS using Github Actions
set(CMAKE_Fortran_COMPILER "/usr/local/bin/gfortran-11")
endif ()

find_package(
Python
COMPONENTS Interpreter Development.Module NumPy
Expand Down

0 comments on commit 73fb414

Please sign in to comment.