-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add macos build * don't link librt (does not exist on macos) * add link option to fix link problem using CFLAGS_FORGA workaround for conda-forge/gfortran_osx-64-feedstock#11 (comment) * add patch to fix detection of gfortran version * MNT: Re-rendered with conda-build 3.21.4, conda-smithy 3.10.1, and conda-forge-pinning 2021.05.18.06.34.34 Co-authored-by: conda-forge-linter <[email protected]> Co-authored-by: Edoardo Aprà <[email protected]>
- Loading branch information
1 parent
165e7a3
commit 10b4a6e
Showing
12 changed files
with
324 additions
and
20 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
MACOSX_DEPLOYMENT_TARGET: | ||
- '10.9' | ||
c_compiler: | ||
- clang | ||
c_compiler_version: | ||
- '11' | ||
channel_sources: | ||
- conda-forge,defaults | ||
channel_targets: | ||
- conda-forge main | ||
fortran_compiler: | ||
- gfortran | ||
fortran_compiler_version: | ||
- '9' | ||
liblapack: | ||
- 3.8 *netlib | ||
macos_machine: | ||
- x86_64-apple-darwin13.4.0 | ||
mpi: | ||
- openmpi | ||
openblas: | ||
- 0.3.* | ||
perl: | ||
- 5.26.2 | ||
pin_run_as_build: | ||
perl: | ||
max_pin: x.x.x | ||
python: | ||
min_pin: x.x | ||
max_pin: x.x | ||
python: | ||
- 3.6.* *_cpython | ||
target_platform: | ||
- osx-64 | ||
zip_keys: | ||
- - c_compiler_version | ||
- fortran_compiler_version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
MACOSX_DEPLOYMENT_TARGET: | ||
- '10.9' | ||
c_compiler: | ||
- clang | ||
c_compiler_version: | ||
- '11' | ||
channel_sources: | ||
- conda-forge,defaults | ||
channel_targets: | ||
- conda-forge main | ||
fortran_compiler: | ||
- gfortran | ||
fortran_compiler_version: | ||
- '9' | ||
liblapack: | ||
- 3.8 *netlib | ||
macos_machine: | ||
- x86_64-apple-darwin13.4.0 | ||
mpi: | ||
- openmpi | ||
openblas: | ||
- 0.3.* | ||
perl: | ||
- 5.26.2 | ||
pin_run_as_build: | ||
perl: | ||
max_pin: x.x.x | ||
python: | ||
min_pin: x.x | ||
max_pin: x.x | ||
python: | ||
- 3.7.* *_cpython | ||
target_platform: | ||
- osx-64 | ||
zip_keys: | ||
- - c_compiler_version | ||
- fortran_compiler_version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
MACOSX_DEPLOYMENT_TARGET: | ||
- '10.9' | ||
c_compiler: | ||
- clang | ||
c_compiler_version: | ||
- '11' | ||
channel_sources: | ||
- conda-forge,defaults | ||
channel_targets: | ||
- conda-forge main | ||
fortran_compiler: | ||
- gfortran | ||
fortran_compiler_version: | ||
- '9' | ||
liblapack: | ||
- 3.8 *netlib | ||
macos_machine: | ||
- x86_64-apple-darwin13.4.0 | ||
mpi: | ||
- openmpi | ||
openblas: | ||
- 0.3.* | ||
perl: | ||
- 5.26.2 | ||
pin_run_as_build: | ||
perl: | ||
max_pin: x.x.x | ||
python: | ||
min_pin: x.x | ||
max_pin: x.x | ||
python: | ||
- 3.8.* *_cpython | ||
target_platform: | ||
- osx-64 | ||
zip_keys: | ||
- - c_compiler_version | ||
- fortran_compiler_version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
MACOSX_DEPLOYMENT_TARGET: | ||
- '10.9' | ||
c_compiler: | ||
- clang | ||
c_compiler_version: | ||
- '11' | ||
channel_sources: | ||
- conda-forge,defaults | ||
channel_targets: | ||
- conda-forge main | ||
fortran_compiler: | ||
- gfortran | ||
fortran_compiler_version: | ||
- '9' | ||
liblapack: | ||
- 3.8 *netlib | ||
macos_machine: | ||
- x86_64-apple-darwin13.4.0 | ||
mpi: | ||
- openmpi | ||
openblas: | ||
- 0.3.* | ||
perl: | ||
- 5.26.2 | ||
pin_run_as_build: | ||
perl: | ||
max_pin: x.x.x | ||
python: | ||
min_pin: x.x | ||
max_pin: x.x | ||
python: | ||
- 3.9.* *_cpython | ||
target_platform: | ||
- osx-64 | ||
zip_keys: | ||
- - c_compiler_version | ||
- fortran_compiler_version |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
diff --git a/src/config/makefile.h b/src/config/makefile.h | ||
index 7beab60bb7..2baf7eb7da 100644 | ||
--- a/src/config/makefile.h | ||
+++ b/src/config/makefile.h | ||
@@ -1195,9 +1195,11 @@ endif | ||
# | ||
FOPTIMIZE+= -funroll-all-loops -mtune=native | ||
FVECTORIZE=-O3 -ffast-math -mtune=native -mfpmath=sse -msse3 -ftree-vectorize -ftree-vectorizer-verbose=1 -fprefetch-loop-arrays -funroll-all-loops | ||
- GNUMAJOR=$(shell $(_FC) -dM -E - < /dev/null 2> /dev/null | grep __GNUC__ |cut -c18-) | ||
+# GNUMAJOR=$(shell $(_FC) -dM -E - < /dev/null 2> /dev/null | grep __GNUC__ |cut -c18-) | ||
+ GNUMAJOR=$(shell cat /dev/null>0.f90; $(FC) -cpp -dM -E 0.f90 2> /dev/null | grep __GNUC__ |cut -c18-) | ||
ifneq ($(strip $(GNUMAJOR)),) | ||
- GNUMINOR=$(shell $(_FC) -dM -E - < /dev/null 2> /dev/null | egrep __GNUC_MINOR | cut -c24) | ||
+# GNUMINOR=$(shell $(_FC) -dM -E - < /dev/null 2> /dev/null | egrep __GNUC_MINOR | cut -c24) | ||
+ GNUMINOR=$(shell cat /dev/null>0.f90; $(FC) -cpp -dM -E 0.f90 2> /dev/null | grep __GNUC_MINOR |cut -c24) | ||
GNU_GE_4_6 = $(shell [ $(GNUMAJOR) -gt 4 -o \( $(GNUMAJOR) -eq 4 -a $(GNUMINOR) -ge 6 \) ] && echo true) | ||
GNU_GE_4_8 = $(shell [ $(GNUMAJOR) -gt 4 -o \( $(GNUMAJOR) -eq 4 -a $(GNUMINOR) -ge 8 \) ] && echo true) | ||
GNU_GE_6 = $(shell [ $(GNUMAJOR) -ge 6 ] && echo true) |
Oops, something went wrong.