Commit 320448ec authored by gsell's avatar gsell
Browse files

Merge branch '37-boost-review-build-script' into 'master'

Resolve "boost: review build script"

Closes #37

See merge request Pmodules/buildblocks!44
parents 9fed2432 9cd88bd9
#!/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::set_download_url "https://netcologne.dl.sourceforge.net/project/boost/boost/$V/boost_${V_PKG//./_}.tar.gz"
pbuild::add_to_group 'MPI'
pbuild::add_patch "files/context-Jamfile.patch"
#pbuild::add_patch "files/context-Jamfile.patch"
BOOST_BUILD_PATH="${BUILD_DIR}"
declare -x TOOLSET=''
TOOLSET=''
pbuild::pre_configure() {
case "${COMPILER}" in
......@@ -22,6 +22,10 @@ pbuild::pre_configure() {
}
pbuild::configure() {
:
}
pbuild::compile() {
cd "${SRC_DIR}"
./bootstrap.sh \
--prefix="${PREFIX}" \
......@@ -29,10 +33,6 @@ pbuild::configure() {
--without-libraries=python \
|| exit 1
echo "using mpi ;" >> "./project-config.jam"
}
pbuild::compile() {
cd "${SRC_DIR}"
./b2 \
--build-dir="${BUILD_DIR}" \
--layout=system \
......
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