Skip to content

Commit 22338ec

Browse files
committed
test [pypi]
1 parent e91205c commit 22338ec

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
compiler: gcc
2020
version: 13
2121

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

2525
- run: gfortran --version

fortran/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,10 @@ COMMON_FFLAGS = -MMD -cpp -ffree-line-length-none -fmax-errors=4 -fopenmp
9696
FFLAGS = -O3 $(COMMON_FFLAGS)
9797
DEBUGFLAGS = -g -fbacktrace -ffpe-trap=invalid,overflow,zero -fbounds-check $(COMMON_FFLAGS)
9898
ifeq ($(shell uname -s),Darwin)
99-
SFFLAGS = -dynamiclib -static-libgfortran -static-libgcc -static-libquadmath #-fpic
99+
SFFLAGS = -dynamiclib #-fpic
100+
ifneq ($(CIBW_BUILD),)
101+
SFFLAGS += -static-libgfortran -static-libgcc -static-libquadmath
102+
endif
100103
else
101104
SFFLAGS = -shared -fpic
102105
endif

0 commit comments

Comments
 (0)