Changeset 24699
- Timestamp:
- 04/07/20 17:27:32 (5 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/boost/install-1.72-linux-static.sh
r24593 r24699 2 2 #set -eu # Do not `run set -eu` because it causes some targets to fail 3 3 4 5 # NOTE:6 # - Stop after bootstrap step and run `b2 --debug-configuration` to figure7 # out which paths Boost is using to include Python. Make sure that each of8 # the listed paths is covered by Python. If not, you must create a symbolic9 # link from $ISSM_DIR/externalpackages/python to the location of the file10 # that Boost is expecting. There is no way to get the Boost to compile with11 # Python otherwise.12 #13 4 14 5 ## Constants … … 18 9 ## Envrionment 19 10 # 20 #export CXXFLAGS='-std=c++98' # Setting CXXFLAGS to deal with C++11 incompatibility with Matlab's Boost 21 #export CXXFLAGS='-std=c++11' 11 export BOOST_ROOT="${ISSM_DIR}/externalpackages/boost" 22 12 23 13 # Download source … … 38 28 cd src 39 29 ./bootstrap.sh \ 40 --prefix="${ISSM_DIR}/externalpackages/boost/install" \ 41 --with-python=python2.7 \ 42 --with-python-root="${ISSM_DIR}/externalpackages/python/install" 30 --prefix="${BOOST_ROOT}/install" \ 31 --with-python=python2.7 43 32 44 33 # Modify project config to enable MPI … … 47 36 # Compile and install 48 37 ./b2 link=static install 38 39 # Remove any dynamic libraries that may have been compiled 40 # 41 # TODO: Reconfigure so that dynamic libraries are not compiled at all 42 # 43 rm -f $(find ${BOOST_ROOT}/install/lib -name *.so*) -
issm/trunk-jpl/externalpackages/dakota/install-6.2-linux-static.sh
r24649 r24699 55 55 -DCMAKE_CXX_FLAGS="-fPIC" \ 56 56 -DCMAKE_Fortran_FLAGS="-fPIC" \ 57 -DBoost_NO_BOOST_CMAKE=TRUE \ 57 58 -DHAVE_ACRO=OFF \ 58 59 -DHAVE_JEGA=OFF \ -
issm/trunk-jpl/jenkins/ross-debian_linux-binaries-with_dakota
r24649 r24699 47 47 cmake install.sh 48 48 petsc install-3.12-linux-static.sh 49 boost install-1. 55-linux-static.sh49 boost install-1.72-linux-static.sh 50 50 dakota install-6.2-linux-static.sh 51 51 triangle install-linux-static.sh -
issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-with_dakota.sh
r24698 r24699 122 122 fi 123 123 124 # Create tarball125 cd ${ISSM_DIR}126 rm -f ${TARBALL}127 svn cleanup --remove-ignored --remove-unversioned test # Clean up test directory (before copying to package)128 echo "Copying assets to package: ${PACKAGE}"129 cp -rf bin examples lib scripts test ${PACKAGE}/130 echo "Cleaning up unneeded/unwanted files"131 python -m compileall ${PACKAGE}/bin # Precompile all Python scripts to bytecode132 rm -f ${PACKAGE}/bin/*.py # Remove all Python scripts133 rm -f ${PACKAGE}/bin/generic_static.* # Remove static versions of generic cluster classes134 rm -f ${PACKAGE}/lib/*.a # Remove static libraries from package135 rm -f ${PACKAGE}/lib/*.la # Remove libtool libraries from package136 echo "Creating tarball: ${TARBALL_NAME}"137 tar -czf ${TARBALL} ${PACKAGE}138 ls -lah ${ISSM_DIR}/${TARBALL}124 # # Create tarball 125 # cd ${ISSM_DIR} 126 # rm -f ${TARBALL} 127 # svn cleanup --remove-ignored --remove-unversioned test # Clean up test directory (before copying to package) 128 # echo "Copying assets to package: ${PACKAGE}" 129 # cp -rf bin examples lib scripts test ${PACKAGE}/ 130 # echo "Cleaning up unneeded/unwanted files" 131 # python -m compileall ${PACKAGE}/bin # Precompile all Python scripts to bytecode 132 # rm -f ${PACKAGE}/bin/*.py # Remove all Python scripts 133 # rm -f ${PACKAGE}/bin/generic_static.* # Remove static versions of generic cluster classes 134 # rm -f ${PACKAGE}/lib/*.a # Remove static libraries from package 135 # rm -f ${PACKAGE}/lib/*.la # Remove libtool libraries from package 136 # echo "Creating tarball: ${TARBALL_NAME}" 137 # tar -czf ${TARBALL} ${PACKAGE} 138 # ls -lah ${ISSM_DIR}/${TARBALL} 139 139 140 echo "Shipping binaries to website"140 # echo "Shipping binaries to website" 141 141 142 # We're using public key authentication method to upload the tarball The143 # following lines check to see if the SSH Agent is running. If not, then it is144 # started and relevant information is forwarded to a script.145 pgrep "ssh-agent" > /dev/null146 if [ $? -ne 0 ]; then147 echo "SSH Agent is not running. Starting it..."148 ssh-agent > ~/.ssh/agent.sh149 else150 echo "SSH Agent is running..."151 fi142 # # We're using public key authentication method to upload the tarball The 143 # # following lines check to see if the SSH Agent is running. If not, then it is 144 # # started and relevant information is forwarded to a script. 145 # pgrep "ssh-agent" > /dev/null 146 # if [ $? -ne 0 ]; then 147 # echo "SSH Agent is not running. Starting it..." 148 # ssh-agent > ~/.ssh/agent.sh 149 # else 150 # echo "SSH Agent is running..." 151 # fi 152 152 153 source ~/.ssh/agent.sh154 ssh-add ~/.ssh/debian_linux-vm_to_ross153 # source ~/.ssh/agent.sh 154 # ssh-add ~/.ssh/debian_linux-vm_to_ross 155 155 156 scp ${TARBALL} ross.ics.uci.edu:/var/www/html/${TARBALL}156 # scp ${TARBALL} ross.ics.uci.edu:/var/www/html/${TARBALL} 157 157 158 if [ $? -ne 0 ]; then159 echo "The upload failed."160 echo "Perhaps the SSH Agent was started by some other means."161 echo "Try killing the agent and running again."162 fi158 # if [ $? -ne 0 ]; then 159 # echo "The upload failed." 160 # echo "Perhaps the SSH Agent was started by some other means." 161 # echo "Try killing the agent and running again." 162 # fi
Note:
See TracChangeset
for help on using the changeset viewer.