Changeset 18424
- Timestamp:
- 08/16/14 20:48:08 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/packagers/macosx/package.sh
r18392 r18424 1 1 #/bin/bash 2 3 #Check that test101 runs 4 cd $ISSM_DIR/test/NightlyRun 5 delete matlab.log 6 matlab -nojvm -nosplash -r "try, addpath $ISSM_DIR/bin $ISSM_DIR/lib; runme('id',101);exit; catch me,fprintf('%s',getReport(me)); exit; end" -logfile matlab.log 7 8 if [[ $(cat matlab.log | grep -c SUCCESS) -lt 10 ]]; then 9 echo "test101 FAILED" 10 exit 1; 11 fi 12 13 exit 0 2 14 3 15 #Package using the Package Maker from OSX, driven by command line. 4 16 tarball_name='issm-mac-static_build.tar.gz' 5 6 17 cd $ISSM_DIR 7 18 8 19 echo "Cleanup first" 9 10 20 rm $tarball_name 11 21 22 echo "modify generic" 23 cd $ISSM_DIR/bin 24 cat generic_static.m | sed -e "s/generic_static/generic/g" > generic.m 25 12 26 echo "Creating tarball: ${tarball_name}" 13 tar -czf $tarball_name ./bin ./lib ./test ./examples 27 tar -czf $tarball_name ./bin ./lib ./test ./examples externalpackages/mpich/install/bin/mpiexec externalpackages/mpich/install/bin/hydra_pmi_proxy
Note:
See TracChangeset
for help on using the changeset viewer.