From 0ccd6b9c2a804107e9075f4466969506105e3dcf Mon Sep 17 00:00:00 2001 From: Ansgar Wehrhahn <31626864+AWehrhahn@users.noreply.github.com> Date: Thu, 22 Jul 2021 14:40:00 +0200 Subject: [PATCH] fix mac --- .github/workflows/make.yml | 2 +- Makefile_mac.am => Makefile_f2c_mac.am | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) rename Makefile_mac.am => Makefile_f2c_mac.am (89%) diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml index 1f4310f..03bb6e1 100644 --- a/.github/workflows/make.yml +++ b/.github/workflows/make.yml @@ -156,7 +156,7 @@ jobs: cxx: gcc-9 f77: gfortran-9 outputs: lib share - makefile: Makefile_mac.am + makefile: Makefile.am # F2C also fails on MacOSX, because the F2C library is difficult to install #- name: macos-f2c # runs_on: macos-latest diff --git a/Makefile_mac.am b/Makefile_f2c_mac.am similarity index 89% rename from Makefile_mac.am rename to Makefile_f2c_mac.am index c3977fb..158f8f8 100644 --- a/Makefile_mac.am +++ b/Makefile_f2c_mac.am @@ -7,12 +7,12 @@ libsme_la_SOURCES = \ src/sme/platform.h \ src/sme/sme_synth_faster.h \ src/sme/sme_synth_faster.cpp \ - src/eos/eos.f \ - src/eos/eos_eqns.f \ - src/eos/eos_math_special.f \ - src/eos/kp_q_spln.f \ - src/sme/hlinop.f \ - src/sme/hlinprof.f + src/eos/eos.c \ + src/eos/eos_eqns.c \ + src/eos/eos_math_special.c \ + src/eos/kp_q_spln.c \ + src/sme/hlinop.c \ + src/sme/hlinprof.c libsme_la_LDFLAGS = -fPIC -version-info 5:22:0 -shared -no-undefined libsme_la_CPPFLAGS = -fPIC -shared # Here we assume that f2c has been installed using homebrew, since the automatic detection seems to fail...