Skip to content

Commit

Permalink
Update make.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AWehrhahn authored Dec 2, 2020
1 parent 011ce6a commit 4e339b3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,20 @@ jobs:

- name: Install F2C
if: matrix.name == 'macos-f2c'
run: brew install --verbose --HEAD franklinchen/tap/f2c && export LDFLAGS=-L/usr/local/Cellar/f2c/HEAD/lib/
run: brew install --verbose --HEAD franklinchen/tap/f2c

- name: Run F2C
if: matrix.name == 'ubuntu-f2c' || matrix.name == 'windows-f2c' || matrix.name == 'macos-f2c'
run: f2c -w -a -C++ -Nn1604 -Nq1200 -dsrc/eos/ src/eos/*.f & f2c -w -a -C++ -dsrc/sme/ src/sme/*.f

- name: Replace Makefile.am
if: matrix.name == 'ubuntu-f2c' || matrix.name == 'windows-f2c' || matrix.name == 'macos-f2c'
if: matrix.name == 'ubuntu-f2c' || matrix.name == 'windows-f2c'
run: rm Makefile.am && mv Makefile_f2c.am Makefile.am

- name: Replace Makefile.am
if: matrix.name == 'macos-f2c'
run: rm Makefile.am && mv Makefile_mac.am Makefile.am

- name: Copy F2C headers
if: matrix.name == 'windows-f2c'
run: cp /usr/include/f2c.h src/eos/ & cp /usr/include/f2c.h src/sme/
Expand Down

0 comments on commit 4e339b3

Please sign in to comment.