Changeset 28113
- Timestamp:
- 02/29/24 11:41:13 (13 months ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 2 deleted
- 9 copied
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/jenkins/mac-silicon-binaries-matlab
r28107 r28113 20 20 --disable-dependency-tracking \ 21 21 --with-matlab-dir=${MATLAB_PATH} \ 22 --with-fortran-lib="/usr/local/Cellar/gcc/13.1.0/lib/gcc/13/libgfortran.a /usr/local/Cellar/gcc/13.1.0/lib/gcc/13/libquadmath.a /usr/local/Cellar/gcc/13.1.0/lib/gcc/13/gcc/x86_64-apple-darwin21/13/libgcc.a" \ 22 --with-python-version=3.9 \ 23 --with-python-dir=/System/Volumes/Data/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9 \ 24 --with-python-numpy-dir=/Library/Python/3.9/site-packages/numpy/core/include/numpy \ 25 --with-fortran-lib="/usr/local/Cellar/gcc/12.2.0/lib/gcc/12/libgfortran.a /usr/local/Cellar/gcc/12.2.0/lib/gcc/12/libquadmath.a /usr/local/Cellar/gcc/12.2.0/lib/gcc/12/gcc/x86_64-apple-darwin21/12/libgcc.a" \ 23 26 --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \ 24 27 --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \ … … 47 50 autotools install-mac.sh 48 51 cmake install.sh 49 petsc install-3.1 4-mac-static.sh52 petsc install-3.17-mac-silicon-static.sh 50 53 gsl install-static.sh 51 54 boost install-1.7-mac-static.sh -
issm/trunk-jpl/jenkins/mac-silicon-binaries-python-3
r28107 r28113 17 17 --enable-standalone-libraries \ 18 18 --disable-dependency-tracking \ 19 --with-matlab-dir=${MATLAB_PATH} \ 19 20 --with-python-version=3.9 \ 20 --with-python-dir=/ Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9 \21 --with-python-dir=/System/Volumes/Data/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9 \ 21 22 --with-python-numpy-dir=/Library/Python/3.9/site-packages/numpy/core/include/numpy \ 22 --with-fortran-lib="/usr/local/Cellar/gcc/1 3.1.0/lib/gcc/13/libgfortran.a /usr/local/Cellar/gcc/13.1.0/lib/gcc/13/libquadmath.a /usr/local/Cellar/gcc/13.1.0/lib/gcc/13/gcc/x86_64-apple-darwin21/13/libgcc.a" \23 --with-fortran-lib="/usr/local/Cellar/gcc/12.2.0/lib/gcc/12/libgfortran.a /usr/local/Cellar/gcc/12.2.0/lib/gcc/12/libquadmath.a /usr/local/Cellar/gcc/12.2.0/lib/gcc/12/gcc/x86_64-apple-darwin21/12/libgcc.a" \ 23 24 --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \ 24 25 --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \ … … 47 48 autotools install-mac.sh 48 49 cmake install.sh 49 petsc install-3.1 4-mac-static.sh50 petsc install-3.17-mac-silicon-static.sh 50 51 gsl install-static.sh 51 52 boost install-1.7-mac-static.sh -
issm/trunk-jpl/packagers/mac/commit_for_signing-issm-mac-binaries.sh
r28108 r28113 2 2 3 3 ################################################################################ 4 # Commits ISSM distributable package with MATLAB API for macOS running on Intel5 # to repository for signing. This repository is polled by a project running on6 # a JPLCybersecurity Jenkins server and performs the actual signing and4 # Commits ISSM distributable package with for macOS running on to repository 5 # for signing. This repository is polled by a project running on a JPL 6 # Cybersecurity Jenkins server and performs the actual signing and 7 7 # notarization. 8 # 9 # NOTE: The following variables *must* be defined in order for this script to 10 # work properly, 11 # 12 # COMPRESSED_PKG 13 # ISSM_BINARIES_REPO_PASS 14 # ISSM_BINARIES_REPO_USER 15 # SIGNED_REPO_COPY 16 # SIGNED_REPO_URL 17 # UNSIGNED_REPO_COPY 18 # UNSIGNED_REPO_URL 8 19 # 9 20 # Options: … … 14 25 # build is aborted to allow for subsequent fresh build. 15 26 # 16 # NOTE:17 # - Assumes that the following constants are defined,18 #19 # COMPRESSED_PKG20 # ISSM_BINARIES_REPO_PASS21 # ISSM_BINARIES_REPO_USER22 # SIGNED_REPO_COPY23 # SIGNED_REPO_URL24 #25 27 # See also: 26 # - packagers/mac/intel/complete-issm-mac-intel-binaries-matlab.sh 27 # - packagers/mac/intel/sign-issm-mac-intel-binaries-matlab.sh 28 # - packagers/mac/<ARCH>/complete-issm-mac-<ARCH>-binaries-<API>.sh 28 29 # 29 30 # TODO: -
issm/trunk-jpl/packagers/mac/complete-issm-mac-intel-binaries-matlab.sh
r28112 r28113 36 36 # Jenkins server. Debugging may be performed locally by running, 37 37 # 38 # packagers/mac/ intel/sign-issm-mac-intel-binaries-matlab.sh38 # packagers/mac/sign-issm-mac-binaries.sh 39 39 # 40 40 # with "AD_IDENTITY", "AD_USERNAME", and "ASC_PROVIDER" hardcoded to Apple 41 41 # Developer credentials (make sure to also set keychain password in 42 # "ALTOOL_PASSWORD"). 42 # "ALTOOL_PASSWORD") and "PKG" and "VARIANT_REPO_SUBPATH" properly set for 43 # the package signing to be tested (should match constants "PKG" and 44 # "REPO_BASE_URL" defined in this script). 43 45 # - Removing stdout/stderr redirections to null device (> /dev/null 2>&1) can 44 46 # help debug potential SVN issues. … … 54 56 # (requires 'Credentials Binding Plugin') with 'Credentials' select menu set 55 57 # to "jenkins/****** (SVN repository for ISSM binaries)". 58 # 59 # TODO: 60 # - Generalize these wrapper scripts even further by defining only constants in 61 # config file (the rest of the script is identical). 56 62 ################################################################################ 57 63 … … 114 120 # Package 115 121 if [ ${package} -eq 1 ]; then 116 ./packagers/mac/intel/package-issm-mac- intel-binaries-matlab.sh $1122 ./packagers/mac/intel/package-issm-mac-binaries-matlab.sh $1 117 123 118 124 if [ $? -ne 0 ]; then … … 126 132 # Commit for signing 127 133 if [ ${sign} -eq 1 ]; then 128 ./packagers/mac/intel/commit_for_signing-issm-mac- intel-binaries-matlab.sh $1134 ./packagers/mac/intel/commit_for_signing-issm-mac-binaries.sh $1 129 135 130 136 if [ $? -ne 0 ]; then -
issm/trunk-jpl/packagers/mac/complete-issm-mac-intel-binaries-python-3.sh
r28112 r28113 36 36 # Jenkins server. Debugging may be performed locally by running, 37 37 # 38 # packagers/mac/ intel/sign-issm-mac-intel-binaries-python-3.sh38 # packagers/mac/sign-issm-mac-binaries.sh 39 39 # 40 40 # with "AD_IDENTITY", "AD_USERNAME", and "ASC_PROVIDER" hardcoded to Apple 41 41 # Developer credentials (make sure to also set keychain password in 42 # "ALTOOL_PASSWORD"). 42 # "ALTOOL_PASSWORD") and "PKG" and "VARIANT_REPO_SUBPATH" properly set for 43 # the package signing to be tested (should match constants "PKG" and 44 # "REPO_BASE_URL" defined in this script). 43 45 # - Removing stdout/stderr redirections to null device (> /dev/null 2>&1) can 44 46 # help debug potential SVN issues. … … 54 56 # (requires 'Credentials Binding Plugin') with 'Credentials' select menu set 55 57 # to "jenkins/****** (SVN repository for ISSM binaries)". 58 # 59 # TODO: 60 # - Generalize these wrapper scripts even further by defining only constants in 61 # config file (the rest of the script is identical). 56 62 ################################################################################ 57 63 … … 113 119 # Package 114 120 if [ ${package} -eq 1 ]; then 115 ./packagers/mac/ intel/package-issm-mac-intel-binaries-python-3.sh $1121 ./packagers/mac/package-issm-mac-binaries-python-3.sh $1 116 122 117 123 if [ $? -ne 0 ]; then … … 124 130 # Commit for signing 125 131 if [ ${sign} -eq 1 ]; then 126 ./packagers/mac/ intel/commit_for_signing-issm-mac-intel-binaries-python-3.sh $1132 ./packagers/mac/commit_for_signing-issm-mac-binaries.sh $1 127 133 128 134 if [ $? -ne 0 ]; then -
issm/trunk-jpl/packagers/mac/complete-issm-mac-silicon-binaries-matlab.sh
r28108 r28113 36 36 # Jenkins server. Debugging may be performed locally by running, 37 37 # 38 # packagers/mac/ intel/sign-issm-mac-intel-binaries-matlab.sh38 # packagers/mac/sign-issm-mac-binaries.sh 39 39 # 40 40 # with "AD_IDENTITY", "AD_USERNAME", and "ASC_PROVIDER" hardcoded to Apple 41 41 # Developer credentials (make sure to also set keychain password in 42 # "ALTOOL_PASSWORD"). 42 # "ALTOOL_PASSWORD") and "PKG" and "VARIANT_REPO_SUBPATH" properly set for 43 # the package signing to be tested (should match constants "PKG" and 44 # "REPO_BASE_URL" defined in this script). 43 45 # - Removing stdout/stderr redirections to null device (> /dev/null 2>&1) can 44 46 # help debug potential SVN issues. … … 54 56 # (requires 'Credentials Binding Plugin') with 'Credentials' select menu set 55 57 # to "jenkins/****** (SVN repository for ISSM binaries)". 58 # 59 # TODO: 60 # - Generalize these wrapper scripts even further by defining only constants in 61 # config file (the rest of the script is identical). 56 62 ################################################################################ 57 63 … … 114 120 # Package 115 121 if [ ${package} -eq 1 ]; then 116 ./packagers/mac/intel/package-issm-mac- intel-binaries-matlab.sh $1122 ./packagers/mac/intel/package-issm-mac-binaries-matlab.sh $1 117 123 118 124 if [ $? -ne 0 ]; then … … 126 132 # Commit for signing 127 133 if [ ${sign} -eq 1 ]; then 128 ./packagers/mac/intel/commit_for_signing-issm-mac- intel-binaries-matlab.sh $1134 ./packagers/mac/intel/commit_for_signing-issm-mac-binaries.sh $1 129 135 130 136 if [ $? -ne 0 ]; then -
issm/trunk-jpl/packagers/mac/complete-issm-mac-silicon-binaries-python-3.sh
r28112 r28113 36 36 # Jenkins server. Debugging may be performed locally by running, 37 37 # 38 # packagers/mac/ intel/sign-issm-mac-intel-binaries-python-3.sh38 # packagers/mac/sign-issm-mac-binaries.sh 39 39 # 40 40 # with "AD_IDENTITY", "AD_USERNAME", and "ASC_PROVIDER" hardcoded to Apple 41 41 # Developer credentials (make sure to also set keychain password in 42 # "ALTOOL_PASSWORD"). 42 # "ALTOOL_PASSWORD") and "PKG" and "VARIANT_REPO_SUBPATH" properly set for 43 # the package signing to be tested (should match constants "PKG" and 44 # "REPO_BASE_URL" defined in this script). 43 45 # - Removing stdout/stderr redirections to null device (> /dev/null 2>&1) can 44 46 # help debug potential SVN issues. … … 54 56 # (requires 'Credentials Binding Plugin') with 'Credentials' select menu set 55 57 # to "jenkins/****** (SVN repository for ISSM binaries)". 58 # 59 # TODO: 60 # - Generalize these wrapper scripts even further by defining only constants in 61 # config file (the rest of the script is identical). 56 62 ################################################################################ 57 63 … … 113 119 # Package 114 120 if [ ${package} -eq 1 ]; then 115 ./packagers/mac/ intel/package-issm-mac-intel-binaries-python-3.sh $1121 ./packagers/mac/package-issm-mac-binaries-python-3.sh $1 116 122 117 123 if [ $? -ne 0 ]; then … … 124 130 # Commit for signing 125 131 if [ ${sign} -eq 1 ]; then 126 ./packagers/mac/ intel/commit_for_signing-issm-mac-intel-binaries-python-3.sh $1132 ./packagers/mac/commit_for_signing-issm-mac-binaries.sh $1 127 133 128 134 if [ $? -ne 0 ]; then -
issm/trunk-jpl/packagers/mac/package-issm-mac-binaries-matlab.sh
r28108 r28113 2 2 3 3 ################################################################################ 4 # Packages and tests ISSM distributable package with MATLAB API for macOS 5 # running on Intel. 4 # Packages and tests ISSM distributable package with MATLAB API for macOS. 6 5 # 7 6 # Options: … … 9 8 # for some reason but build is valid. 10 9 # 11 # NOTE: 12 # - Assumes that the following constants are defined,10 # NOTE: The following variables *must* be defined in order for this script to 11 # work properly, 13 12 # 14 13 # COMPRESSED_PKG … … 17 16 # 18 17 # See also: 19 # - packagers/mac/intel/complete-issm-mac-intel-binaries-matlab.sh 20 # - packagers/mac/intel/sign-issm-mac-intel-binaries-matlab.sh 18 # - packagers/mac/<ARCH>/complete-issm-mac-<ARCH>-binaries-<API>.sh 21 19 ################################################################################ 22 20 -
issm/trunk-jpl/packagers/mac/sign-issm-mac-binaries.sh
r28108 r28113 5 5 # Cybersecurity server for signing macOS applications. Polls SCM of the 6 6 # Subversion repository hosted at 7 # https://issm.ess.uci.edu/svn/issm-binaries/mac/ intel/matlab/unsigned to7 # https://issm.ess.uci.edu/svn/issm-binaries/mac/<ARCH>/<API>[/<VER>]/unsigned to 8 8 # trigger new builds. 9 9 # … … 20 20 # - the 'Repository URL' text field should be set to 21 21 # 22 # https://issm.ess.uci.edu/svn/issm-binaries/mac/intel/matlab/unsigned 22 # https://issm.ess.uci.edu/svn/issm-binaries/mac/<ARCH>/<API>[/<VER>]/unsigned 23 # 24 # where, 25 # 26 # <ARCH> 'intel' or 'silicon' 27 # <API>[/<VER>] 'matlab' or 'python/3' 23 28 # 24 29 # - the 'Credentials' select menu should be set to the new credentials … … 71 76 ## Constants 72 77 # 78 79 ## NOTE: The following need to be set with the proper credentials 80 # 73 81 AD_IDENTITY="**********" # Apple Developer identity 74 82 AD_USERNAME="**********" # Apple Developer username 75 83 ALTOOL_PASSWORD="@keychain:**********" # altool password (assumed to be stored in keychain) 76 84 ASC_PROVIDER="**********" 85 86 ## NOTE: The following need to be set for the particular signing job (see comments for options) 87 # 88 PKG="ISSM-macOS-<ARCH>-<API>[-<VER>]" # <ARCH>: 'Intel' or 'Silicon'; <API>[-<VER>]: 'MATLAB' or 'Python-3' 89 VARIANT_REPO_SUBPATH="<ARCH>/<API>[/<VER>]" # <ARCH>: 'intel' or 'silicon'; <API>[-<VER>]: 'matlab' or 'python/3' 90 77 91 MAX_SVN_ATTEMPTS=10 78 92 NOTARIZATION_CHECK_ATTEMPTS=20 … … 81 95 NOTARIZATION_LOGFILE_PATH="." 82 96 PASSWORD=${ISSM_BINARIES_PASS} 83 PKG="ISSM-macOS-Intel-MATLAB"97 REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries" 84 98 SIGNED_REPO_COPY="./signed" 85 SIGNED_REPO_URL=" https://issm.ess.uci.edu/svn/issm-binaries/mac/intel/matlab/signed"99 SIGNED_REPO_URL="${REPO_URL}/${VARIANT_REPO_SUBPATH}/signed" 86 100 SIGNING_LOCK_FILE="signing.lock" 87 101 SUCCESS_LOGFILE="${SIGNED_REPO_COPY}/success.log" 88 102 UNSIGNED_REPO_COPY="./unsigned" 89 UNSIGNED_REPO_URL=" https://issm.ess.uci.edu/svn/issm-binaries/mac/intel/matlab/unsigned"103 UNSIGNED_REPO_URL="${REPO_URL}/${VARIANT_REPO_SUBPATH}/unsigned" 90 104 USERNAME=${ISSM_BINARIES_USER} 91 105
Note:
See TracChangeset
for help on using the changeset viewer.