Changeset 23381
- Timestamp:
- 10/03/18 11:29:52 (6 years ago)
- Location:
- issm/trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/jenkins/macosx_pine-island_static
r23362 r23381 25 25 --with-fortran-lib="/usr/local/gfortran/lib/libgfortran.a /usr/local/gfortran/lib/libquadmath.a /usr/local/gfortran/lib/gcc/x86_64-apple-darwin14/5.2.0/libgcc.a"' 26 26 27 28 27 #PYTHON and MATLAB testing 29 28 MATLAB_TEST=0 … … 42 41 triangle install-macosx64.sh 43 42 math77 install.sh 44 gshhg install.sh 45 hdf5 install.sh 46 netcdf install.sh 47 gmt install-static.sh 43 gmt install-mac-precompiled.sh 48 44 gmsh install-mac-precompiled.sh 49 45 shell2junit install.sh" -
issm/trunk/packagers/macosx/package.sh
r22788 r23381 1 1 #!/bin/bash 2 2 3 echo "modify generic" 3 TARBALL_NAME='issm-mac-static_build' 4 TARBALL=$TARBALL_NAME.tar.gz 5 6 # Clean up from previous packaging 7 echo "Cleaning up existing assets" 8 cd $ISSM_DIR 9 rm -rf trunk 10 mkdir trunk trunk/externalpackages 11 12 # Add/modify required binaries 4 13 cd $ISSM_DIR/bin 14 15 echo "Modifying generic" 5 16 cat generic_static.m | sed -e "s/generic_static/generic/g" > generic.m 6 echo "move mpiexec to bin" 7 cp ../externalpackages/mpich/install/bin/mpiexec . 8 cp ../externalpackages/mpich/install/bin/hydra_pmi_proxy . 9 echo "move gmsh to bin" 17 18 echo "Moving mpiexec to bin" 19 if [ -f ../externalpackages/mpich/install/bin/mpiexec ]; then 20 cp ../externalpackages/mpich/install/bin/mpiexec . 21 cp ../externalpackages/mpich/install/bin/hydra_pmi_proxy . 22 else 23 echo "mpich not found" 24 fi 25 26 echo "Moving gmsh to bin" 10 27 if [ -f ../externalpackages/gmsh/install/gmsh ]; then 11 28 cp ../externalpackages/gmsh/install/gmsh . … … 14 31 fi 15 32 16 #Check that test101 runs 33 # Copy gmt to trunk 34 # NOTE: The following assumes the precompiled version of gmt 35 echo "Moving gmt to externalpackages" 36 if [ -f $ISSM_DIR/externalpackages/gmt/install/bin/gmt ]; then 37 mkdir $ISSM_DIR/trunk/externalpackages/gmt 38 cp -a $ISSM_DIR/externalpackages/gmt/install/. $ISSM_DIR/trunk/externalpackages/gmt 39 else 40 echo "gmt not found" 41 fi 42 43 # Check that test101 runs 17 44 cd $ISSM_DIR/test/NightlyRun 18 45 rm matlab.log … … 26 53 fi 27 54 28 tarball_name='issm-mac-static_build.tar.gz' 55 echo "Creating tarball: ${TARBALL_NAME}" 56 cd $ISSM_DIR 57 rm -f $TARBALL 58 cp -rf bin lib test examples scripts trunk/ 29 59 30 echo "Cleanup first" 31 cd $ISSM_DIR 32 rm $tarball_name 60 # Create link to gmt from bin 61 if [ -f $ISSM_DIR/trunk/externalpackages/gmt/bin/gmt ]; then 62 ln -s $ISSM_DIR/trunk/externalpackages/gmt/bin/gmt $ISSM_DIR/trunk/bin/gmt 63 fi 33 64 34 echo "Creating tarball: ${tarball_name}" 35 cd $ISSM_DIR 36 rm -rf trunk 37 mkdir trunk 38 cp -rf bin lib test examples scripts trunk/ 39 tar -czf $tarball_name trunk 40 ls -lah $tarball_name 65 tar -czf $TARBALL trunk 66 ls -lah $TARBALL 41 67 42 68 echo "Shipping binaries to website" … … 56 82 ssh-add ~/.ssh/macosx-bins_richese-to-ross 57 83 58 scp $ tarball_name ross.ics.uci.edu:/var/www/html/$tarball_name84 scp $TARBALL ross.ics.uci.edu:/var/www/html/$TARBALL 59 85 60 86 if [ $? -ne 0 ]; then
Note:
See TracChangeset
for help on using the changeset viewer.