Changeset 18424


Ignore:
Timestamp:
08/16/14 20:48:08 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: trying new package script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/packagers/macosx/package.sh

    r18392 r18424  
    11#/bin/bash
     2
     3#Check that test101 runs
     4cd $ISSM_DIR/test/NightlyRun
     5delete matlab.log
     6matlab -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
     8if [[ $(cat matlab.log | grep -c SUCCESS) -lt 10 ]]; then
     9        echo "test101 FAILED"
     10        exit 1;
     11fi
     12
     13exit 0
    214
    315#Package using the Package Maker from OSX, driven by command line.
    416tarball_name='issm-mac-static_build.tar.gz'
    5 
    617cd $ISSM_DIR
    718
    819echo "Cleanup first"
    9  
    1020rm $tarball_name
    1121
     22echo "modify generic"
     23cd $ISSM_DIR/bin
     24cat generic_static.m | sed -e "s/generic_static/generic/g" > generic.m
     25
    1226echo "Creating tarball: ${tarball_name}"
    13 tar -czf $tarball_name ./bin ./lib ./test ./examples
     27tar -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.