mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
d6e1bc9577
commit
29fd4229a7
1 changed files with 13 additions and 16 deletions
|
@ -29,29 +29,34 @@ build:
|
||||||
dependencies:
|
dependencies:
|
||||||
zlib.net: ^1
|
zlib.net: ^1
|
||||||
gnu.org/binutils: '*'
|
gnu.org/binutils: '*'
|
||||||
|
python.org: ^3
|
||||||
linux:
|
linux:
|
||||||
gnu.org/make: '*'
|
gnu.org/make: '*'
|
||||||
script:
|
script:
|
||||||
- ./configure $CONFIGURE_ARGS
|
- ./configure $CONFIGURE_ARGS
|
||||||
- make --jobs {{ hw.concurrency }} all
|
- make --jobs {{ hw.concurrency }} all
|
||||||
- make --jobs {{ hw.concurrency }} install
|
- make --jobs {{ hw.concurrency }} install
|
||||||
- run: |
|
|
||||||
sed -i.bak "s|$PKGX_DIR|\${pcfiledir}/../../../..|g" ompi-c.pc ompi-cxx.pc ompi-fort.pc ompi.pc orte.pc pmix.pc
|
- run: sed -i "s|$PKGX_DIR|\${pcfiledir}/../../../..|g" *.pc
|
||||||
rm ./*.bak
|
|
||||||
working-directory: '{{prefix}}/lib/pkgconfig'
|
working-directory: '{{prefix}}/lib/pkgconfig'
|
||||||
- run: |
|
|
||||||
sed -i.bak "s|linker_flags=.*|linker_flags=|g" mpic++-wrapper-data.txt mpicc-wrapper-data.txt mpifort-wrapper-data.txt ortecc-wrapper-data.txt
|
- run: sed -i "s|linker_flags=.*|linker_flags=|g" *-wrapper-data.txt
|
||||||
rm ./*.bak
|
|
||||||
working-directory: '{{prefix}}/share/openmpi'
|
working-directory: '{{prefix}}/share/openmpi'
|
||||||
|
|
||||||
- install {{prefix}}/lib/*.mod {{prefix}}/include/
|
- install {{prefix}}/lib/*.mod {{prefix}}/include/
|
||||||
env:
|
env:
|
||||||
AR: ${{deps.gnu.org/binutils.prefix}}/bin/ar
|
linux:
|
||||||
RANLIB: ${{deps.gnu.org/binutils.prefix}}/bin/ranlib
|
AR: ${{deps.gnu.org/binutils.prefix}}/bin/ar
|
||||||
|
RANLIB: ${{deps.gnu.org/binutils.prefix}}/bin/ranlib
|
||||||
CXXFLAGS: $CXXFLAGS -std=c++11
|
CXXFLAGS: $CXXFLAGS -std=c++11
|
||||||
darwin:
|
darwin:
|
||||||
|
# FIXME: binutils ar/ranlib are broken on macOS?
|
||||||
|
AR: /usr/bin/ar
|
||||||
|
RANLIB: /usr/bin/ranlib
|
||||||
CFLAGS: $CFLAGS -Wl,-rpath,{{pkgx.prefix}}
|
CFLAGS: $CFLAGS -Wl,-rpath,{{pkgx.prefix}}
|
||||||
CXXFLAGS: $CXXFLAGS -Wl,-rpath,{{pkgx.prefix}}
|
CXXFLAGS: $CXXFLAGS -Wl,-rpath,{{pkgx.prefix}}
|
||||||
FCFLAGS: $FCFLAGS -Wl,-rpath,{{pkgx.prefix}}
|
FCFLAGS: $FCFLAGS -Wl,-rpath,{{pkgx.prefix}}
|
||||||
|
LDFLAGS: $LDFLAGS -headerpad_max_install_names
|
||||||
CONFIGURE_ARGS:
|
CONFIGURE_ARGS:
|
||||||
- --disable-debug
|
- --disable-debug
|
||||||
- --disable-dependency-tracking
|
- --disable-dependency-tracking
|
||||||
|
@ -75,16 +80,8 @@ provides:
|
||||||
- bin/mpif90
|
- bin/mpif90
|
||||||
- bin/mpifort
|
- bin/mpifort
|
||||||
- bin/mpirun
|
- bin/mpirun
|
||||||
- bin/ompi-clean
|
|
||||||
- bin/ompi_info
|
- bin/ompi_info
|
||||||
- bin/ompi-server
|
|
||||||
- bin/opal_wrapper
|
- bin/opal_wrapper
|
||||||
- bin/ortecc
|
|
||||||
- bin/orte-clean
|
|
||||||
- bin/orted
|
|
||||||
- bin/orte-info
|
|
||||||
- bin/orterun
|
|
||||||
- bin/orte-server
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in a new issue