fix(openmpi) (#3480)

* fix(openmpi)

force clang on darwin

flags

fortran too

* wip

* keep going
This commit is contained in:
Jacob Heider 2023-10-08 02:32:09 -04:00 committed by GitHub
parent 66e988cd6a
commit aa90945820
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,10 @@ runtime:
build:
dependencies:
gnu.org/binutils: '*' # needed to compile
zlib.net: ^1
gnu.org/binutils: '*'
linux:
gnu.org/make: '*'
script:
- ./configure $CONFIGURE_ARGS
- make --jobs {{ hw.concurrency }} all
@ -42,7 +45,13 @@ build:
working-directory: '{{prefix}}/share/openmpi'
- install {{prefix}}/lib/*.mod {{prefix}}/include/
env:
CXXFLAGS: -std=c++11
AR: ${{deps.gnu.org/binutils.prefix}}/bin/ar
RANLIB: ${{deps.gnu.org/binutils.prefix}}/bin/ranlib
CXXFLAGS: $CXXFLAGS -std=c++11
darwin:
CFLAGS: $CFLAGS -Wl,-rpath,{{pkgx.prefix}}
CXXFLAGS: $CXXFLAGS -Wl,-rpath,{{pkgx.prefix}}
FCFLAGS: $FCFLAGS -Wl,-rpath,{{pkgx.prefix}}
CONFIGURE_ARGS:
- --disable-debug
- --disable-dependency-tracking