MPI/boost

- added
This commit is contained in:
2018-10-11 10:53:54 +02:00
parent 9b5dba35f0
commit 874657977a
3 changed files with 59 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
#!/usr/bin/env modbuild
pbuild::set_download_url "https://netcologne.dl.sourceforge.net/project/boost/boost/$V/boost_${V_MAJOR}_${V_MINOR}_${V_PATCHLVL}.tar.gz"
pbuild::add_to_group 'MPI'
BOOST_BUILD_PATH="${BUILD_DIR}"
pbuild::configure() {
cd "${SRC_DIR}"
"${SRC_DIR}"/bootstrap.sh \
--prefix="${PREFIX}" \
--with-libraries=all \
--with-python-root="${PYTHON_PREFIX}" \
|| exit 1
echo "using mpi ;" >> "${SRC_DIR}/project-config.jam"
}
pbuild::compile() {
cd "${SRC_DIR}"
./b2 \
--build-type=minimal \
--build-dir="${BUILD_DIR}" \
--layout=system \
variant=release \
link=shared,static \
threading=multi \
stage
}
pbuild::install() {
cd "${SRC_DIR}"
./b2 \
--build-type=minimal \
--build-dir="${BUILD_DIR}" \
--layout=system \
variant=release \
link=shared,static \
threading=multi \
install
}
pbuild::make_all
+1
View File
@@ -0,0 +1 @@
boost/1.66.0 unstable gcc/7.3.0 openmpi/3.0.0 b:Python/2.7.14
+14
View File
@@ -0,0 +1,14 @@
#%Module1.0
module-whatis "C++ libraries"
module-url "http://www.boost.org"
module-license "Boost Software License"
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
module-help "
Boost is a set of libraries for the C++ programming language that provide
support for tasks and structures such as linear algebra, pseudorandom number
generation, multithreading, image processing, regular expressions, and unit
testing. It contains over eighty individual libraries.
(Wikipedia)
"