ICU-8755 add JOPT to configure the parallelism. Also, install headers with 'ln -s' to ease editing of broken installed headers.

X-SVN-Rev: 30479
This commit is contained in:
Steven R. Loomis 2011-08-08 22:46:07 +00:00
parent 900d537065
commit db01e8f1ea

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Exhaust(ive, ing) (Mean, Multi) (Test, Trouble)
# Copyright (c) 2002-2010 IBM All Rights Reserved
# Copyright (c) 2002-2011 IBM All Rights Reserved
#
# Builds ICU a whole lotta times and with different options
@ -16,6 +16,7 @@
#------------------- Find full path names -----------------------
JOPT=-j2
# check for uconfigtest.local
if [ -f ./uconfigtest.local ]
@ -130,10 +131,10 @@ bld()
##*## every line:
##*## . . . 2>&1 | tee -a ./bld.log | sed -e "s/^/${NAME}: /"
cd ${BUILD_DIR}/${NAME}
/usr/bin/time -o ${BUILD_DIR}/times/${NAME}.all make -k -j2 all
/usr/bin/time -o ${BUILD_DIR}/times/${NAME}.install make -k install
/usr/bin/time -o ${BUILD_DIR}/times/${NAME}.all make -k ${JOPT} all
/usr/bin/time -o ${BUILD_DIR}/times/${NAME}.install make -k install INSTALL_DATA='ln -svf '
/usr/bin/time -o ${BUILD_DIR}/times/${NAME}.il make -k install-local
/usr/bin/time -o ${BUILD_DIR}/times/${NAME}.chk make -k -j2 check INTLTEST_OPTS=-w CINTLTST_OPTS=-w
/usr/bin/time -o ${BUILD_DIR}/times/${NAME}.chk make -k ${JOPT} check INTLTEST_OPTS=-w CINTLTST_OPTS=-w
PATH=${BUILD_DIR}/I${NAME}/bin:$PATH make -C ${BUILD_DIR}/${NAME}/test/hdrtst/ check
}