Changeset 21928


Ignore:
Timestamp:
08/09/17 18:25:47 (8 years ago)
Author:
dlcheng
Message:

CHG: Explicitly sourcing emscripten for gsl and triangle before compilation.

Location:
issm/trunk-jpl/externalpackages
Files:
3 edited

Legend:

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

    r21926 r21928  
    1212mv emsdk_portable src
    1313
    14 cd src
     14cd src 
    1515
    1616export CXX=g++
     
    2121./emsdk activate latest
    2222
    23 cd ../
    24 mv src install
    25 cd install
    26 
    27 source ./emsdk_env.sh
     23#Related to moving the install path after installation - However, not safe to install in dir named "install" since a failure would not be noticed by jenkins when triggering
     24#Not reliable - when executed in subshell without sourcing the install file, this has no effect. Safer to explicitly source for each dependent externalpackage.
     25source emsdk_env.sh
  • issm/trunk-jpl/externalpackages/gsl/install-javascript.sh

    r20997 r21928  
    2121export CC=emcc
    2222export CXX=em++
     23#Source emscripten to ensure emcc/em++ compiler are in env
     24source $ISSM_DIR/externalpackages/emscripten/src/emsdk_env.sh
    2325
    2426# Issue with variadic function signatures.
  • issm/trunk-jpl/externalpackages/triangle/install-javascript.sh

    r19699 r21928  
    88#Download from ISSM server
    99$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/triangle.zip' 'triangle.zip'
     10
     11#Source emscripten to ensure emcc/em++ compiler are in env
     12source $ISSM_DIR/externalpackages/emscripten/src/emsdk_env.sh
    1013
    1114#Untar
Note: See TracChangeset for help on using the changeset viewer.