File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 37
37
if : matrix.os == 'macos-13' || matrix.os == 'macos-13-xlarge'
38
38
env :
39
39
MACOSX_DEPLOYMENT_TARGET : 13
40
+ CIBW_BUILD : cp311-*
40
41
CIBW_SKIP : pp*
41
42
CIBW_BUILD_VERBOSITY : 1
42
43
run : python -m cibuildwheel --output-dir wheelhouse
Original file line number Diff line number Diff line change @@ -39,15 +39,13 @@ def global_error_message(self):
39
39
return bytearray (self ._global_error_message ).decode ('ascii' ).strip ()
40
40
41
41
def check_global_error (self , reference = '' ):
42
- code = self .global_error_flag
43
- if code :
44
- err = config .global_error_message ()
42
+ if code := self .global_error_flag :
45
43
self .global_error_flag = 0
46
44
if reference :
47
45
reference = 'Error in Fortran called from %s:\n ' % reference
48
46
else :
49
47
reference = ''
50
- if err :
48
+ if err := config . global_error_message () :
51
49
raise CAMBError (reference + '%s' % err )
52
50
else :
53
51
raise CAMBError (reference + 'Error code: %s' % code )
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ COMMON_FFLAGS = -MMD -cpp -ffree-line-length-none -fmax-errors=4 -fopenmp
96
96
FFLAGS = -O3 $(COMMON_FFLAGS )
97
97
DEBUGFLAGS = -g -fbacktrace -ffpe-trap=invalid,overflow,zero -fbounds-check $(COMMON_FFLAGS )
98
98
ifeq ($(shell uname -s) ,Darwin)
99
- SFFLAGS = -dynamiclib # -fpic
99
+ SFFLAGS = -dynamiclib -static-libgfortran # -fpic
100
100
else
101
101
SFFLAGS = -shared -fpic
102
102
endif
Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ def finalize_options(self):
256
256
257
257
def get_tag (self ):
258
258
_ , _ , plat = super ().get_tag ()
259
- if "osx_12" in plat or "osx_13" in plat :
259
+ if "osx_12" in plat :
260
260
return _ , _ , plat
261
261
return "py3" , "none" , plat
262
262
You can’t perform that action at this time.
0 commit comments