Merge branch '73-build-boost-1-73-serial' into 'master'

Resolve "build boost/1.73 (serial)"

Closes #73

See merge request Pmodules/buildblocks!95
This commit is contained in:
2020-07-16 11:43:44 +02:00
3 changed files with 55 additions and 69 deletions

View File

@@ -1,44 +1,44 @@
#!/usr/bin/env modbuild
pbuild::set_download_url "https://netcologne.dl.sourceforge.net/project/${P}/${P}/$V/${P}_${V_PKG//./_}.tar.gz"
#pbuild::set_download_url "https://dl.bintray.com/boostorg/release/${V_PKG}/source/${P}_${V_PKG//./_}.tar.gz"
#pbuild::set_download_url "https://netcologne.dl.sourceforge.net/project/$P/$P/$V/$P_${V_MAJOR}_${V_MINOR}_${V_PATCHLVL}.tar.gz"
pbuild::set_download_url "https://dl.bintray.com/boostorg/release/${V_PKG}/source/${P}_${V_PKG//./_}.tar.gz"
pbuild::add_to_group 'Compiler'
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
TOOLSET=''
pbuild::pre_configure() {
case "${COMPILER}" in
gcc )
TOOLSET=gcc
;;
* )
std::die 1 "Unsupported compiler!"
;;
esac
}
pbuild::compile() {
cd "${SRC_DIR}"
./b2 \
--build-type=minimal \
--build-dir="${BUILD_DIR}" \
--layout=system \
cd "${SRC_DIR}"
./bootstrap.sh \
--prefix="${PREFIX}" \
--with-toolset=${TOOLSET} \
--without-libraries=python \
|| exit 1
./b2 \
--build-dir="${BUILD_DIR}" \
--layout=system \
--without-python \
--without-mpi \
variant=release \
link=shared,static \
threading=multi \
stage
toolset=${TOOLSET} \
variant=release \
link=shared,static \
threading=multi \
install -j 3 \
|| exit 1
}
pbuild::install() {
cd "${SRC_DIR}"
./b2 \
--build-type=minimal \
--build-dir="${BUILD_DIR}" \
--layout=system \
--without-mpi \
variant=release \
link=shared,static \
threading=multi \
install
:
}

View File

@@ -1,39 +0,0 @@
boost/1.55.0 stable gcc/4.7.4 b:Python/3.4.0
boost/1.55.0 stable gcc/4.8.3 b:Python/3.4.0
boost/1.55.0 stable gcc/4.8.4 b:Python/3.4.0
boost/1.55.0 stable gcc/4.8.5 b:Python/2.7.11
boost/1.55.0 stable gcc/4.9.2 b:Python/3.4.0
boost/1.57.0 stable gcc/4.8.2 b:Python/3.4.0
boost/1.58.0 stable gcc/4.8.4 b:Python/3.4.0
boost/1.58.0 stable gcc/4.8.5 b:Python/2.7.11
boost/1.58.0 stable gcc/4.9.3 b:Python/2.7.11
boost/1.58.0 stable gcc/6.3.0 b:Python/2.7.12
boost/1.61.0 stable gcc/4.8.5 b:Python/2.7.11
boost/1.61.0 stable gcc/6.2.0 b:Python/2.7.11
boost/1.62.0 stable gcc/4.8.5 Python/2.7.12
boost/1.62.0 stable gcc/4.9.4 Python/2.7.12
boost/1.62.0 stable gcc/5.4.0 Python/2.7.12
boost/1.62.0 stable gcc/6.2.0 Python/2.7.12
boost/1.62.0 stable gcc/6.3.0 Python/2.7.12
boost/1.62.0 stable gcc/7.1.0 Python/2.7.12
boost/1.63.0 stable gcc/6.3.0 Python/2.7.12
boost/1.64.0 stable gcc/5.4.0 Python/2.7.12
boost/1.66.0 stable gcc/5.5.0 b:Python/2.7.12
boost/1.66.0 stable gcc/6.4.0 b:Python/2.7.12
boost/1.66.0 stable gcc/7.3.0 b:Python/2.7.12
boost/1.66.0 stable clang-macos/9.0.0 b:Python/2.7.12
boost/1.66.0 stable intel/17.4 b:Python/2.7.12
boost/1.67.0 stable gcc/5.5.0 b:Python/2.7.14
boost/1.67.0 stable gcc/6.4.0 b:Python/2.7.14
boost/1.67.0 stable gcc/7.3.0 b:Python/2.7.14
boost/1.67.0 stable clang-macos/9.0.0 b:Python/2.7.14
boost/1.67.0 stable intel/17.4 b:Python/2.7.14
boost/1.68.0 stable gcc/7.3.0 b:Python/2.7.14
boost/1.68.0 stable gcc/8.2.0 b:Python/2.7.14

View File

@@ -0,0 +1,25 @@
boost/1.55.0 deprecated gcc/{4.7.4,4.8.3,4.8.4,4.9.2} b:Python/3.4.0
boost/1.55.0 deprecated gcc/4.8.5 b:Python/2.7.11
boost/1.57.0 deprecated gcc/4.8.2 b:Python/3.4.0
boost/1.58.0 deprecated gcc/4.8.4 b:Python/3.4.0
boost/1.58.0 deprecated gcc/{4.8.5,4.9.3} b:Python/2.7.11
boost/1.61.0 deprecated gcc/{4.8.5,6.2.0} b:Python/2.7.11
boost/1.62.0 deprecated gcc/{4.8.5,4.9.4,5.4.0,6.2.0,6.3.0,7.1.0} Python/2.7.12
boost/1.63.0 deprecated gcc/6.3.0 Python/2.7.12
boost/1.64.0 deprecated gcc/5.4.0 Python/2.7.12
boost/1.66.0 stable gcc/{5.5.0,6.4.0,7.3.0} b:Python/2.7.14
boost/1.66.0 stable intel/17.4 b:Python/2.7.12
boost/1.67.0 stable gcc/{5.5.0,6.4.0,7.3.0} b:Python/2.7.14
boost/1.67.0 stable intel/17.4 b:Python/2.7.14
boost/1.68.0 stable gcc/{7.3.0,8.2.0} b:Python/2.7.14
boost/1.73.0 unstable gcc/{7.5.0,8.4.0,9.3.0,10.1.0} b:zlib/1.2.11