boost: added
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
autoconf 2.69
|
||||
automake 1.14
|
||||
boost 1.55.0
|
||||
cmake 2.8.12.2
|
||||
emacs 24.3
|
||||
filebench 1.4.9.1
|
||||
|
||||
45
scripts/boost.build
Executable file
45
scripts/boost.build
Executable file
@@ -0,0 +1,45 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname $0)/../lib/libem.bash"
|
||||
|
||||
# :TODO: detect compiler
|
||||
TOOLSET=gcc
|
||||
|
||||
function em.configure() {
|
||||
cd "${EM_SRCDIR}"
|
||||
"${EM_SRCDIR}"/bootstrap.sh \
|
||||
--prefix="${PREFIX}" \
|
||||
--with-toolset=${TOOLSET} \
|
||||
--with-libraries=all \
|
||||
--with-python-root="${PYTHON_PREFIX}" \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
function em.build() {
|
||||
cd "${EM_SRCDIR}"
|
||||
./b2 \
|
||||
--build-type=minimal \
|
||||
--build-dir="${EM_BUILDDIR}" \
|
||||
--layout=system \
|
||||
variant=release \
|
||||
link=static \
|
||||
threading=multi \
|
||||
stage
|
||||
}
|
||||
|
||||
function em.install() {
|
||||
cd "${EM_SRCDIR}"
|
||||
./b2 \
|
||||
--build-type=minimal \
|
||||
--build-dir="${EM_BUILDDIR}" \
|
||||
--layout=system \
|
||||
variant=release \
|
||||
link=static \
|
||||
threading=multi \
|
||||
install
|
||||
}
|
||||
|
||||
em.add_to_family 'Compiler'
|
||||
em.set_build_dependencies "${COMPILER}" 'python'
|
||||
em.make_all
|
||||
|
||||
Reference in New Issue
Block a user