Changeset 24239


Ignore:
Timestamp:
10/16/19 23:28:08 (5 years ago)
Author:
jdquinn
Message:

CHG: Now grabbing latest version of Emscripten; moved Java assets to their own subdirectory

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

Legend:

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

    r23435 r24239  
    22set -eu
    33
    4 export CC=gcc
    5 export CXX=g++
    6 
    7 #Some cleanup
     4# Some cleanup
    85rm -rf install
    96
    10 #Download from ISSM server
     7# Download source
    118$ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://issm.ess.uci.edu/files/externalpackages/emsdk-portable.tar.gz' 'emsdk-portable.tar.gz'
    129
    13 #Untar and move petsc to install directory
    14 tar -zxvf  emsdk-portable.tar.gz
     10# Untar and move source to install directory
     11tar -zxvf emsdk-portable.tar.gz
     12
    1513mv emsdk_portable install
    1614
    1715cd install
    1816
     17# Download and install the latest SDK tools
    1918./emsdk update
    20 ./emsdk install sdk-tag-1.34.12-64bit
    21 ./emsdk activate sdk-tag-1.34.12-64bit
    2219
    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.
     20# Make the "latest" SDK "active" for the current user. (writes ~/.emscripten file)
     21# NOTE: See revision history for version that we used to hard code in.
     22./emsdk install latest
     23./emsdk activate latest
     24
     25# Activate PATH and other environment variables in the current terminal
    2526source emsdk_env.sh
Note: See TracChangeset for help on using the changeset viewer.