Fix: Circumvent problems with parallel build.
This commit is contained in:
parent
8d1687e02d
commit
a3a97bf6ec
1 changed files with 6 additions and 7 deletions
|
@ -48,7 +48,8 @@ P=${PACKAGE}-${VERSION}
|
||||||
# CONFIGURE_OPTS=""
|
# CONFIGURE_OPTS=""
|
||||||
#NP=$(cat /proc/cpuinfo | grep processor | wc -l)
|
#NP=$(cat /proc/cpuinfo | grep processor | wc -l)
|
||||||
#MAKEOPTS="-j$NP"
|
#MAKEOPTS="-j$NP"
|
||||||
MAKEOPTS="-j2"
|
# starss has problems when build in parallel
|
||||||
|
MAKEOPTS="-j1"
|
||||||
|
|
||||||
|
|
||||||
# Compiler specifications
|
# Compiler specifications
|
||||||
|
@ -143,17 +144,15 @@ case "${A##*.}" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# TODO add autoreconf
|
|
||||||
# TODO check subdirectory build
|
|
||||||
mkdir ${BUILDDIR}
|
|
||||||
cd ${BUILDDIR}
|
|
||||||
|
|
||||||
cd ${SRCDIR}
|
cd ${SRCDIR}
|
||||||
# updating build tools and environment
|
|
||||||
if [ "$SVN_BUILD" == "yes" ]; then
|
if [ "$SVN_BUILD" == "yes" ]; then
|
||||||
|
# updating build tools and environment
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mkdir ${BUILDDIR} -p
|
||||||
|
cd ${BUILDDIR}
|
||||||
|
|
||||||
echo "Running configure"
|
echo "Running configure"
|
||||||
${SRCDIR}/configure --prefix=${PREFIX} ${CONFIGURE_OPTS} ${COMPILER_OPTS} 2>&1 | tee configure.log
|
${SRCDIR}/configure --prefix=${PREFIX} ${CONFIGURE_OPTS} ${COMPILER_OPTS} 2>&1 | tee configure.log
|
||||||
echo "Running make"
|
echo "Running make"
|
||||||
|
|
Loading…
Reference in a new issue