Commit 75eec7af authored by gsell's avatar gsell
Browse files

various build-blocks adapted to new build system

parent b2155248
#!/bin/bash
#!/usr/bin/env modbuild
source "$(dirname $0)/../../../lib/libpmodules.bash"
pmodules.configure() {
pbuild::configure() {
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \
--enable-mpi-cxx \
......@@ -14,9 +12,8 @@ pmodules.configure() {
|| exit 1
}
pmodules.add_to_group 'Compiler'
pmodules.set_runtime_dependencies "${COMPILER}"
pmodules.set_build_dependencies "${COMPILER}"
pmodules.set_docfiles 'AUTHORS' 'LICENSE' 'NEWS' 'README'
pmodules.make_all
pbuild::add_to_group 'Compiler'
pbuild::set_runtime_dependencies "${COMPILER}"
pbuild::set_build_dependencies "${COMPILER}"
pbuild::set_docfiles 'AUTHORS' 'LICENSE' 'NEWS' 'README'
pbuild::make_all
#!/bin/bash
#!/usr/bin/env modbuild
source "$(dirname $0)/../../../lib/libpmodules.bash"
pmodules.configure() {
pbuild::configure() {
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \
|| exit 1
}
pmodules.add_to_group 'Libraries'
pmodules.set_build_dependencies "${COMPILER}"
pmodules.make_all
pbuild::add_to_group 'Libraries'
pbuild::set_build_dependencies "${COMPILER}"
pbuild::make_all
#!/bin/bash
#!/usr/bin/env modbuild
source "$(dirname $0)/../../../lib/libpmodules.bash"
pmodules.configure() {
pbuild::configure() {
CC=$MPICC
CXX=$MPICXX
F77=$MPIF77
......@@ -22,13 +20,13 @@ pmodules.configure() {
}
pmodules.add_to_group 'MPI'
pmodules.set_runtime_dependencies "${COMPILER}" "${MPI}"
pmodules.set_build_dependencies "${COMPILER}" "${MPI}"
pmodules.set_docfiles \
pbuild::add_to_group 'MPI'
pbuild::set_runtime_dependencies "${COMPILER}" "${MPI}"
pbuild::set_build_dependencies "${COMPILER}" "${MPI}"
pbuild::set_docfiles \
ACKNOWLEDGMENTS \
COPYING \
MANIFEST \
README.txt
pmodules.make_all
pbuild::make_all
#!/usr/bin/env pbuild
#!/usr/bin/env modbuild
export NO_APPLE_COMMON_CRYPTO=1
case ${OS} in
Darwin )
export NO_APPLE_COMMON_CRYPTO=1
;;
esac
pbuild::configure() {
cd "${MODULE_SRCDIR}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment