Skip to content

Commit

Permalink
test [pypi]
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Aug 19, 2024
1 parent e91205c commit 22338ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
compiler: gcc
version: 13

- run: ln -s $(which gfortran-12) /usr/local/bin/gfortran
- run: ln -s $(which gfortran-14) /usr/local/bin/gfortran
if: matrix.os != 'windows-latest'

- run: gfortran --version
Expand Down
5 changes: 4 additions & 1 deletion fortran/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ COMMON_FFLAGS = -MMD -cpp -ffree-line-length-none -fmax-errors=4 -fopenmp
FFLAGS = -O3 $(COMMON_FFLAGS)
DEBUGFLAGS = -g -fbacktrace -ffpe-trap=invalid,overflow,zero -fbounds-check $(COMMON_FFLAGS)
ifeq ($(shell uname -s),Darwin)
SFFLAGS = -dynamiclib -static-libgfortran -static-libgcc -static-libquadmath #-fpic
SFFLAGS = -dynamiclib #-fpic
ifneq ($(CIBW_BUILD),)
SFFLAGS += -static-libgfortran -static-libgcc -static-libquadmath
endif
else
SFFLAGS = -shared -fpic
endif
Expand Down

0 comments on commit 22338ec

Please sign in to comment.