Changeset 24239
- Timestamp:
- 10/16/19 23:28:08 (5 years ago)
- 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 2 2 set -eu 3 3 4 export CC=gcc 5 export CXX=g++ 6 7 #Some cleanup 4 # Some cleanup 8 5 rm -rf install 9 6 10 # Download from ISSM server7 # Download source 11 8 $ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://issm.ess.uci.edu/files/externalpackages/emsdk-portable.tar.gz' 'emsdk-portable.tar.gz' 12 9 13 #Untar and move petsc to install directory 14 tar -zxvf emsdk-portable.tar.gz 10 # Untar and move source to install directory 11 tar -zxvf emsdk-portable.tar.gz 12 15 13 mv emsdk_portable install 16 14 17 15 cd install 18 16 17 # Download and install the latest SDK tools 19 18 ./emsdk update 20 ./emsdk install sdk-tag-1.34.12-64bit21 ./emsdk activate sdk-tag-1.34.12-64bit22 19 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 25 26 source emsdk_env.sh
Note:
See TracChangeset
for help on using the changeset viewer.