Changeset 22029
- Timestamp:
- 08/31/17 00:52:19 (8 years ago)
- Location:
- issm/trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/externalpackages/autotools/install-win.sh
r22023 r22029 64 64 # compiler. 65 65 patch ./install/bin/automake < ./patches/automake.patch 66 67 # This patch is for ar-lib, and removes carriage return characters that cause 68 # commands to overwrite themselves and be misinterpreted during linking on 69 # Cygwin Windows. 70 patch ./install/share/automake-1.14/ar-lib < ./patches/ar-lib.patch -
issm/trunk/jenkins/jenkins.sh
r21973 r22029 10 10 #Server URI 11 11 SERVER='https://ross.ics.uci.edu:8080' 12 #SERVER='http://ross.ics.uci.edu:8080' 12 13 13 14 #Get configuration … … 29 30 MATLAB_TEST=0 30 31 PYTHON_TEST=0 32 JAVASCRIPT_TEST=0 31 33 32 34 #source configuration script … … 58 60 #Process html page and get the list of files that has changed (tricky...) 59 61 #cat changes | grep '="The file was modified"' | sed -e 's/.*<\/td><td><a>\(.*\)<\/a><\/td><td>.*/\1/' > $ISSM_DIR/TEMP 60 cat changes | grep 'document_edit' |sed -e 's/document_edit.png/document_edit.png\ 61 /g' | sed -e 's/.*<\/a><\/td><td>\(.*\)<\/td><\/tr>.*/\1/' | grep -v 'document_edit.png' > $ISSM_DIR/TEMP 62 #cat changes | grep 'document_edit' |sed -e 's/document_edit.png/document_edit.png\ 63 #/g' | sed -e 's/.*<\/a><\/td><td>\(.*\)<\/td><\/tr>.*/\1/' | grep -v 'document_edit.png' > $ISSM_DIR/TEMP 64 cat changes | tr " " "\n" | grep trunk | sed -e 's/.*<a>\(.*\)<\/a>.*/\1/' > $ISSM_DIR/TEMP 62 65 63 66 #Print list of files … … 124 127 echo "<testsuite tests=\"$NUMPACKAGES\">" > $EXTERNAL_TEST_FILE 125 128 126 # Need a source here for when builds start midway through installation of 127 # externalpackages. 129 # Need a source here for when builds start midway through installation of externalpackages. 128 130 source $ISSM_DIR/etc/environment.sh 131 132 if [ "$OS" == "win" ]; then 133 echo " == WINDOWS ENVIRONMENT DETECTED ==" 134 source $ISSM_DIR/externalpackages/windows/windows_environment.sh 135 fi 129 136 130 137 EXTERNALPACKAGES_FAILED=0; … … 140 147 141 148 #install if requested or if previous install has not been successful 142 if [ "$ISSM_EXTERNALPACKAGES" == "yes" ] || [ ! -d ./install ] || [ ! "$(ls -A ./install)" ]; then149 if [ "$ISSM_EXTERNALPACKAGES" == "yes" ] || [ ! -d ./install -a ! -d ./install-javascript ] || ([ -d ./install ] && [ ! "$(ls -A ./install)" ]) || ([ -d ./install-javascript ] && [ ! "$(ls -A ./install-javascript)" ]); then 143 150 echo "======================================================"; 144 151 echo " Installing $PACKAGENAME "; … … 146 153 147 154 ./$PACKAGEINST &> compil.log 148 if [ $? -ne 0 ] ; then155 if [ $? -ne 0 ] && [ "$PACKAGENAME" != "boost" ]; then 149 156 echo "======================================================"; 150 157 echo " ERROR: installation of $PACKAGENAME failed "; … … 180 187 fi 181 188 189 # Source here to include any newly installed externalpackages on the path. 182 190 source $ISSM_DIR/etc/environment.sh 183 191 184 if [ "$OS" == "win" ] 185 then 192 if [ "$OS" == "win" ]; then 186 193 echo " == WINDOWS ENVIRONMENT DETECTED ==" 187 194 source $ISSM_DIR/externalpackages/windows/windows_environment.sh 188 195 fi 196 197 #Set CXX/CC flags for JS runs after exnteralpackages to avoid conflicts during their compilation 198 CXX_PREVIOUS=$CXX 199 CC_PREVIOUS=$CC 200 if [ $JAVASCRIPT_TEST -eq 1 ]; then 201 export CXX=em++ 202 export CC=emcc 203 source $ISSM_DIR/externalpackages/emscripten/install/emsdk_env.sh 204 fi 205 189 206 #}}} 190 207 #ISSM compilation yes/no (ISSM_COMPILATION) {{{ … … 200 217 make distclean 201 218 ./scripts/automakererun.sh 219 if [ $? -ne 0 ]; then 220 echo "autoreconf failed!" 221 exit 1 222 fi 202 223 eval "./configure $ISSM_CONFIG" 224 if [ $? -ne 0 ]; then 225 echo "ISSM configuration failed (see options below)" 226 echo $ISSM_CONFIG 227 echo "ISSM configuration failed!" 228 exit 1 229 fi 203 230 fi 204 231 … … 226 253 fi 227 254 #}}} 255 256 #Restore CXX/CC to their previous values 257 export CXX=$CXX_PREVIOUS 258 export CC=$CC_PREVIOUS 228 259 229 260 #matlab tests
Note:
See TracChangeset
for help on using the changeset viewer.