From a3a97bf6ec88e863f6123265a36e10795e5856c9 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Thu, 24 Feb 2011 14:55:42 +0000 Subject: [PATCH] Fix: Circumvent problems with parallel build. --- starss_install.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/starss_install.sh b/starss_install.sh index 2369242..215ed0b 100755 --- a/starss_install.sh +++ b/starss_install.sh @@ -48,7 +48,8 @@ P=${PACKAGE}-${VERSION} # CONFIGURE_OPTS="" #NP=$(cat /proc/cpuinfo | grep processor | wc -l) #MAKEOPTS="-j$NP" -MAKEOPTS="-j2" +# starss has problems when build in parallel +MAKEOPTS="-j1" # Compiler specifications @@ -143,17 +144,15 @@ case "${A##*.}" in ;; esac -# TODO add autoreconf -# TODO check subdirectory build -mkdir ${BUILDDIR} -cd ${BUILDDIR} - cd ${SRCDIR} -# updating build tools and environment if [ "$SVN_BUILD" == "yes" ]; then + # updating build tools and environment autoreconf -fiv fi +mkdir ${BUILDDIR} -p +cd ${BUILDDIR} + echo "Running configure" ${SRCDIR}/configure --prefix=${PREFIX} ${CONFIGURE_OPTS} ${COMPILER_OPTS} 2>&1 | tee configure.log echo "Running make"