Skip to content

Commit

Permalink
try installing using a fortran environment on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Mather committed Nov 21, 2023
1 parent aa843b1 commit 80aa191
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

uses: fortran-lang/setup_fortran@v1
id: setup-fortran
with:
compiler: gcc
version: 12

- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
1 change: 0 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ add_languages('fortran')
platform = host_machine.system()
if platform == 'windows'
add_project_link_arguments('-static', language: ['fortran', 'c'])
m_dep = dependency('libquadmath', required: true)
elif platform == 'darwin'
add_project_link_arguments('-Wl,-rpath, "@loader_path"', language: ['fortran', 'c'])
else
Expand Down

0 comments on commit 80aa191

Please sign in to comment.