Changeset 25982
- Timestamp:
- 02/05/21 11:35:30 (4 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 1 added
- 1 deleted
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/externalpackages/autotools/install-linux.sh ¶
r25959 r25982 10 10 M4_VER="1.4.18" 11 11 12 PREFIX="${ISSM_DIR}/externalpackages/autotools/install" # Set to location where external package should be installed 13 12 14 ## Environment 13 15 # 14 export PATH="${ ISSM_DIR}/externalpackages/autotools/install/bin:$PATH"16 export PATH="${PREFIX}/bin:${PATH}" 15 17 16 18 # Cleanup 17 rm -rf installsrc18 mkdir install19 rm -rf ${PREFIX} src 20 mkdir -p ${PREFIX} 19 21 20 22 # Install m4 21 echo " === INSTALLING M4 == "23 echo " === INSTALLING M4 ===" 22 24 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/m4-${M4_VER}.tar.gz" "m4-${M4_VER}.tar.gz" 23 25 tar -zxvf m4-${M4_VER}.tar.gz … … 32 34 echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h 33 35 34 ./configure --prefix="${ ISSM_DIR}/externalpackages/autotools/install"36 ./configure --prefix="${PREFIX}" 35 37 if [ $# -eq 0 ]; then 36 38 make … … 43 45 44 46 # Install Autoconf 45 echo " === INSTALLING AUTOCONF == "47 echo " === INSTALLING AUTOCONF ===" 46 48 rm -rf src 47 49 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/autoconf-${AUTOCONF_VER}.tar.gz" "autoconf-${AUTOCONF_VER}.tar.gz" … … 49 51 mv autoconf-${AUTOCONF_VER} src 50 52 cd src 51 ./configure --prefix="${ ISSM_DIR}/externalpackages/autotools/install"53 ./configure --prefix="${PREFIX}" 52 54 if [ $# -eq 0 ]; then 53 55 make … … 58 60 fi 59 61 cd .. 60 61 62 # Install Automake 62 echo " === INSTALLING AUTOMAKE == "63 echo " === INSTALLING AUTOMAKE ===" 63 64 rm -rf src 64 65 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/automake-${AUTOMAKE_VER}.tar.gz" "automake-${AUTOMAKE_VER}.tar.gz" … … 66 67 mv automake-${AUTOMAKE_VER} src 67 68 cd src 68 ./configure --prefix="${ ISSM_DIR}/externalpackages/autotools/install"69 ./configure --prefix="${PREFIX}" 69 70 if [ $# -eq 0 ]; then 70 71 make … … 77 78 78 79 # Install libtool 79 echo " === INSTALLING LIBTOOL == "80 echo " === INSTALLING LIBTOOL ===" 80 81 rm -rf src 81 82 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/libtool-${LIBTOOL_VER}.tar.gz" "libtool-${LIBTOOL_VER}.tar.gz" 82 83 tar -zxvf libtool-${LIBTOOL_VER}.tar.gz 83 rm libtool-${LIBTOOL_VER}.tar.gz84 84 mv libtool-${LIBTOOL_VER} src 85 85 cd src 86 ./configure --prefix="${ ISSM_DIR}/externalpackages/autotools/install"86 ./configure --prefix="${PREFIX}" 87 87 if [ $# -eq 0 ]; then 88 88 make -
TabularUnified issm/trunk-jpl/externalpackages/autotools/install-win.sh ¶
r23435 r25982 2 2 set -eu 3 3 4 5 ## Constants 6 # 4 7 AUTOCONF_VER="2.69" 5 AUTOMAKE_MIN_VER="1.16" 6 AUTOMAKE_BUILD_VER="${AUTOMAKE_MIN_VER}.1" 8 AUTOMAKE_VER="1.16.1" 7 9 LIBTOOL_VER="2.4.2" 8 M4_VER="1.4.1 7"10 M4_VER="1.4.18" 9 11 10 AUTOCONF="autoconf-${AUTOCONF_VER}" 11 AUTOMAKE="automake-${AUTOMAKE_BUILD_VER}" 12 LIBTOOL="libtool-${LIBTOOL_VER}" 13 M4="m4-${M4_VER}" 12 PREFIX="${ISSM_DIR}/externalpackages/autotools/install" # Set to location where external package should be installed 14 13 15 AUTOCONF_TARBALL="${AUTOCONF}.tar.gz" 16 AUTOMAKE_TARBALL="${AUTOMAKE}.tar.gz" 17 LIBTOOL_TARBALL="${LIBTOOL}.tar.gz" 18 M4_TARBALL="${M4}.tar.gz" 14 ## Environment 15 # 16 export PATH="${PREFIX}/bin:${PATH}" 19 17 20 # Clean up existing assets 21 rm -rf install src 22 23 # Set up for installation 24 mkdir install 25 export PATH="$ISSM_DIR/externalpackages/autotools/install/bin:$PATH" 18 # Cleanup 19 rm -rf ${PREFIX} src 20 mkdir -p ${PREFIX} 26 21 27 22 # Install m4 28 echo " === INSTALLING M4 ==" 29 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/${M4_TARBALL}" $M4_TARBALL 30 tar -zxvf $M4_TARBALL 31 rm -f $M4_TARBALL 32 mv $M4 src 23 echo " === INSTALLING M4 ===" 24 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/m4-${M4_VER}.tar.gz" "m4-${M4_VER}.tar.gz" 25 tar -zxvf m4-${M4_VER}.tar.gz 26 mv m4-${M4_VER} src 33 27 cd src 34 ./configure --prefix="$ISSM_DIR/externalpackages/autotools/install" 35 make 36 make install 28 29 ./configure --prefix="${PREFIX}" 30 if [ $# -eq 0 ]; then 31 make 32 make install 33 else 34 make -j $1 35 make -j $1 install 36 fi 37 37 cd .. 38 38 39 # Install autoconf39 # Install Autoconf 40 40 echo " === INSTALLING AUTOCONF ==" 41 41 rm -rf src 42 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/${AUTOCONF_TARBALL}" $AUTOCONF_TARBALL 43 tar -zxvf $AUTOCONF_TARBALL 44 rm -f $AUTOCONF_TARBALL 45 mv $AUTOCONF src 42 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/autoconf-${AUTOCONF_VER}.tar.gz" "autoconf-${AUTOCONF_VER}.tar.gz" 43 tar -zxvf autoconf-${AUTOCONF_VER}.tar.gz 44 mv autoconf-${AUTOCONF_VER} src 46 45 cd src 47 ./configure --prefix="$ISSM_DIR/externalpackages/autotools/install" 48 make 49 make install 46 ./configure --prefix="${PREFIX}" 47 if [ $# -eq 0 ]; then 48 make 49 make install 50 else 51 make -j $1 52 make -j $1 install 53 fi 50 54 cd .. 51 55 52 # Install automake53 echo " === INSTALLING AUTOMAKE == "56 # Install Automake 57 echo " === INSTALLING AUTOMAKE ===" 54 58 rm -rf src 55 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/${AUTOMAKE_TARBALL}" $AUTOMAKE_TARBALL 56 tar -zxvf $AUTOMAKE_TARBALL 57 rm -f $AUTOMAKE_TARBALL 58 mv $AUTOMAKE src 59 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/automake-${AUTOMAKE_VER}.tar.gz" "automake-${AUTOMAKE_VER}.tar.gz" 60 tar -zxvf automake-${AUTOMAKE_VER}.tar.gz 61 mv automake-${AUTOMAKE_VER} src 59 62 cd src 60 ./configure --prefix="$ISSM_DIR/externalpackages/autotools/install" 61 make 62 make install 63 ./configure --prefix="${PREFIX}" 64 if [ $# -eq 0 ]; then 65 make 66 make install 67 else 68 make -j $1 69 make -j $1 install 70 fi 63 71 cd .. 64 72 65 73 # Install libtool 66 echo " === INSTALLING LIBTOOL == "74 echo " === INSTALLING LIBTOOL ===" 67 75 rm -rf src 68 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/${LIBTOOL_TARBALL}" $LIBTOOL_TARBALL 69 tar -zxvf $LIBTOOL_TARBALL 70 rm -f $LIBTOOL_TARBALL 71 mv $LIBTOOL src 76 ${ISSM_DIR}/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/libtool-${LIBTOOL_VER}.tar.gz" "libtool-${LIBTOOL_VER}.tar.gz" 77 tar -zxvf libtool-${LIBTOOL_VER}.tar.gz 78 mv libtool-${LIBTOOL_VER} src 72 79 cd src 73 ./configure --prefix="$ISSM_DIR/externalpackages/autotools/install" 74 make 75 make install 80 ./configure --prefix="${PREFIX}" 81 if [ $# -eq 0 ]; then 82 make 83 make install 84 else 85 make -j $1 86 make -j $1 install 87 fi 76 88 cd .. 77 89 -
TabularUnified issm/trunk-jpl/jenkins/linux64_caladan_ad ¶
r24829 r25982 31 31 #List of external pakages to be installed and their installation scripts 32 32 EXTERNALPACKAGES=" 33 autotools install .sh33 autotools install-linux.sh 34 34 cmake install.sh 35 35 mpich install-3.2-linux64.sh -
TabularUnified issm/trunk-jpl/jenkins/linux64_caladan_ampi ¶
r25801 r25982 40 40 #List of external pakages to be installed and their installation scripts 41 41 EXTERNALPACKAGES=" 42 autotools install .sh42 autotools install-linux.sh 43 43 cmake install.sh 44 44 mpich install-3.2-linux64.sh -
TabularUnified issm/trunk-jpl/jenkins/pine_island-mac-adolc-ampion ¶
r25801 r25982 40 40 # 41 41 EXTERNALPACKAGES=" 42 autotools install .sh42 autotools install-mac.sh 43 43 cmake install.sh 44 44 petsc install-3.12-mac.sh -
TabularUnified issm/trunk-jpl/jenkins/pine_island-mac-basic ¶
r25820 r25982 32 32 # List of external pakages to be installed and their installation scripts 33 33 EXTERNALPACKAGES=" 34 autotools install .sh34 autotools install-mac.sh 35 35 cmake install.sh 36 36 petsc install-3.12-mac.sh -
TabularUnified issm/trunk-jpl/jenkins/pine_island-mac-binaries-matlab ¶
r25860 r25982 42 42 43 43 EXTERNALPACKAGES=" 44 autotools install .sh44 autotools install-mac.sh 45 45 cmake install.sh 46 46 petsc install-3.12-mac-static.sh -
TabularUnified issm/trunk-jpl/jenkins/pine_island-mac-binaries-python ¶
r25881 r25982 40 40 41 41 EXTERNALPACKAGES=" 42 autotools install .sh42 autotools install-mac.sh 43 43 cmake install.sh 44 44 petsc install-3.12-mac-static.sh -
TabularUnified issm/trunk-jpl/jenkins/pine_island-mac-dakota ¶
r25860 r25982 38 38 #List of external pakages to be installed and their installation scripts 39 39 EXTERNALPACKAGES=" 40 autotools install.sh41 cmake 42 petsc 43 gsl 44 boost 45 dakota 46 curl 47 netcdf 48 proj 49 gdal 50 gshhg 51 gmt 52 gmsh 53 triangle 54 chaco 55 m1qn3 56 semic 57 shell2junit 40 autotools install-mac.sh 41 cmake install.sh 42 petsc install-3.12-mac.sh 43 gsl install.sh 44 boost install-1.7-mac.sh 45 dakota install-6.2-mac.sh 46 curl install-7-mac.sh 47 netcdf install-4.7-parallel.sh 48 proj install-6.2.sh 49 gdal install-3-python.sh 50 gshhg install.sh 51 gmt install-6-mac.sh 52 gmsh install-4.sh 53 triangle install-mac.sh 54 chaco install.sh 55 m1qn3 install.sh 56 semic install.sh 57 shell2junit install.sh 58 58 " 59 59 -
TabularUnified issm/trunk-jpl/jenkins/pine_island-mac-examples ¶
r25959 r25982 39 39 40 40 EXTERNALPACKAGES=" 41 autotools install .sh41 autotools install-mac.sh 42 42 cmake install.sh 43 43 petsc install-3.12-mac.sh -
TabularUnified issm/trunk-jpl/jenkins/pine_island-mac-full ¶
r25860 r25982 40 40 41 41 EXTERNALPACKAGES=" 42 autotools install .sh42 autotools install-mac.sh 43 43 cmake install.sh 44 44 petsc install-3.12-mac.sh -
TabularUnified issm/trunk-jpl/jenkins/pine_island-mac-full-valgrind ¶
r25860 r25982 40 40 41 41 EXTERNALPACKAGES=" 42 autotools install .sh42 autotools install-mac.sh 43 43 cmake install.sh 44 44 petsc install-3.12-mac.sh -
TabularUnified issm/trunk-jpl/jenkins/pine_island-mac-python ¶
r25860 r25982 35 35 # List of external pakages to be installed and their installation scripts 36 36 EXTERNALPACKAGES=" 37 autotools install .sh37 autotools install-mac.sh 38 38 cmake install.sh 39 39 petsc install-3.12-mac.sh -
TabularUnified issm/trunk-jpl/jenkins/pine_island-mac-solid_earth ¶
r25963 r25982 38 38 #List of external pakages to be installed and their installation scripts 39 39 EXTERNALPACKAGES=" 40 autotools install.sh41 cmake 42 petsc 43 gsl 44 boost 45 dakota 46 curl 47 netcdf 48 proj 49 gdal 50 gshhg 51 gmt 52 gmsh 53 triangle 54 chaco 55 m1qn3 56 semic 57 shell2junit 40 autotools install-mac.sh 41 cmake install.sh 42 petsc install-3.12-mac.sh 43 gsl install.sh 44 boost install-1.7-mac.sh 45 dakota install-6.2-mac.sh 46 curl install-7-mac.sh 47 netcdf install-4.7-parallel.sh 48 proj install-6.2.sh 49 gdal install-3-python.sh 50 gshhg install.sh 51 gmt install-6-mac.sh 52 gmsh install-4.sh 53 triangle install-mac.sh 54 chaco install.sh 55 m1qn3 install.sh 56 semic install.sh 57 shell2junit install.sh 58 58 " 59 59
Note:
See TracChangeset
for help on using the changeset viewer.