Changeset 18392


Ignore:
Timestamp:
08/14/14 16:15:09 (11 years ago)
Author:
glperez
Message:

CHG: Updated OSX packager script.

Location:
issm/trunk-jpl
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/externalpackages/dakota/install-5.3.1-macosx64.sh

    r18304 r18392  
    2525patch $DAK_SRC/cmake/BuildDakotaCustom.cmake configs/5.3.1/BuildDakotaCustom.cmake.mac.patch
    2626patch $DAK_SRC/cmake/DakotaDev.cmake configs/5.3.1/DakotaDev.cmake.patch
    27 patch $DAK_SRC/CMakeLists.txt configs/5.3.1/CMakeLists.txt.patch
    2827
    2928#Apply patches
  • TabularUnified issm/trunk-jpl/externalpackages/mpich/install-3.0-macosx64.sh

    r16610 r18392  
    2020./configure \
    2121        --prefix="$ISSM_DIR/externalpackages/mpich/install" \
    22         --enable-shared
    2322
    2423        #CC=llvm-gcc \
  • TabularUnified issm/trunk-jpl/externalpackages/petsc/install-3.5-macosx64.sh

    r18376 r18392  
    2323        --with-valgrind=0 \
    2424        --with-x=0 \
    25         --with-shared-libraries=1 \
     25        --with-ssl=0 \
     26        --with-shared-libraries=0 \
     27   --download-fblaslapack=1 \
    2628        --download-metis=1 \
    2729        --download-parmetis=1 \
  • TabularUnified issm/trunk-jpl/packagers/macosx/package.sh

    r11592 r18392  
    22
    33#Package using the Package Maker from OSX, driven by command line.
     4tarball_name='issm-mac-static_build.tar.gz'
     5
     6cd $ISSM_DIR
     7
    48echo "Cleanup first"
    5 sudo sh -c "rm -rf ISSM-MacOSX.pkg bin test"
     9 
     10rm $tarball_name
    611
    7 #We need to copy all the relevant files and set the permissions, as PackageMaker
    8 #is not good at that.
    9 echo "Copy bin"
    10 cp -Rf $ISSM_TIER/bin ./
    11 echo "Copy test"
    12 cp -Rf $ISSM_TIER/test ./
    13 cp matlabissm startup.m ./bin
    14 
    15 #Now change group and ownership:
    16 echo "Change group and ownership"
    17 sudo sh -c "chown -R root ./bin && chgrp -R admin ./bin"
    18 sudo sh -c "chown -R root ./test && chgrp -R admin ./test"
    19 
    20 echo "Launch packagemaker"
    21 PackageMaker -d ISSM.pmdoc -o ISSM-MacOSX.pkg
    22 
    23 #cleanup
    24 echo "Final cleanup"
    25 sudo sh -c "rm -rf ./bin && rm -rf ./test"
     12echo "Creating tarball: ${tarball_name}"
     13tar -czf $tarball_name ./bin ./lib ./test ./examples
Note: See TracChangeset for help on using the changeset viewer.