all build scripts moved to a sub-directory according their name

This commit is contained in:
2015-01-20 16:18:09 +01:00
parent 1aa5fef253
commit d9be0b6af2
50 changed files with 0 additions and 0 deletions

48
scripts/System/boost.build Executable file
View File

@@ -0,0 +1,48 @@
#!/bin/bash
source "$(dirname $0)/../lib/libem.bash"
# :TODO: detect compiler
TOOLSET=gcc
function em.configure() {
cd "${MODULE_SRCDIR}"
"${MODULE_SRCDIR}"/bootstrap.sh \
--prefix="${PREFIX}" \
--with-toolset=${TOOLSET} \
--with-libraries=all \
--with-python-root="${PYTHON_PREFIX}" \
|| exit 1
}
function em.build() {
cd "${MODULE_SRCDIR}"
./b2 \
--build-type=minimal \
--build-dir="${MODULE_BUILDDIR}" \
--layout=system \
--without-mpi \
variant=release \
link=static \
threading=multi \
stage
}
function em.install() {
cd "${MODULE_SRCDIR}"
./b2 \
--build-type=minimal \
--build-dir="${MODULE_BUILDDIR}" \
--layout=system \
--without-mpi \
variant=release \
link=static \
threading=multi \
install
}
em.add_to_family 'Compiler'
em.set_runtime_dependencies "${COMPILER}"
em.set_build_dependencies "${COMPILER}" 'Python'
em.make_all