Skip to content

Commit 8067335

Browse files
committed
mson macos gfortran bug workaround [skip travis] [skip appveyor]
1 parent 8191191 commit 8067335

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ jobs:
1010
versionSpec: '3.6'
1111
addToPath: true
1212
- script: |
13-
sudo apt install -yq --no-install-recommends gfortran
13+
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
14+
sudo apt update -q
15+
sudo apt install -yq --no-install-recommends gfortran-6
1416
curl -Ls https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-linux.zip -o ninja-linux.zip
1517
sudo unzip ninja-linux.zip -d /usr/local/bin/
1618
python -m pip install meson

cxx/meson.build

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ if fc.get_id() == 'pgi'
44
subdir_done()
55
endif
66

7+
if os == 'darwin'
8+
message('cxx: Meson build on Mac')
9+
subdir_done()
10+
endif
711

812
call_f = library('call_f', 'c_call_f.f90')
913
c_call_f = executable('c_call_f', 'cxx_call_f.cxx', link_with: call_f)

0 commit comments

Comments
 (0)