Commit 5a83593a authored by gsell's avatar gsell

boost: added

parent 22b668d4
autoconf 2.69
automake 1.14
boost 1.55.0
cmake 2.8.12.2
emacs 24.3
filebench 1.4.9.1
......
#!/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
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