Changeset 22028


Ignore:
Timestamp:
08/30/17 22:25:38 (8 years ago)
Author:
dlcheng
Message:

ADD: ar-lib.patch for windows compilation/linking bug. CHG: Updating autotools/install-win.sh to install m4. Updating jenkins.sh to add windows compilers to path before externalpackages to allow for m4 compilation.

Location:
issm/trunk-jpl
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/autotools/install-win.sh

    r22027 r22028  
    88
    99#install m4
    10 #echo " === INSTALLING M4 =="
    11 #rm -rf src
    12 #$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/m4-1.4.17.tar.gz' 'm4-1.4.17.tar.gz'
    13 #tar -zxvf m4-1.4.17.tar.gz
    14 #mv m4-1.4.17 src
    15 #cd src
    16 #./configure --prefix="$ISSM_DIR/externalpackages/autotools/install"
    17 #make
    18 #make install
    19 #cd ..
     10echo " === INSTALLING M4 =="
     11rm -rf src
     12$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/m4-1.4.17.tar.gz' 'm4-1.4.17.tar.gz'
     13tar -zxvf m4-1.4.17.tar.gz
     14mv m4-1.4.17 src
     15cd src
     16./configure --prefix="$ISSM_DIR/externalpackages/autotools/install"
     17make
     18make install
     19cd ..
    2020
    2121#install autoconf
     
    6464# compiler.
    6565patch ./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.
     70patch ./install/share/automake-1.14/ar-lib < ./patches/ar-lib.patch
  • issm/trunk-jpl/jenkins/jenkins.sh

    r22025 r22028  
    127127echo "<testsuite tests=\"$NUMPACKAGES\">" > $EXTERNAL_TEST_FILE
    128128
    129 # Need a source here for when builds start midway through installation of
    130 # externalpackages.
     129# Need a source here for when builds start midway through installation of externalpackages.
    131130source $ISSM_DIR/etc/environment.sh
     131
     132if [ "$OS" == "win" ]; then
     133        echo " == WINDOWS ENVIRONMENT DETECTED =="
     134        source $ISSM_DIR/externalpackages/windows/windows_environment.sh
     135fi
    132136
    133137EXTERNALPACKAGES_FAILED=0;
     
    183187fi
    184188
    185 
     189# Source here to include any newly installed externalpackages on the path.
    186190source $ISSM_DIR/etc/environment.sh
    187191
     
    199203        source $ISSM_DIR/externalpackages/emscripten/install/emsdk_env.sh
    200204fi
     205
    201206#}}}
    202207#ISSM compilation yes/no                (ISSM_COMPILATION) {{{
Note: See TracChangeset for help on using the changeset viewer.