Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ability to sign the .so files. #1362

Merged
merged 1 commit into from
Nov 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion build_raven
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,15 @@ fi

(cd $RAVEN_BUILD_DIR && ${PYTHON_COMMAND} ./setup.py build_ext build install --install-platlib=./framework/contrib/AMSC)


if [ ! -z "$RAVEN_SIGNATURE" ];
then
#This is to allow the code to be signed on mac os computers.
# It requires a signature (possibly self signed) to be used.
# Creating a signature is discussed at:
# https://developer.apple.com/library/archive/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html
# RAVEN_SIGNATURE can be added to .ravenrc
echo "... Signing code with '$RAVEN_SIGNATURE' ..."
(cd $CROW_DIR/install/crow_modules && pwd && codesign -s "$RAVEN_SIGNATURE" -v *.so)
(cd $RAVEN_BUILD_DIR/framework/contrib/AMSC && pwd && codesign -s "$RAVEN_SIGNATURE" -v *.so)
fi
echo ... done!
1 change: 1 addition & 0 deletions doc/workshop/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ stochasticCollocation/inputs/run/training_data.xml
timeDepDataMining/inputs/basicStatisticsTimeDependent/
timeDepDataMining/inputs/resultsHierarchicalDTW/
timeDepDataMining/inputs/timeSliceKMeans/
forwardSampling/Inputs/test_*.xml
10 changes: 10 additions & 0 deletions scripts/establish_conda_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -470,4 +470,14 @@ fi
# activate environment and write settings if successful
activate_env

if [ -z "$RAVEN_SIGNATURE" ];
then
RAVEN_SIGNATURE=$(read_ravenrc "RAVEN_SIGNATURE")
fi
if [ ! -z "$RAVEN_SIGNATURE" ];
then
if [[ $ECE_VERBOSE == 0 ]]; then echo "... Using '$RAVEN_SIGNATURE' for signing ..."; fi
export RAVEN_SIGNATURE
fi

if [[ $ECE_VERBOSE == 0 ]]; then echo ... done!; fi
12 changes: 12 additions & 0 deletions tests/framework/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,15 @@ unit_tests/utils/parse/fromXmltoGetpot.i
user_guide/EnsembleModel/run_basic/sample/
ROM/TimeSeries/ARMA/ARMAreseed/
ROM/TimeSeries/ARMA/Segmented/arma.pk
ROM/TimeSeries/ARMA/Multicycle/arma.pk
DataObjects/StringIO/sample/
CodeInterfaceTests/RAVEN/Code/sample/
CodeInterfaceTests/Neutrino/Neutrino_Base/sampleNeutrino/[1-3]
CodeInterfaceTests/MOOSEBaseApps/MooseExample18WithGenericFile/myMC/[12]
CodeInterfaceTests/MOOSEBaseApps/MooseExample18OnlyGenericFile/myMC/[12]
CodeInterfaceTests/MOOSEBaseApps/MooseExample18OnlyGenericFile/myMC/ex18.i
CodeInterfaceTests/MOOSEBaseApps/MooseExample18WithGenericFile/myMC/ex18.i
CodeInterfaceTests/MOOSEBaseApps/InputParser/sample/[12]/formattest.i
CodeInterfaceTests/MOOSEBaseApps/InputParser/sample/[12]/out~formattest
CodeInterfaceTests/MOOSEBaseApps/InputParser/sample/formattest.i
hybridModel/logicalCode/logicalModelCode/