mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(openmpi) (#3480)
* fix(openmpi) force clang on darwin flags fortran too * wip * keep going
This commit is contained in:
parent
66e988cd6a
commit
aa90945820
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue