mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +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
1 changed files with 11 additions and 2 deletions
|
@ -27,7 +27,10 @@ runtime:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
gnu.org/binutils: '*' # needed to compile
|
zlib.net: ^1
|
||||||
|
gnu.org/binutils: '*'
|
||||||
|
linux:
|
||||||
|
gnu.org/make: '*'
|
||||||
script:
|
script:
|
||||||
- ./configure $CONFIGURE_ARGS
|
- ./configure $CONFIGURE_ARGS
|
||||||
- make --jobs {{ hw.concurrency }} all
|
- make --jobs {{ hw.concurrency }} all
|
||||||
|
@ -42,7 +45,13 @@ build:
|
||||||
working-directory: '{{prefix}}/share/openmpi'
|
working-directory: '{{prefix}}/share/openmpi'
|
||||||
- install {{prefix}}/lib/*.mod {{prefix}}/include/
|
- install {{prefix}}/lib/*.mod {{prefix}}/include/
|
||||||
env:
|
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:
|
CONFIGURE_ARGS:
|
||||||
- --disable-debug
|
- --disable-debug
|
||||||
- --disable-dependency-tracking
|
- --disable-dependency-tracking
|
||||||
|
|
Loading…
Reference in a new issue