From cf4334ca0734c482e64038ca0003a6b13ff660ee Mon Sep 17 00:00:00 2001 From: "Curtis C. Ober" Date: Fri, 21 Jun 2024 16:43:08 -0600 Subject: [PATCH 01/74] TriBITS: Update License and Copyright Update the License and Copyright files to * Reflect NTESS and new contract * Utilize SPDX identifiers within files * Make copyright and license files consistent across Trilinos packages (i.e., LICENSE and COPYRIGHT) Signed-off-by: Curtis C. Ober --- tribits/COPYRIGHT | 8 +++ tribits/Copyright.txt | 38 ------------- tribits/LICENSE | 29 ++++++++++ tribits/TriBITS.cmake | 38 ++----------- tribits/ci_support/CDashQueryAnalyzeReport.py | 40 ++----------- tribits/ci_support/CheckinTest.py | 38 ++----------- tribits/ci_support/CheckinTestConstants.py | 38 ++----------- .../ci_support/FindGeneralScriptSupport.py | 38 ++----------- tribits/ci_support/TribitsDependencies.py | 38 ++----------- .../ci_support/TribitsDumpDepsXmlScript.cmake | 38 ++----------- .../TribitsGetExtraReposForCheckinTest.cmake | 38 ++----------- .../ci_support/TribitsPackageFilePathUtils.py | 38 ++----------- .../ci_support/TribitsPackageTestNameUtils.py | 38 ++----------- ...ibitsStripCommentsFromCMakeCacheFile.cmake | 38 ++----------- .../TribitsWriteXmlDependenciesFiles.cmake | 38 ++----------- .../ci_support/cdash_analyze_and_report.py | 38 ++----------- .../ci_support/cdash_build_testing_date.py | 38 ++----------- tribits/ci_support/checkin-test.py | 38 ++----------- tribits/ci_support/clone_extra_repos.py | 38 ++----------- tribits/ci_support/dump-package-dep-table.py | 38 ++----------- tribits/ci_support/filter-packages-list.py | 38 ++----------- .../get-tribits-packages-from-files-list.py | 38 ++----------- ...tribits-packages-from-last-tests-failed.py | 38 ++----------- tribits/ci_support/get-tribits-packages.py | 38 ++----------- .../ci_support/is_checkin_tested_commit.py | 38 ++----------- tribits/common_tpls/FindTPLBLAS.cmake | 56 ++----------------- tribits/common_tpls/FindTPLBinUtils.cmake | 56 ++----------------- tribits/common_tpls/FindTPLBoost.cmake | 56 ++----------------- tribits/common_tpls/FindTPLCGNS.cmake | 38 ++----------- tribits/common_tpls/FindTPLLAPACK.cmake | 56 ++----------------- tribits/common_tpls/FindTPLNetcdf.cmake | 38 ++----------- tribits/common_tpls/FindTPLPnetcdf.cmake | 38 ++----------- .../common_tpls/find_modules/FindCGNS.cmake | 38 ++----------- .../common_tpls/find_modules/FindHDF5.cmake | 40 ++----------- .../common_tpls/find_modules/FindNetCDF.cmake | 38 ++----------- .../find_modules/FindPNetCDF.cmake | 38 ++----------- .../utils/AddImportedLibrary.cmake | 38 ++----------- .../utils/AddPackageDependency.cmake | 38 ++----------- .../common_tpls/utils/ParseLibraryList.cmake | 38 ++----------- .../core/common/TribitsCMakePolicies.cmake | 38 ++----------- tribits/core/common/TribitsConstants.cmake | 38 ++----------- tribits/core/config_tests/BLASMangling.cmake | 38 ++----------- tribits/core/config_tests/FiniteValue.cmake | 38 ++----------- .../core/config_tests/FortranMangling.cmake | 38 ++----------- .../core/config_tests/MathLibraryNeeded.cmake | 38 ++----------- .../config_tests/blasmangle/CMakeLists.txt | 39 ------------- .../core/config_tests/fmangle/CMakeLists.txt | 39 ------------- .../TribitsConfigInclude.cmake.in | 39 ++----------- .../TribitsInstallationTestingMacros.cmake | 38 ++----------- .../TribitsPackageConfigTemplate.cmake.in | 38 ++----------- .../TribitsProjectConfigTemplate.cmake.in | 39 ++----------- .../package_arch/TribitsAddExecutable.cmake | 40 ++----------- .../TribitsAddExecutableAndTest.cmake | 38 ++----------- .../core/package_arch/TribitsAddLibrary.cmake | 40 ++----------- .../TribitsAddOptionAndDefine.cmake | 38 ++----------- .../TribitsAdjustPackageEnables.cmake | 40 ++----------- .../package_arch/TribitsBLASMangling.cmake | 38 ++----------- .../TribitsCommonArgsHelpers.cmake | 38 ++----------- .../TribitsConfigureCTestCustom.cmake | 38 ++----------- .../package_arch/TribitsConfigureFile.cmake | 40 ++----------- .../package_arch/TribitsConfigureTiming.cmake | 38 ++----------- .../TribitsCopyFilesToBinaryDir.cmake | 40 ++----------- .../TribitsCreateClientTemplateHeaders.cmake | 38 ++----------- .../TribitsDefineStandardCompileVars.cmake | 38 ++----------- .../core/package_arch/TribitsETISupport.cmake | 38 ++----------- ...hImportedTargetsFindTplModuleHelpers.cmake | 38 ++----------- ...ribitsExternalPackageWriteConfigFile.cmake | 40 ++----------- .../TribitsFindMostRecentFileTimestamp.cmake | 40 ++----------- .../TribitsFindPythonInterp.cmake | 38 ++----------- .../package_arch/TribitsFortranMangling.cmake | 38 ++----------- .../package_arch/TribitsGeneralMacros.cmake | 40 ++----------- .../TribitsGenerateResourceSpecFile.cmake | 38 ++----------- .../TribitsGetPackageEnableStatus.cmake | 38 ++----------- .../TribitsGetPackageSublists.cmake | 40 ++----------- .../package_arch/TribitsGlobalMacros.cmake | 38 ++----------- .../core/package_arch/TribitsHostType.cmake | 38 ++----------- .../TribitsIncludeDirectories.cmake | 38 ++----------- .../package_arch/TribitsInstallHeaders.cmake | 38 ++----------- ...ribitsInternalPackageWriteConfigFile.cmake | 40 ++----------- .../package_arch/TribitsLibIsTestOnly.cmake | 38 ++----------- .../package_arch/TribitsLibraryMacros.cmake | 38 ++----------- .../package_arch/TribitsListHelpers.cmake | 38 ++----------- .../TribitsPackageDefineDependencies.cmake | 40 ++----------- .../TribitsPackageDependencies.cmake | 40 ++----------- .../package_arch/TribitsPackageMacros.cmake | 40 ++----------- .../TribitsPackageSetupCompilerFlags.cmake | 38 ++----------- .../TribitsPackagingSupport.cmake | 38 ++----------- .../TribitsPkgExportCacheVars.cmake | 38 ++----------- .../TribitsPrintDependencyInfo.cmake | 40 ++----------- .../TribitsPrintEnabledPackagesLists.cmake | 38 ++----------- .../TribitsProcessEnabledTpls.cmake | 38 ++----------- .../TribitsProcessExtraRepositoriesList.cmake | 40 ++----------- .../TribitsProcessPackagesAndDirsLists.cmake | 40 ++----------- .../TribitsProcessTplsLists.cmake | 38 ++----------- .../core/package_arch/TribitsProject.cmake | 38 ++----------- .../package_arch/TribitsProjectImpl.cmake | 38 ++----------- .../TribitsProjectWriteConfigFile.cmake | 38 ++----------- ...adAllProjectDepsFilesCreateDepsGraph.cmake | 38 ++----------- .../TribitsReadDepsFilesCreateDepsGraph.cmake | 40 ++----------- .../TribitsReportInvalidTribitsUsage.cmake | 38 ++----------- .../package_arch/TribitsSetAndIncDirs.cmake | 38 ++----------- .../TribitsSetUpEnabledOnlyDependencies.cmake | 38 ++----------- .../TribitsSetupBasicCompileLinkFlags.cmake | 38 ++----------- .../core/package_arch/TribitsSetupMPI.cmake | 38 ++----------- .../TribitsSetupStrongCompileWarnings.cmake | 38 ++----------- .../TribitsSubPackageMacros.cmake | 40 ++----------- .../TribitsTplDeclareLibraries.cmake | 38 ++----------- ...ribitsTplFindIncludeDirsAndLibraries.cmake | 40 ++----------- .../package_arch/TribitsVerbosePrintVar.cmake | 38 ++----------- ...TribitsWritePackageConfigFileHelpers.cmake | 38 ++----------- tribits/core/std_tpls/FindTPLCUDA.cmake | 56 ++----------------- tribits/core/std_tpls/FindTPLMPI.cmake | 38 ++----------- .../test_support/TribitsAddAdvancedTest.cmake | 40 ++----------- .../TribitsAddAdvancedTestHelpers.cmake | 38 ++----------- .../TribitsAddExecutableTestHelpers.cmake | 38 ++----------- .../core/test_support/TribitsAddTest.cmake | 40 ++----------- .../test_support/TribitsAddTestHelpers.cmake | 40 ++----------- .../TribitsSetTribitsPackageName.cmake | 38 ++----------- .../test_support/TribitsTestCategories.cmake | 38 ++----------- tribits/core/utils/AddSubdirectories.cmake | 38 ++----------- tribits/core/utils/AdvancedOption.cmake | 38 ++----------- tribits/core/utils/AdvancedSet.cmake | 38 ++----------- tribits/core/utils/AppendCmndlineArgs.cmake | 38 ++----------- tribits/core/utils/AppendGlob.cmake | 38 ++----------- tribits/core/utils/AppendGlobalSet.cmake | 38 ++----------- tribits/core/utils/AppendSet.cmake | 40 ++----------- tribits/core/utils/AppendStringVar.cmake | 38 ++----------- .../core/utils/AppendStringVarWithSep.cmake | 38 ++----------- .../core/utils/AssertAndTouchDefined.cmake | 38 ++----------- tribits/core/utils/AssertDefined.cmake | 38 ++----------- tribits/core/utils/CMakeBuildTypesList.cmake | 38 ++----------- tribits/core/utils/CombinedOption.cmake | 38 ++----------- tribits/core/utils/ConcatStrings.cmake | 38 ++----------- tribits/core/utils/DriveAdvancedTest.cmake | 38 ++----------- .../utils/DualScopeAppendCmndlineArgs.cmake | 38 ++----------- .../utils/DualScopePrependCmndlineArgs.cmake | 38 ++----------- tribits/core/utils/DualScopeSet.cmake | 38 ++----------- tribits/core/utils/FindListElement.cmake | 38 ++----------- tribits/core/utils/FindProgramPlus.cmake | 38 ++----------- tribits/core/utils/GetCurrentListDir.cmake | 38 ++----------- tribits/core/utils/GetLastDirName.cmake | 38 ++----------- tribits/core/utils/GlobalNullSet.cmake | 40 ++----------- tribits/core/utils/GlobalSet.cmake | 40 ++----------- tribits/core/utils/Join.cmake | 40 ++----------- tribits/core/utils/MessageWrapper.cmake | 38 ++----------- tribits/core/utils/MultilineSet.cmake | 38 ++----------- .../core/utils/ParseVariableArguments.cmake | 40 ++----------- tribits/core/utils/PrependCmndlineArgs.cmake | 38 ++----------- tribits/core/utils/PrependGlobalSet.cmake | 38 ++----------- tribits/core/utils/PrependSet.cmake | 40 ++----------- tribits/core/utils/PrintNonemptyVar.cmake | 38 ++----------- .../utils/PrintNonemptyVarWithSpaces.cmake | 38 ++----------- tribits/core/utils/PrintVar.cmake | 38 ++----------- tribits/core/utils/PrintVarWithSpaces.cmake | 38 ++----------- .../core/utils/RemoveGlobalDuplicates.cmake | 38 ++----------- tribits/core/utils/SetCacheOnOffEmpty.cmake | 38 ++----------- tribits/core/utils/SetDefault.cmake | 38 ++----------- tribits/core/utils/SetDefaultAndFromEnv.cmake | 38 ++----------- tribits/core/utils/SetNotFound.cmake | 38 ++----------- tribits/core/utils/Split.cmake | 38 ++----------- tribits/core/utils/TimingUtils.cmake | 40 ++----------- .../core/utils/TribitsAddEnumCacheVar.cmake | 38 ++----------- .../core/utils/TribitsCreateReverseList.cmake | 38 ++----------- .../core/utils/TribitsDeprecatedHelpers.cmake | 40 ++----------- .../utils/TribitsGatherBuildTargets.cmake | 38 ++----------- .../utils/TribitsGetCategoriesString.cmake | 38 ++----------- .../TribitsGetImportedLocationProperty.cmake | 38 ++----------- .../utils/TribitsGitRepoVersionInfo.cmake | 40 ++----------- .../utils/TribitsParseArgumentsHelpers.cmake | 40 ++----------- tribits/core/utils/TribitsPrintList.cmake | 38 ++----------- .../utils/TribitsSetCacheVarAndDefault.cmake | 38 ++----------- ...TribitsSortListAccordingToMasterList.cmake | 38 ++----------- .../core/utils/TribitsStandardizePaths.cmake | 38 ++----------- tribits/core/utils/UnitTestHelpers.cmake | 40 ++----------- .../TribitsAddDashboardTarget.cmake | 38 ++----------- .../ctest_driver/TribitsCTestDriverCore.cmake | 40 ++----------- .../TribitsCTestDriverCoreHelpers.cmake | 38 ++----------- .../TribitsGetCDashUrlsInsideCTestS.cmake | 40 ++----------- .../ctest_driver/dump-cdash-deps-xml-file.py | 38 ++----------- .../experimental_build_test.cmake | 40 ++----------- tribits/dashboard_driver/CTestCustom.cmake.in | 39 ++----------- .../LocateCTestAndRunScript.cmake | 38 ++----------- .../TribitsDriverCMakeLists.cmake | 38 ++----------- .../TribitsDriverDashboard.cmake | 38 ++----------- .../TribitsDriverSupport.cmake | 38 ++----------- tribits/dashboard_driver/tdd_driver.py | 38 ++----------- .../FindGeneralScriptSupport.py | 38 ++----------- .../devtools_install/InstallProgramDriver.py | 38 ++----------- tribits/devtools_install/install-autoconf.py | 38 ++----------- tribits/devtools_install/install-cmake.py | 38 ++----------- tribits/devtools_install/install-gcc.py | 38 ++----------- tribits/devtools_install/install-git.py | 38 ++----------- tribits/devtools_install/install-mpich.py | 38 ++----------- tribits/devtools_install/install-openmpi.py | 38 ++----------- tribits/devtools_install/install_devtools.py | 38 ++----------- tribits/examples/MockTrilinos/CMakeLists.txt | 38 ------------- .../examples/MockTrilinos/CTestConfig.cmake | 38 ++----------- tribits/examples/MockTrilinos/Copyright.txt | 38 ------------- .../examples/MockTrilinos/ProjectName.cmake | 38 ++----------- .../cmake/CallbackSetupExtraOptions.cmake | 38 ++----------- ...ed_preCopyrightTrilinos_PackagesList.cmake | 38 ++----------- .../cmake/cmake/Dependencies.cmake | 38 ++----------- .../extraRepoOnePackage/TPLsList.cmake | 38 ++----------- .../cmake/Dependencies.cmake | 38 ++----------- .../PackagesList.cmake | 38 ++----------- .../TPLsList.cmake | 38 ++----------- .../cmake/Dependencies.cmake | 38 ++----------- .../sp1/cmake/Dependencies.cmake | 38 ++----------- .../sp2/cmake/Dependencies.cmake | 38 ++----------- .../sp3/cmake/Dependencies.cmake | 38 ++----------- .../extraRepoTwoPackages/PackagesList.cmake | 38 ++----------- .../extraRepoTwoPackages/TPLsList.cmake | 38 ++----------- .../package1/cmake/Dependencies.cmake | 38 ++----------- .../package2/cmake/Dependencies.cmake | 38 ++----------- .../extraTrilinosRepo/PackagesList.cmake | 38 ++----------- .../extrapack/cmake/Dependencies.cmake | 38 ++----------- .../packages/amesos/cmake/Dependencies.cmake | 38 ++----------- .../packages/aztecoo/cmake/Dependencies.cmake | 38 ++----------- .../packages/belos/cmake/Dependencies.cmake | 38 ++----------- .../packages/epetra/cmake/Dependencies.cmake | 38 ++----------- .../epetraext/cmake/Dependencies.cmake | 38 ++----------- .../packages/galeri/cmake/Dependencies.cmake | 38 ++----------- .../packages/ifpack/cmake/Dependencies.cmake | 38 ++----------- .../intrepid/cmake/Dependencies.cmake | 38 ++----------- .../isorropia/cmake/Dependencies.cmake | 38 ++----------- .../packages/ml/cmake/Dependencies.cmake | 38 ++----------- .../packages/phalanx/cmake/Dependencies.cmake | 38 ++----------- .../packages/rbgen/cmake/Dependencies.cmake | 38 ++----------- .../packages/rtop/cmake/Dependencies.cmake | 38 ++----------- .../packages/sacado/cmake/Dependencies.cmake | 38 ++----------- .../packages/shards/cmake/Dependencies.cmake | 38 ++----------- .../packages/stokhos/cmake/Dependencies.cmake | 38 ++----------- .../stratimikos/cmake/Dependencies.cmake | 38 ++----------- .../adapters/epetra/cmake/Dependencies.cmake | 38 ++----------- .../epetraext/cmake/Dependencies.cmake | 38 ++----------- .../adapters/tpetra/cmake/Dependencies.cmake | 38 ++----------- .../packages/thyra/cmake/Dependencies.cmake | 38 ++----------- .../thyra/src/cmake/Dependencies.cmake | 38 ++----------- .../src/crazy_stuff/cmake/Dependencies.cmake | 38 ++----------- .../src/good_stuff/cmake/Dependencies.cmake | 38 ++----------- .../packages/tpetra/cmake/Dependencies.cmake | 38 ++----------- .../triutils/cmake/Dependencies.cmake | 38 ++----------- .../packages/zoltan/cmake/Dependencies.cmake | 38 ++----------- .../preCopyrightTrilinos/PackagesList.cmake | 38 ++----------- .../preCopyrightTrilinos/TPLsList.cmake | 38 ++----------- .../stalix/cmake/Dependencies.cmake | 38 ++----------- .../teko/cmake/Dependencies.cmake | 38 ++----------- .../ReducedMockTrilinos/ProjectName.cmake | 38 ++----------- .../TribitsExampleProject/Copyright.txt | 38 ------------- tribits/python_utils/CMakeBinaries.py | 38 ++----------- tribits/python_utils/CMakeVersions.py | 39 ++----------- tribits/python_utils/GeneralScriptSupport.py | 38 ++----------- tribits/python_utils/SnapshotDir.py | 38 ++----------- tribits/python_utils/download-cmake.py | 38 ++----------- tribits/python_utils/extract_rst_cmake_doc.py | 38 ++----------- tribits/python_utils/generic-looping-demon.py | 38 ++----------- tribits/python_utils/mailmsg.py | 38 ++----------- tribits/python_utils/mockprogram.py | 38 ++----------- tribits/python_utils/snapshot-dir.py | 38 ++----------- tribits/win_interface/include/gettimeofday.c | 23 +++++--- tribits/win_interface/include/strings.h | 11 +++- tribits/win_interface/include/winmath.h | 13 ++++- tribits/win_interface/include/winprocess.h | 11 +++- 263 files changed, 1132 insertions(+), 8901 deletions(-) create mode 100644 tribits/COPYRIGHT delete mode 100644 tribits/Copyright.txt create mode 100644 tribits/LICENSE delete mode 100644 tribits/examples/MockTrilinos/Copyright.txt delete mode 100644 tribits/examples/TribitsExampleProject/Copyright.txt diff --git a/tribits/COPYRIGHT b/tribits/COPYRIGHT new file mode 100644 index 000000000..0113c98fa --- /dev/null +++ b/tribits/COPYRIGHT @@ -0,0 +1,8 @@ + TriBITS: Tribal Build, Integrate, and Test System + Copyright (c) 2013 NTESS + +Copyright 2013 National Technology & Engineering Solutions of Sandia, +LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the +U.S. Government retains certain rights in this software. + +Copyright the TriBITS contributors. diff --git a/tribits/Copyright.txt b/tribits/Copyright.txt deleted file mode 100644 index 70962ece0..000000000 --- a/tribits/Copyright.txt +++ /dev/null @@ -1,38 +0,0 @@ -# @HEADER -# ************************************************************************ -# -# TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ -# @HEADER diff --git a/tribits/LICENSE b/tribits/LICENSE new file mode 100644 index 000000000..107d3f0d3 --- /dev/null +++ b/tribits/LICENSE @@ -0,0 +1,29 @@ +Copyright (c) 2013 NTESS and the TriBITS contributors. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + 3. Neither the name of the copyright holder nor the names of + its contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. diff --git a/tribits/TriBITS.cmake b/tribits/TriBITS.cmake index cc85eca0f..f0bfd9aad 100644 --- a/tribits/TriBITS.cmake +++ b/tribits/TriBITS.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # Top-level include file that pulls in TriBITS so it can be used by a project. diff --git a/tribits/ci_support/CDashQueryAnalyzeReport.py b/tribits/ci_support/CDashQueryAnalyzeReport.py index c5cc46b7e..05237acc9 100644 --- a/tribits/ci_support/CDashQueryAnalyzeReport.py +++ b/tribits/ci_support/CDashQueryAnalyzeReport.py @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER try: diff --git a/tribits/ci_support/CheckinTest.py b/tribits/ci_support/CheckinTest.py index 1b330c30c..a5bbfd15c 100644 --- a/tribits/ci_support/CheckinTest.py +++ b/tribits/ci_support/CheckinTest.py @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/ci_support/CheckinTestConstants.py b/tribits/ci_support/CheckinTestConstants.py index 2213ba298..0070f2abf 100644 --- a/tribits/ci_support/CheckinTestConstants.py +++ b/tribits/ci_support/CheckinTestConstants.py @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # Set the official eg/git versions! diff --git a/tribits/ci_support/FindGeneralScriptSupport.py b/tribits/ci_support/FindGeneralScriptSupport.py index a6f8ba56c..4557a8085 100644 --- a/tribits/ci_support/FindGeneralScriptSupport.py +++ b/tribits/ci_support/FindGeneralScriptSupport.py @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER import os diff --git a/tribits/ci_support/TribitsDependencies.py b/tribits/ci_support/TribitsDependencies.py index f6ff47b6c..fae95321a 100644 --- a/tribits/ci_support/TribitsDependencies.py +++ b/tribits/ci_support/TribitsDependencies.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/ci_support/TribitsDumpDepsXmlScript.cmake b/tribits/ci_support/TribitsDumpDepsXmlScript.cmake index 2d13260c0..34b9bdafb 100644 --- a/tribits/ci_support/TribitsDumpDepsXmlScript.cmake +++ b/tribits/ci_support/TribitsDumpDepsXmlScript.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # diff --git a/tribits/ci_support/TribitsGetExtraReposForCheckinTest.cmake b/tribits/ci_support/TribitsGetExtraReposForCheckinTest.cmake index 36853a8d9..f3c8bac27 100644 --- a/tribits/ci_support/TribitsGetExtraReposForCheckinTest.cmake +++ b/tribits/ci_support/TribitsGetExtraReposForCheckinTest.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # diff --git a/tribits/ci_support/TribitsPackageFilePathUtils.py b/tribits/ci_support/TribitsPackageFilePathUtils.py index e2a662ab4..0d1f7d101 100644 --- a/tribits/ci_support/TribitsPackageFilePathUtils.py +++ b/tribits/ci_support/TribitsPackageFilePathUtils.py @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/ci_support/TribitsPackageTestNameUtils.py b/tribits/ci_support/TribitsPackageTestNameUtils.py index f0f29a2c5..8d220572d 100644 --- a/tribits/ci_support/TribitsPackageTestNameUtils.py +++ b/tribits/ci_support/TribitsPackageTestNameUtils.py @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/ci_support/TribitsStripCommentsFromCMakeCacheFile.cmake b/tribits/ci_support/TribitsStripCommentsFromCMakeCacheFile.cmake index 4395b543a..cd62dca13 100644 --- a/tribits/ci_support/TribitsStripCommentsFromCMakeCacheFile.cmake +++ b/tribits/ci_support/TribitsStripCommentsFromCMakeCacheFile.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/ci_support/TribitsWriteXmlDependenciesFiles.cmake b/tribits/ci_support/TribitsWriteXmlDependenciesFiles.cmake index 0173750f1..75b0a0276 100644 --- a/tribits/ci_support/TribitsWriteXmlDependenciesFiles.cmake +++ b/tribits/ci_support/TribitsWriteXmlDependenciesFiles.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/ci_support/cdash_analyze_and_report.py b/tribits/ci_support/cdash_analyze_and_report.py index 201502a9e..6062f4526 100755 --- a/tribits/ci_support/cdash_analyze_and_report.py +++ b/tribits/ci_support/cdash_analyze_and_report.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER import sys diff --git a/tribits/ci_support/cdash_build_testing_date.py b/tribits/ci_support/cdash_build_testing_date.py index 0405de3f7..1791e68da 100755 --- a/tribits/ci_support/cdash_build_testing_date.py +++ b/tribits/ci_support/cdash_build_testing_date.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER import datetime diff --git a/tribits/ci_support/checkin-test.py b/tribits/ci_support/checkin-test.py index 5f50525a4..b7132ea32 100755 --- a/tribits/ci_support/checkin-test.py +++ b/tribits/ci_support/checkin-test.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # diff --git a/tribits/ci_support/clone_extra_repos.py b/tribits/ci_support/clone_extra_repos.py index baf09359b..0b7d457c6 100755 --- a/tribits/ci_support/clone_extra_repos.py +++ b/tribits/ci_support/clone_extra_repos.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER from CheckinTestConstants import * diff --git a/tribits/ci_support/dump-package-dep-table.py b/tribits/ci_support/dump-package-dep-table.py index fdcb14553..7bfe11fe3 100755 --- a/tribits/ci_support/dump-package-dep-table.py +++ b/tribits/ci_support/dump-package-dep-table.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/ci_support/filter-packages-list.py b/tribits/ci_support/filter-packages-list.py index 84088153d..6bb1f7fea 100755 --- a/tribits/ci_support/filter-packages-list.py +++ b/tribits/ci_support/filter-packages-list.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER from TribitsPackageFilePathUtils import * diff --git a/tribits/ci_support/get-tribits-packages-from-files-list.py b/tribits/ci_support/get-tribits-packages-from-files-list.py index 2e799867a..342f95cdb 100755 --- a/tribits/ci_support/get-tribits-packages-from-files-list.py +++ b/tribits/ci_support/get-tribits-packages-from-files-list.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER from FindGeneralScriptSupport import * diff --git a/tribits/ci_support/get-tribits-packages-from-last-tests-failed.py b/tribits/ci_support/get-tribits-packages-from-last-tests-failed.py index ad5593809..3f322e1c5 100755 --- a/tribits/ci_support/get-tribits-packages-from-last-tests-failed.py +++ b/tribits/ci_support/get-tribits-packages-from-last-tests-failed.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER from TribitsPackageTestNameUtils import * diff --git a/tribits/ci_support/get-tribits-packages.py b/tribits/ci_support/get-tribits-packages.py index 6408c1be4..1f5c0e8b7 100755 --- a/tribits/ci_support/get-tribits-packages.py +++ b/tribits/ci_support/get-tribits-packages.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER from FindGeneralScriptSupport import * diff --git a/tribits/ci_support/is_checkin_tested_commit.py b/tribits/ci_support/is_checkin_tested_commit.py index 6d195e277..19a68702e 100755 --- a/tribits/ci_support/is_checkin_tested_commit.py +++ b/tribits/ci_support/is_checkin_tested_commit.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # diff --git a/tribits/common_tpls/FindTPLBLAS.cmake b/tribits/common_tpls/FindTPLBLAS.cmake index 78ba32715..1ebe176a8 100644 --- a/tribits/common_tpls/FindTPLBLAS.cmake +++ b/tribits/common_tpls/FindTPLBLAS.cmake @@ -1,56 +1,10 @@ # @HEADER -# ************************************************************************ +# ***************************************************************************** +# Trilinos: An Object-Oriented Solver Framework # -# Trilinos: An Object-Oriented Solver Framework -# Copyright (2001) Sandia Corporation -# -# -# Copyright (2001) Sandia Corporation. Under the terms of Contract -# DE-AC04-94AL85000, there is a non-exclusive license for use of this -# work by or on behalf of the U.S. Government. Export of this program -# may require a license from the United States Government. -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# NOTICE: The United States Government is granted for itself and others -# acting on its behalf a paid-up, nonexclusive, irrevocable worldwide -# license in this data to reproduce, prepare derivative works, and -# perform publicly and display publicly. Beginning five (5) years from -# July 25, 2001, the United States Government is granted for itself and -# others acting on its behalf a paid-up, nonexclusive, irrevocable -# worldwide license in this data to reproduce, prepare derivative works, -# distribute copies to the public, perform publicly and display -# publicly, and to permit others to do so. -# -# NEITHER THE UNITED STATES GOVERNMENT, NOR THE UNITED STATES DEPARTMENT -# OF ENERGY, NOR SANDIA CORPORATION, NOR ANY OF THEIR EMPLOYEES, MAKES -# ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY LEGAL LIABILITY OR -# RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF ANY -# INFORMATION, APPARATUS, PRODUCT, OR PROCESS DISCLOSED, OR REPRESENTS -# THAT ITS USE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS. -# -# ************************************************************************ +# Copyright 2001-2024 NTESS and the Trilinos contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/common_tpls/FindTPLBinUtils.cmake b/tribits/common_tpls/FindTPLBinUtils.cmake index db087d783..bb948ce7e 100644 --- a/tribits/common_tpls/FindTPLBinUtils.cmake +++ b/tribits/common_tpls/FindTPLBinUtils.cmake @@ -1,56 +1,10 @@ # @HEADER -# ************************************************************************ +# ***************************************************************************** +# Trilinos: An Object-Oriented Solver Framework # -# Trilinos: An Object-Oriented Solver Framework -# Copyright (2001) Sandia Corporation -# -# -# Copyright (2001) Sandia Corporation. Under the terms of Contract -# DE-AC04-94AL85000, there is a non-exclusive license for use of this -# work by or on behalf of the U.S. Government. Export of this program -# may require a license from the United States Government. -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# NOTICE: The United States Government is granted for itself and others -# acting on its behalf a paid-up, nonexclusive, irrevocable worldwide -# license in this data to reproduce, prepare derivative works, and -# perform publicly and display publicly. Beginning five (5) years from -# July 25, 2001, the United States Government is granted for itself and -# others acting on its behalf a paid-up, nonexclusive, irrevocable -# worldwide license in this data to reproduce, prepare derivative works, -# distribute copies to the public, perform publicly and display -# publicly, and to permit others to do so. -# -# NEITHER THE UNITED STATES GOVERNMENT, NOR THE UNITED STATES DEPARTMENT -# OF ENERGY, NOR SANDIA CORPORATION, NOR ANY OF THEIR EMPLOYEES, MAKES -# ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY LEGAL LIABILITY OR -# RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF ANY -# INFORMATION, APPARATUS, PRODUCT, OR PROCESS DISCLOSED, OR REPRESENTS -# THAT ITS USE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS. -# -# ************************************************************************ +# Copyright 2001-2024 NTESS and the Trilinos contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/common_tpls/FindTPLBoost.cmake b/tribits/common_tpls/FindTPLBoost.cmake index 88200a21c..26fcc8976 100644 --- a/tribits/common_tpls/FindTPLBoost.cmake +++ b/tribits/common_tpls/FindTPLBoost.cmake @@ -1,56 +1,10 @@ # @HEADER -# ************************************************************************ +# ***************************************************************************** +# Trilinos: An Object-Oriented Solver Framework # -# Trilinos: An Object-Oriented Solver Framework -# Copyright (2001) Sandia Corporation -# -# -# Copyright (2001) Sandia Corporation. Under the terms of Contract -# DE-AC04-94AL85000, there is a non-exclusive license for use of this -# work by or on behalf of the U.S. Government. Export of this program -# may require a license from the United States Government. -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# NOTICE: The United States Government is granted for itself and others -# acting on its behalf a paid-up, nonexclusive, irrevocable worldwide -# license in this data to reproduce, prepare derivative works, and -# perform publicly and display publicly. Beginning five (5) years from -# July 25, 2001, the United States Government is granted for itself and -# others acting on its behalf a paid-up, nonexclusive, irrevocable -# worldwide license in this data to reproduce, prepare derivative works, -# distribute copies to the public, perform publicly and display -# publicly, and to permit others to do so. -# -# NEITHER THE UNITED STATES GOVERNMENT, NOR THE UNITED STATES DEPARTMENT -# OF ENERGY, NOR SANDIA CORPORATION, NOR ANY OF THEIR EMPLOYEES, MAKES -# ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY LEGAL LIABILITY OR -# RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF ANY -# INFORMATION, APPARATUS, PRODUCT, OR PROCESS DISCLOSED, OR REPRESENTS -# THAT ITS USE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS. -# -# ************************************************************************ +# Copyright 2001-2024 NTESS and the Trilinos contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/common_tpls/FindTPLCGNS.cmake b/tribits/common_tpls/FindTPLCGNS.cmake index 76fc40502..24259b7dd 100644 --- a/tribits/common_tpls/FindTPLCGNS.cmake +++ b/tribits/common_tpls/FindTPLCGNS.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2016 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # diff --git a/tribits/common_tpls/FindTPLLAPACK.cmake b/tribits/common_tpls/FindTPLLAPACK.cmake index 5e8d97242..9874532fe 100644 --- a/tribits/common_tpls/FindTPLLAPACK.cmake +++ b/tribits/common_tpls/FindTPLLAPACK.cmake @@ -1,56 +1,10 @@ # @HEADER -# ************************************************************************ +# ***************************************************************************** +# Trilinos: An Object-Oriented Solver Framework # -# Trilinos: An Object-Oriented Solver Framework -# Copyright (2001) Sandia Corporation -# -# -# Copyright (2001) Sandia Corporation. Under the terms of Contract -# DE-AC04-94AL85000, there is a non-exclusive license for use of this -# work by or on behalf of the U.S. Government. Export of this program -# may require a license from the United States Government. -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# NOTICE: The United States Government is granted for itself and others -# acting on its behalf a paid-up, nonexclusive, irrevocable worldwide -# license in this data to reproduce, prepare derivative works, and -# perform publicly and display publicly. Beginning five (5) years from -# July 25, 2001, the United States Government is granted for itself and -# others acting on its behalf a paid-up, nonexclusive, irrevocable -# worldwide license in this data to reproduce, prepare derivative works, -# distribute copies to the public, perform publicly and display -# publicly, and to permit others to do so. -# -# NEITHER THE UNITED STATES GOVERNMENT, NOR THE UNITED STATES DEPARTMENT -# OF ENERGY, NOR SANDIA CORPORATION, NOR ANY OF THEIR EMPLOYEES, MAKES -# ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY LEGAL LIABILITY OR -# RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF ANY -# INFORMATION, APPARATUS, PRODUCT, OR PROCESS DISCLOSED, OR REPRESENTS -# THAT ITS USE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS. -# -# ************************************************************************ +# Copyright 2001-2024 NTESS and the Trilinos contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # diff --git a/tribits/common_tpls/FindTPLNetcdf.cmake b/tribits/common_tpls/FindTPLNetcdf.cmake index d025130f7..9c53893d2 100644 --- a/tribits/common_tpls/FindTPLNetcdf.cmake +++ b/tribits/common_tpls/FindTPLNetcdf.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2016 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER cmake_policy(SET CMP0074 NEW) diff --git a/tribits/common_tpls/FindTPLPnetcdf.cmake b/tribits/common_tpls/FindTPLPnetcdf.cmake index 042548765..9ab4fcd39 100644 --- a/tribits/common_tpls/FindTPLPnetcdf.cmake +++ b/tribits/common_tpls/FindTPLPnetcdf.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2016 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_tpl_find_include_dirs_and_libraries( Pnetcdf diff --git a/tribits/common_tpls/find_modules/FindCGNS.cmake b/tribits/common_tpls/find_modules/FindCGNS.cmake index b6ee0a233..563d17053 100644 --- a/tribits/common_tpls/find_modules/FindCGNS.cmake +++ b/tribits/common_tpls/find_modules/FindCGNS.cmake @@ -1,41 +1,11 @@ # -*- mode: cmake -*- # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2016 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # # Based on the MSTK CGNS Find Module diff --git a/tribits/common_tpls/find_modules/FindHDF5.cmake b/tribits/common_tpls/find_modules/FindHDF5.cmake index 1ec935410..afec84b80 100644 --- a/tribits/common_tpls/find_modules/FindHDF5.cmake +++ b/tribits/common_tpls/find_modules/FindHDF5.cmake @@ -19,43 +19,13 @@ # system developers # # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2016 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. # -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ -# @HEADER# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** +# @HEADER # CMake includes include(FindPackageHandleStandardArgs) diff --git a/tribits/common_tpls/find_modules/FindNetCDF.cmake b/tribits/common_tpls/find_modules/FindNetCDF.cmake index 1e97c3e23..ea4610b64 100644 --- a/tribits/common_tpls/find_modules/FindNetCDF.cmake +++ b/tribits/common_tpls/find_modules/FindNetCDF.cmake @@ -1,41 +1,11 @@ # -*- mode: cmake -*- # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2016 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # # Based on the MSTK NetCDF Find Module which is from Amanzi open diff --git a/tribits/common_tpls/find_modules/FindPNetCDF.cmake b/tribits/common_tpls/find_modules/FindPNetCDF.cmake index 6d72637aa..e9dee485d 100644 --- a/tribits/common_tpls/find_modules/FindPNetCDF.cmake +++ b/tribits/common_tpls/find_modules/FindPNetCDF.cmake @@ -1,41 +1,11 @@ # -*- mode: cmake -*- # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2016 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # # Based on the MSTK PNetCDF Find Module diff --git a/tribits/common_tpls/utils/AddImportedLibrary.cmake b/tribits/common_tpls/utils/AddImportedLibrary.cmake index 2c6ce6694..b8509b329 100644 --- a/tribits/common_tpls/utils/AddImportedLibrary.cmake +++ b/tribits/common_tpls/utils/AddImportedLibrary.cmake @@ -1,41 +1,11 @@ # -*- mode: cmake -*- # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2016 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # # Based on version from MSTK project which has the following: diff --git a/tribits/common_tpls/utils/AddPackageDependency.cmake b/tribits/common_tpls/utils/AddPackageDependency.cmake index 2a9e4e64c..bfe82480d 100644 --- a/tribits/common_tpls/utils/AddPackageDependency.cmake +++ b/tribits/common_tpls/utils/AddPackageDependency.cmake @@ -1,41 +1,11 @@ # -*- mode: cmake -*- # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2016 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # # Based on version from MSTK which is from Amanzi open source code - diff --git a/tribits/common_tpls/utils/ParseLibraryList.cmake b/tribits/common_tpls/utils/ParseLibraryList.cmake index 74affbecc..1a162f7c5 100644 --- a/tribits/common_tpls/utils/ParseLibraryList.cmake +++ b/tribits/common_tpls/utils/ParseLibraryList.cmake @@ -1,41 +1,11 @@ # -*- mode: cmake -*- # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2016 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # # Modified version from MSTK which was originally based on Amanzi open diff --git a/tribits/core/common/TribitsCMakePolicies.cmake b/tribits/core/common/TribitsCMakePolicies.cmake index eb67ee9d1..f35ffe7fe 100644 --- a/tribits/core/common/TribitsCMakePolicies.cmake +++ b/tribits/core/common/TribitsCMakePolicies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # Define policies for CMake diff --git a/tribits/core/common/TribitsConstants.cmake b/tribits/core/common/TribitsConstants.cmake index b26d497c5..8c5906c78 100644 --- a/tribits/core/common/TribitsConstants.cmake +++ b/tribits/core/common/TribitsConstants.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # Define the TriBITS minimum required CMake version diff --git a/tribits/core/config_tests/BLASMangling.cmake b/tribits/core/config_tests/BLASMangling.cmake index a14c043a7..df945b34c 100644 --- a/tribits/core/config_tests/BLASMangling.cmake +++ b/tribits/core/config_tests/BLASMangling.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # Function that defines variables describing the BLAS name mangling convention diff --git a/tribits/core/config_tests/FiniteValue.cmake b/tribits/core/config_tests/FiniteValue.cmake index 42d761e70..205e9647a 100644 --- a/tribits/core/config_tests/FiniteValue.cmake +++ b/tribits/core/config_tests/FiniteValue.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # Checks for the isnan() and isinf() functions needed by Trilinos. diff --git a/tribits/core/config_tests/FortranMangling.cmake b/tribits/core/config_tests/FortranMangling.cmake index 6b0d92aab..148b84b1e 100644 --- a/tribits/core/config_tests/FortranMangling.cmake +++ b/tribits/core/config_tests/FortranMangling.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(GlobalSet) diff --git a/tribits/core/config_tests/MathLibraryNeeded.cmake b/tribits/core/config_tests/MathLibraryNeeded.cmake index 685dc9a62..95cd63c60 100644 --- a/tribits/core/config_tests/MathLibraryNeeded.cmake +++ b/tribits/core/config_tests/MathLibraryNeeded.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/config_tests/blasmangle/CMakeLists.txt b/tribits/core/config_tests/blasmangle/CMakeLists.txt index 44d3db5d5..ec04ce954 100644 --- a/tribits/core/config_tests/blasmangle/CMakeLists.txt +++ b/tribits/core/config_tests/blasmangle/CMakeLists.txt @@ -1,42 +1,3 @@ -# @HEADER -# ************************************************************************ -# -# TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ -# @HEADER - cmake_minimum_required(VERSION 2.6) project(blasmangle C) set(CMAKE_VERBOSE_MAKEFILE ON) diff --git a/tribits/core/config_tests/fmangle/CMakeLists.txt b/tribits/core/config_tests/fmangle/CMakeLists.txt index 2112fa58a..ce67d3a52 100644 --- a/tribits/core/config_tests/fmangle/CMakeLists.txt +++ b/tribits/core/config_tests/fmangle/CMakeLists.txt @@ -1,42 +1,3 @@ -# @HEADER -# ************************************************************************ -# -# TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ -# @HEADER - cmake_minimum_required(VERSION 3.23) project(fmangle C Fortran) add_definitions(${COMMON_DEFS}) diff --git a/tribits/core/installation/TribitsConfigInclude.cmake.in b/tribits/core/installation/TribitsConfigInclude.cmake.in index 37c829025..5e0ebffce 100644 --- a/tribits/core/installation/TribitsConfigInclude.cmake.in +++ b/tribits/core/installation/TribitsConfigInclude.cmake.in @@ -1,41 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER get_filename_component(_@PROJECT_NAME@_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) diff --git a/tribits/core/installation/TribitsInstallationTestingMacros.cmake b/tribits/core/installation/TribitsInstallationTestingMacros.cmake index edd10e887..dedaf8779 100644 --- a/tribits/core/installation/TribitsInstallationTestingMacros.cmake +++ b/tribits/core/installation/TribitsInstallationTestingMacros.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/installation/TribitsPackageConfigTemplate.cmake.in b/tribits/core/installation/TribitsPackageConfigTemplate.cmake.in index 499d5352e..40124b01b 100644 --- a/tribits/core/installation/TribitsPackageConfigTemplate.cmake.in +++ b/tribits/core/installation/TribitsPackageConfigTemplate.cmake.in @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER ############################################################################## diff --git a/tribits/core/installation/TribitsProjectConfigTemplate.cmake.in b/tribits/core/installation/TribitsProjectConfigTemplate.cmake.in index 09c413821..84be54ee9 100644 --- a/tribits/core/installation/TribitsProjectConfigTemplate.cmake.in +++ b/tribits/core/installation/TribitsProjectConfigTemplate.cmake.in @@ -1,41 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER ############################################################################## diff --git a/tribits/core/package_arch/TribitsAddExecutable.cmake b/tribits/core/package_arch/TribitsAddExecutable.cmake index 567d22f4c..c785210b5 100644 --- a/tribits/core/package_arch/TribitsAddExecutable.cmake +++ b/tribits/core/package_arch/TribitsAddExecutable.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsAddExecutableAndTest.cmake b/tribits/core/package_arch/TribitsAddExecutableAndTest.cmake index 7328f1855..1dee14787 100644 --- a/tribits/core/package_arch/TribitsAddExecutableAndTest.cmake +++ b/tribits/core/package_arch/TribitsAddExecutableAndTest.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsAddLibrary.cmake b/tribits/core/package_arch/TribitsAddLibrary.cmake index 0e249f4f9..6cfc7f661 100644 --- a/tribits/core/package_arch/TribitsAddLibrary.cmake +++ b/tribits/core/package_arch/TribitsAddLibrary.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(TribitsLibIsTestOnly) diff --git a/tribits/core/package_arch/TribitsAddOptionAndDefine.cmake b/tribits/core/package_arch/TribitsAddOptionAndDefine.cmake index f82e4976e..c9b3d7423 100644 --- a/tribits/core/package_arch/TribitsAddOptionAndDefine.cmake +++ b/tribits/core/package_arch/TribitsAddOptionAndDefine.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(TribitsPkgExportCacheVars) diff --git a/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake b/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake index 814533ea3..120f2f65d 100644 --- a/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake +++ b/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsBLASMangling.cmake b/tribits/core/package_arch/TribitsBLASMangling.cmake index cac8381a2..1d9202d99 100644 --- a/tribits/core/package_arch/TribitsBLASMangling.cmake +++ b/tribits/core/package_arch/TribitsBLASMangling.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # Including this file will result in the BLAS name mangling to be determined. diff --git a/tribits/core/package_arch/TribitsCommonArgsHelpers.cmake b/tribits/core/package_arch/TribitsCommonArgsHelpers.cmake index 9aaffca98..34f7153dd 100644 --- a/tribits/core/package_arch/TribitsCommonArgsHelpers.cmake +++ b/tribits/core/package_arch/TribitsCommonArgsHelpers.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER function(tribits_set_linker_language_from_arg TARGET_NAME_IN LINKER_LANGUAGE_IN) diff --git a/tribits/core/package_arch/TribitsConfigureCTestCustom.cmake b/tribits/core/package_arch/TribitsConfigureCTestCustom.cmake index cfc31872e..ccb83fa6a 100644 --- a/tribits/core/package_arch/TribitsConfigureCTestCustom.cmake +++ b/tribits/core/package_arch/TribitsConfigureCTestCustom.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(TribitsGeneralMacros) diff --git a/tribits/core/package_arch/TribitsConfigureFile.cmake b/tribits/core/package_arch/TribitsConfigureFile.cmake index 55ac9123c..0fccbc5c4 100644 --- a/tribits/core/package_arch/TribitsConfigureFile.cmake +++ b/tribits/core/package_arch/TribitsConfigureFile.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsConfigureTiming.cmake b/tribits/core/package_arch/TribitsConfigureTiming.cmake index 00db385c1..c41b04449 100644 --- a/tribits/core/package_arch/TribitsConfigureTiming.cmake +++ b/tribits/core/package_arch/TribitsConfigureTiming.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsCopyFilesToBinaryDir.cmake b/tribits/core/package_arch/TribitsCopyFilesToBinaryDir.cmake index ffeef4bdb..778bf5790 100644 --- a/tribits/core/package_arch/TribitsCopyFilesToBinaryDir.cmake +++ b/tribits/core/package_arch/TribitsCopyFilesToBinaryDir.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsCreateClientTemplateHeaders.cmake b/tribits/core/package_arch/TribitsCreateClientTemplateHeaders.cmake index cc2c6ca42..91a9e8dac 100644 --- a/tribits/core/package_arch/TribitsCreateClientTemplateHeaders.cmake +++ b/tribits/core/package_arch/TribitsCreateClientTemplateHeaders.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsDefineStandardCompileVars.cmake b/tribits/core/package_arch/TribitsDefineStandardCompileVars.cmake index dc7ddf0a6..01da2a124 100644 --- a/tribits/core/package_arch/TribitsDefineStandardCompileVars.cmake +++ b/tribits/core/package_arch/TribitsDefineStandardCompileVars.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(CMakeBuildTypesList) diff --git a/tribits/core/package_arch/TribitsETISupport.cmake b/tribits/core/package_arch/TribitsETISupport.cmake index e751d44f0..27dd27a27 100644 --- a/tribits/core/package_arch/TribitsETISupport.cmake +++ b/tribits/core/package_arch/TribitsETISupport.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(AppendSet) diff --git a/tribits/core/package_arch/TribitsExternalPackageWithImportedTargetsFindTplModuleHelpers.cmake b/tribits/core/package_arch/TribitsExternalPackageWithImportedTargetsFindTplModuleHelpers.cmake index d6f3fd7ae..5d2c1fc1b 100644 --- a/tribits/core/package_arch/TribitsExternalPackageWithImportedTargetsFindTplModuleHelpers.cmake +++ b/tribits/core/package_arch/TribitsExternalPackageWithImportedTargetsFindTplModuleHelpers.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsExternalPackageWriteConfigFile.cmake b/tribits/core/package_arch/TribitsExternalPackageWriteConfigFile.cmake index 85f37f3df..7fda7a048 100644 --- a/tribits/core/package_arch/TribitsExternalPackageWriteConfigFile.cmake +++ b/tribits/core/package_arch/TribitsExternalPackageWriteConfigFile.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsFindMostRecentFileTimestamp.cmake b/tribits/core/package_arch/TribitsFindMostRecentFileTimestamp.cmake index b35afaea4..ef40dede2 100644 --- a/tribits/core/package_arch/TribitsFindMostRecentFileTimestamp.cmake +++ b/tribits/core/package_arch/TribitsFindMostRecentFileTimestamp.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsFindPythonInterp.cmake b/tribits/core/package_arch/TribitsFindPythonInterp.cmake index 907d15156..3e57bbbe0 100644 --- a/tribits/core/package_arch/TribitsFindPythonInterp.cmake +++ b/tribits/core/package_arch/TribitsFindPythonInterp.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # Find Python executable which is needed for dependency file building diff --git a/tribits/core/package_arch/TribitsFortranMangling.cmake b/tribits/core/package_arch/TribitsFortranMangling.cmake index b5f250d40..cf054f4d4 100644 --- a/tribits/core/package_arch/TribitsFortranMangling.cmake +++ b/tribits/core/package_arch/TribitsFortranMangling.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # This file gets included in the base-level CMakeLists.txt file to define diff --git a/tribits/core/package_arch/TribitsGeneralMacros.cmake b/tribits/core/package_arch/TribitsGeneralMacros.cmake index 8236e47a5..6b3131091 100644 --- a/tribits/core/package_arch/TribitsGeneralMacros.cmake +++ b/tribits/core/package_arch/TribitsGeneralMacros.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(AppendSet) diff --git a/tribits/core/package_arch/TribitsGenerateResourceSpecFile.cmake b/tribits/core/package_arch/TribitsGenerateResourceSpecFile.cmake index 88622f369..c630be9b4 100644 --- a/tribits/core/package_arch/TribitsGenerateResourceSpecFile.cmake +++ b/tribits/core/package_arch/TribitsGenerateResourceSpecFile.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake b/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake index 3d7c425d7..2cfeb4946 100644 --- a/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake +++ b/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsGetPackageSublists.cmake b/tribits/core/package_arch/TribitsGetPackageSublists.cmake index ddc392e53..b1c0388c2 100644 --- a/tribits/core/package_arch/TribitsGetPackageSublists.cmake +++ b/tribits/core/package_arch/TribitsGetPackageSublists.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(TribitsGetPackageEnableStatus) diff --git a/tribits/core/package_arch/TribitsGlobalMacros.cmake b/tribits/core/package_arch/TribitsGlobalMacros.cmake index 83c60cd5b..5ca67ede6 100644 --- a/tribits/core/package_arch/TribitsGlobalMacros.cmake +++ b/tribits/core/package_arch/TribitsGlobalMacros.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # Standard TriBITS system includes diff --git a/tribits/core/package_arch/TribitsHostType.cmake b/tribits/core/package_arch/TribitsHostType.cmake index 1a554159b..3578347c3 100644 --- a/tribits/core/package_arch/TribitsHostType.cmake +++ b/tribits/core/package_arch/TribitsHostType.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(AdvancedSet) diff --git a/tribits/core/package_arch/TribitsIncludeDirectories.cmake b/tribits/core/package_arch/TribitsIncludeDirectories.cmake index e28809495..a686477b0 100644 --- a/tribits/core/package_arch/TribitsIncludeDirectories.cmake +++ b/tribits/core/package_arch/TribitsIncludeDirectories.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(CMakeParseArguments) diff --git a/tribits/core/package_arch/TribitsInstallHeaders.cmake b/tribits/core/package_arch/TribitsInstallHeaders.cmake index 7ac01b81e..0fccc8a1b 100644 --- a/tribits/core/package_arch/TribitsInstallHeaders.cmake +++ b/tribits/core/package_arch/TribitsInstallHeaders.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsInternalPackageWriteConfigFile.cmake b/tribits/core/package_arch/TribitsInternalPackageWriteConfigFile.cmake index e820d6222..d3ac6d928 100644 --- a/tribits/core/package_arch/TribitsInternalPackageWriteConfigFile.cmake +++ b/tribits/core/package_arch/TribitsInternalPackageWriteConfigFile.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsLibIsTestOnly.cmake b/tribits/core/package_arch/TribitsLibIsTestOnly.cmake index 1120b2704..04917ce4c 100644 --- a/tribits/core/package_arch/TribitsLibIsTestOnly.cmake +++ b/tribits/core/package_arch/TribitsLibIsTestOnly.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include_guard() diff --git a/tribits/core/package_arch/TribitsLibraryMacros.cmake b/tribits/core/package_arch/TribitsLibraryMacros.cmake index 27fdfc952..79580f8a5 100644 --- a/tribits/core/package_arch/TribitsLibraryMacros.cmake +++ b/tribits/core/package_arch/TribitsLibraryMacros.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(TribitsCreateClientTemplateHeaders) diff --git a/tribits/core/package_arch/TribitsListHelpers.cmake b/tribits/core/package_arch/TribitsListHelpers.cmake index 69ade415d..aa4a7ac9b 100644 --- a/tribits/core/package_arch/TribitsListHelpers.cmake +++ b/tribits/core/package_arch/TribitsListHelpers.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsPackageDefineDependencies.cmake b/tribits/core/package_arch/TribitsPackageDefineDependencies.cmake index 5f916c10e..2a96c5414 100644 --- a/tribits/core/package_arch/TribitsPackageDefineDependencies.cmake +++ b/tribits/core/package_arch/TribitsPackageDefineDependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(TribitsGeneralMacros) diff --git a/tribits/core/package_arch/TribitsPackageDependencies.cmake b/tribits/core/package_arch/TribitsPackageDependencies.cmake index 5f2e31595..4a2ff1b2f 100644 --- a/tribits/core/package_arch/TribitsPackageDependencies.cmake +++ b/tribits/core/package_arch/TribitsPackageDependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsPackageMacros.cmake b/tribits/core/package_arch/TribitsPackageMacros.cmake index d7931c406..e6235bb90 100644 --- a/tribits/core/package_arch/TribitsPackageMacros.cmake +++ b/tribits/core/package_arch/TribitsPackageMacros.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(TribitsPackageSetupCompilerFlags) diff --git a/tribits/core/package_arch/TribitsPackageSetupCompilerFlags.cmake b/tribits/core/package_arch/TribitsPackageSetupCompilerFlags.cmake index 18a9d6e17..336a7d6ac 100644 --- a/tribits/core/package_arch/TribitsPackageSetupCompilerFlags.cmake +++ b/tribits/core/package_arch/TribitsPackageSetupCompilerFlags.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsPackagingSupport.cmake b/tribits/core/package_arch/TribitsPackagingSupport.cmake index e4dc24636..ba49a0a7c 100644 --- a/tribits/core/package_arch/TribitsPackagingSupport.cmake +++ b/tribits/core/package_arch/TribitsPackagingSupport.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsPkgExportCacheVars.cmake b/tribits/core/package_arch/TribitsPkgExportCacheVars.cmake index 9380cebe1..669be5d70 100644 --- a/tribits/core/package_arch/TribitsPkgExportCacheVars.cmake +++ b/tribits/core/package_arch/TribitsPkgExportCacheVars.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsPrintDependencyInfo.cmake b/tribits/core/package_arch/TribitsPrintDependencyInfo.cmake index 2b96e2f74..1690c41ab 100644 --- a/tribits/core/package_arch/TribitsPrintDependencyInfo.cmake +++ b/tribits/core/package_arch/TribitsPrintDependencyInfo.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsPrintEnabledPackagesLists.cmake b/tribits/core/package_arch/TribitsPrintEnabledPackagesLists.cmake index eb42f8be3..8c7f4003f 100644 --- a/tribits/core/package_arch/TribitsPrintEnabledPackagesLists.cmake +++ b/tribits/core/package_arch/TribitsPrintEnabledPackagesLists.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(TribitsGetPackageSublists) diff --git a/tribits/core/package_arch/TribitsProcessEnabledTpls.cmake b/tribits/core/package_arch/TribitsProcessEnabledTpls.cmake index bcc591d63..b2298ccd3 100644 --- a/tribits/core/package_arch/TribitsProcessEnabledTpls.cmake +++ b/tribits/core/package_arch/TribitsProcessEnabledTpls.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsProcessExtraRepositoriesList.cmake b/tribits/core/package_arch/TribitsProcessExtraRepositoriesList.cmake index 38484fd46..ba0abf2fa 100644 --- a/tribits/core/package_arch/TribitsProcessExtraRepositoriesList.cmake +++ b/tribits/core/package_arch/TribitsProcessExtraRepositoriesList.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsProcessPackagesAndDirsLists.cmake b/tribits/core/package_arch/TribitsProcessPackagesAndDirsLists.cmake index 4fd5f1d96..e46501c5e 100644 --- a/tribits/core/package_arch/TribitsProcessPackagesAndDirsLists.cmake +++ b/tribits/core/package_arch/TribitsProcessPackagesAndDirsLists.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsProcessTplsLists.cmake b/tribits/core/package_arch/TribitsProcessTplsLists.cmake index a30a09404..8b4ec0221 100644 --- a/tribits/core/package_arch/TribitsProcessTplsLists.cmake +++ b/tribits/core/package_arch/TribitsProcessTplsLists.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsProject.cmake b/tribits/core/package_arch/TribitsProject.cmake index c2385f166..4911a2612 100644 --- a/tribits/core/package_arch/TribitsProject.cmake +++ b/tribits/core/package_arch/TribitsProject.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # Projects that change the location of the source need to consider this in diff --git a/tribits/core/package_arch/TribitsProjectImpl.cmake b/tribits/core/package_arch/TribitsProjectImpl.cmake index 8eab07d42..ab98de403 100644 --- a/tribits/core/package_arch/TribitsProjectImpl.cmake +++ b/tribits/core/package_arch/TribitsProjectImpl.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsProjectWriteConfigFile.cmake b/tribits/core/package_arch/TribitsProjectWriteConfigFile.cmake index 5f4fa7089..5dc440d69 100644 --- a/tribits/core/package_arch/TribitsProjectWriteConfigFile.cmake +++ b/tribits/core/package_arch/TribitsProjectWriteConfigFile.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsReadAllProjectDepsFilesCreateDepsGraph.cmake b/tribits/core/package_arch/TribitsReadAllProjectDepsFilesCreateDepsGraph.cmake index 14175ee5a..d3a663ac0 100644 --- a/tribits/core/package_arch/TribitsReadAllProjectDepsFilesCreateDepsGraph.cmake +++ b/tribits/core/package_arch/TribitsReadAllProjectDepsFilesCreateDepsGraph.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsReadDepsFilesCreateDepsGraph.cmake b/tribits/core/package_arch/TribitsReadDepsFilesCreateDepsGraph.cmake index 43b006336..d12b17458 100644 --- a/tribits/core/package_arch/TribitsReadDepsFilesCreateDepsGraph.cmake +++ b/tribits/core/package_arch/TribitsReadDepsFilesCreateDepsGraph.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(TribitsPackageDefineDependencies) diff --git a/tribits/core/package_arch/TribitsReportInvalidTribitsUsage.cmake b/tribits/core/package_arch/TribitsReportInvalidTribitsUsage.cmake index 0a40deaa9..b04ba0178 100644 --- a/tribits/core/package_arch/TribitsReportInvalidTribitsUsage.cmake +++ b/tribits/core/package_arch/TribitsReportInvalidTribitsUsage.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include_guard() diff --git a/tribits/core/package_arch/TribitsSetAndIncDirs.cmake b/tribits/core/package_arch/TribitsSetAndIncDirs.cmake index 55991e4fd..9b482c804 100644 --- a/tribits/core/package_arch/TribitsSetAndIncDirs.cmake +++ b/tribits/core/package_arch/TribitsSetAndIncDirs.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsSetUpEnabledOnlyDependencies.cmake b/tribits/core/package_arch/TribitsSetUpEnabledOnlyDependencies.cmake index 9e5900114..c0251ef50 100644 --- a/tribits/core/package_arch/TribitsSetUpEnabledOnlyDependencies.cmake +++ b/tribits/core/package_arch/TribitsSetUpEnabledOnlyDependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(TribitsDeprecatedHelpers) diff --git a/tribits/core/package_arch/TribitsSetupBasicCompileLinkFlags.cmake b/tribits/core/package_arch/TribitsSetupBasicCompileLinkFlags.cmake index ed61cf2ae..2f0cea621 100644 --- a/tribits/core/package_arch/TribitsSetupBasicCompileLinkFlags.cmake +++ b/tribits/core/package_arch/TribitsSetupBasicCompileLinkFlags.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(TribitsDefineStandardCompileVars) diff --git a/tribits/core/package_arch/TribitsSetupMPI.cmake b/tribits/core/package_arch/TribitsSetupMPI.cmake index 0d5e3f5e0..3ad94bdd5 100644 --- a/tribits/core/package_arch/TribitsSetupMPI.cmake +++ b/tribits/core/package_arch/TribitsSetupMPI.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(AdvancedSet) diff --git a/tribits/core/package_arch/TribitsSetupStrongCompileWarnings.cmake b/tribits/core/package_arch/TribitsSetupStrongCompileWarnings.cmake index 836537757..7e528b831 100644 --- a/tribits/core/package_arch/TribitsSetupStrongCompileWarnings.cmake +++ b/tribits/core/package_arch/TribitsSetupStrongCompileWarnings.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(TribitsDefineStandardCompileVars) diff --git a/tribits/core/package_arch/TribitsSubPackageMacros.cmake b/tribits/core/package_arch/TribitsSubPackageMacros.cmake index 27383b190..56ac6984a 100644 --- a/tribits/core/package_arch/TribitsSubPackageMacros.cmake +++ b/tribits/core/package_arch/TribitsSubPackageMacros.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(TribitsPackageMacros) diff --git a/tribits/core/package_arch/TribitsTplDeclareLibraries.cmake b/tribits/core/package_arch/TribitsTplDeclareLibraries.cmake index aa808d8e8..035a85f4d 100644 --- a/tribits/core/package_arch/TribitsTplDeclareLibraries.cmake +++ b/tribits/core/package_arch/TribitsTplDeclareLibraries.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(TribitsTplFindIncludeDirsAndLibraries) diff --git a/tribits/core/package_arch/TribitsTplFindIncludeDirsAndLibraries.cmake b/tribits/core/package_arch/TribitsTplFindIncludeDirsAndLibraries.cmake index 23d43ad0e..54f08d60f 100644 --- a/tribits/core/package_arch/TribitsTplFindIncludeDirsAndLibraries.cmake +++ b/tribits/core/package_arch/TribitsTplFindIncludeDirsAndLibraries.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include_guard() diff --git a/tribits/core/package_arch/TribitsVerbosePrintVar.cmake b/tribits/core/package_arch/TribitsVerbosePrintVar.cmake index e6021d60f..45f5c2b95 100644 --- a/tribits/core/package_arch/TribitsVerbosePrintVar.cmake +++ b/tribits/core/package_arch/TribitsVerbosePrintVar.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/package_arch/TribitsWritePackageConfigFileHelpers.cmake b/tribits/core/package_arch/TribitsWritePackageConfigFileHelpers.cmake index 310e58876..e017facc4 100644 --- a/tribits/core/package_arch/TribitsWritePackageConfigFileHelpers.cmake +++ b/tribits/core/package_arch/TribitsWritePackageConfigFileHelpers.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/std_tpls/FindTPLCUDA.cmake b/tribits/core/std_tpls/FindTPLCUDA.cmake index a8b1ab8b1..ac78b3a0b 100644 --- a/tribits/core/std_tpls/FindTPLCUDA.cmake +++ b/tribits/core/std_tpls/FindTPLCUDA.cmake @@ -1,56 +1,10 @@ # @HEADER -# ************************************************************************ +# ***************************************************************************** +# Trilinos: An Object-Oriented Solver Framework # -# Trilinos: An Object-Oriented Solver Framework -# Copyright (2001) Sandia Corporation -# -# -# Copyright (2001) Sandia Corporation. Under the terms of Contract -# DE-AC04-94AL85000, there is a non-exclusive license for use of this -# work by or on behalf of the U.S. Government. Export of this program -# may require a license from the United States Government. -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# NOTICE: The United States Government is granted for itself and others -# acting on its behalf a paid-up, nonexclusive, irrevocable worldwide -# license in this data to reproduce, prepare derivative works, and -# perform publicly and display publicly. Beginning five (5) years from -# July 25, 2001, the United States Government is granted for itself and -# others acting on its behalf a paid-up, nonexclusive, irrevocable -# worldwide license in this data to reproduce, prepare derivative works, -# distribute copies to the public, perform publicly and display -# publicly, and to permit others to do so. -# -# NEITHER THE UNITED STATES GOVERNMENT, NOR THE UNITED STATES DEPARTMENT -# OF ENERGY, NOR SANDIA CORPORATION, NOR ANY OF THEIR EMPLOYEES, MAKES -# ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY LEGAL LIABILITY OR -# RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF ANY -# INFORMATION, APPARATUS, PRODUCT, OR PROCESS DISCLOSED, OR REPRESENTS -# THAT ITS USE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS. -# -# ************************************************************************ +# Copyright 2001-2024 NTESS and the Trilinos contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER find_package(CUDAToolkit REQUIRED) # Will abort if not found! diff --git a/tribits/core/std_tpls/FindTPLMPI.cmake b/tribits/core/std_tpls/FindTPLMPI.cmake index dd555efd7..34bc8883f 100644 --- a/tribits/core/std_tpls/FindTPLMPI.cmake +++ b/tribits/core/std_tpls/FindTPLMPI.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # Either the MPI compiler wrappers take care of these or the user has to set diff --git a/tribits/core/test_support/TribitsAddAdvancedTest.cmake b/tribits/core/test_support/TribitsAddAdvancedTest.cmake index 21deffdea..3a6aa01dc 100644 --- a/tribits/core/test_support/TribitsAddAdvancedTest.cmake +++ b/tribits/core/test_support/TribitsAddAdvancedTest.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include("${CMAKE_CURRENT_LIST_DIR}/../common/TribitsCMakePolicies.cmake" NO_POLICY_SCOPE) diff --git a/tribits/core/test_support/TribitsAddAdvancedTestHelpers.cmake b/tribits/core/test_support/TribitsAddAdvancedTestHelpers.cmake index c7fb556b4..0277f5bcc 100644 --- a/tribits/core/test_support/TribitsAddAdvancedTestHelpers.cmake +++ b/tribits/core/test_support/TribitsAddAdvancedTestHelpers.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/test_support/TribitsAddExecutableTestHelpers.cmake b/tribits/core/test_support/TribitsAddExecutableTestHelpers.cmake index c2bc95d0d..0ec3ab09f 100644 --- a/tribits/core/test_support/TribitsAddExecutableTestHelpers.cmake +++ b/tribits/core/test_support/TribitsAddExecutableTestHelpers.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include_guard() diff --git a/tribits/core/test_support/TribitsAddTest.cmake b/tribits/core/test_support/TribitsAddTest.cmake index 9e23d71c3..94d9e9540 100644 --- a/tribits/core/test_support/TribitsAddTest.cmake +++ b/tribits/core/test_support/TribitsAddTest.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/test_support/TribitsAddTestHelpers.cmake b/tribits/core/test_support/TribitsAddTestHelpers.cmake index 98190718a..6ffec857e 100644 --- a/tribits/core/test_support/TribitsAddTestHelpers.cmake +++ b/tribits/core/test_support/TribitsAddTestHelpers.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include_guard() diff --git a/tribits/core/test_support/TribitsSetTribitsPackageName.cmake b/tribits/core/test_support/TribitsSetTribitsPackageName.cmake index 2a08b4beb..22c5a0a2c 100644 --- a/tribits/core/test_support/TribitsSetTribitsPackageName.cmake +++ b/tribits/core/test_support/TribitsSetTribitsPackageName.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/test_support/TribitsTestCategories.cmake b/tribits/core/test_support/TribitsTestCategories.cmake index a6f053d63..b91cdb735 100644 --- a/tribits/core/test_support/TribitsTestCategories.cmake +++ b/tribits/core/test_support/TribitsTestCategories.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include("${CMAKE_CURRENT_LIST_DIR}/../utils/FindListElement.cmake") diff --git a/tribits/core/utils/AddSubdirectories.cmake b/tribits/core/utils/AddSubdirectories.cmake index 20ac8b164..ab863b1d4 100644 --- a/tribits/core/utils/AddSubdirectories.cmake +++ b/tribits/core/utils/AddSubdirectories.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/AdvancedOption.cmake b/tribits/core/utils/AdvancedOption.cmake index 49eed3c91..281588512 100644 --- a/tribits/core/utils/AdvancedOption.cmake +++ b/tribits/core/utils/AdvancedOption.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/AdvancedSet.cmake b/tribits/core/utils/AdvancedSet.cmake index 97cf6d264..32d54c6ca 100644 --- a/tribits/core/utils/AdvancedSet.cmake +++ b/tribits/core/utils/AdvancedSet.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/AppendCmndlineArgs.cmake b/tribits/core/utils/AppendCmndlineArgs.cmake index f004a71c7..062c601de 100644 --- a/tribits/core/utils/AppendCmndlineArgs.cmake +++ b/tribits/core/utils/AppendCmndlineArgs.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/AppendGlob.cmake b/tribits/core/utils/AppendGlob.cmake index 14eab3155..4312377a1 100644 --- a/tribits/core/utils/AppendGlob.cmake +++ b/tribits/core/utils/AppendGlob.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(AppendSet) diff --git a/tribits/core/utils/AppendGlobalSet.cmake b/tribits/core/utils/AppendGlobalSet.cmake index 04d95f2b5..6923f0102 100644 --- a/tribits/core/utils/AppendGlobalSet.cmake +++ b/tribits/core/utils/AppendGlobalSet.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include("${CMAKE_CURRENT_LIST_DIR}/GlobalSet.cmake") diff --git a/tribits/core/utils/AppendSet.cmake b/tribits/core/utils/AppendSet.cmake index 592a6de18..78ccfe6f9 100644 --- a/tribits/core/utils/AppendSet.cmake +++ b/tribits/core/utils/AppendSet.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/AppendStringVar.cmake b/tribits/core/utils/AppendStringVar.cmake index bac3a6bac..deebf8d95 100644 --- a/tribits/core/utils/AppendStringVar.cmake +++ b/tribits/core/utils/AppendStringVar.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include_guard() diff --git a/tribits/core/utils/AppendStringVarWithSep.cmake b/tribits/core/utils/AppendStringVarWithSep.cmake index 6e8ccf9fb..107c25917 100644 --- a/tribits/core/utils/AppendStringVarWithSep.cmake +++ b/tribits/core/utils/AppendStringVarWithSep.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include("${CMAKE_CURRENT_LIST_DIR}/ConcatStrings.cmake") diff --git a/tribits/core/utils/AssertAndTouchDefined.cmake b/tribits/core/utils/AssertAndTouchDefined.cmake index d1912636d..505429c06 100644 --- a/tribits/core/utils/AssertAndTouchDefined.cmake +++ b/tribits/core/utils/AssertAndTouchDefined.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER function(assert_and_touch_defined VARS) diff --git a/tribits/core/utils/AssertDefined.cmake b/tribits/core/utils/AssertDefined.cmake index a7918483e..3be6df72a 100644 --- a/tribits/core/utils/AssertDefined.cmake +++ b/tribits/core/utils/AssertDefined.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/CMakeBuildTypesList.cmake b/tribits/core/utils/CMakeBuildTypesList.cmake index 381f923e8..2d6750526 100644 --- a/tribits/core/utils/CMakeBuildTypesList.cmake +++ b/tribits/core/utils/CMakeBuildTypesList.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER set(CMAKE_BUILD_TYPES_LIST diff --git a/tribits/core/utils/CombinedOption.cmake b/tribits/core/utils/CombinedOption.cmake index 2cf0c8dd3..0b272e281 100644 --- a/tribits/core/utils/CombinedOption.cmake +++ b/tribits/core/utils/CombinedOption.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(CMakeParseArguments) diff --git a/tribits/core/utils/ConcatStrings.cmake b/tribits/core/utils/ConcatStrings.cmake index cf5fd64e6..d8fa60bfc 100644 --- a/tribits/core/utils/ConcatStrings.cmake +++ b/tribits/core/utils/ConcatStrings.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include("${CMAKE_CURRENT_LIST_DIR}/PrintVar.cmake") diff --git a/tribits/core/utils/DriveAdvancedTest.cmake b/tribits/core/utils/DriveAdvancedTest.cmake index 6ccb55fd7..33876d775 100644 --- a/tribits/core/utils/DriveAdvancedTest.cmake +++ b/tribits/core/utils/DriveAdvancedTest.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include_guard() diff --git a/tribits/core/utils/DualScopeAppendCmndlineArgs.cmake b/tribits/core/utils/DualScopeAppendCmndlineArgs.cmake index 4dd32caaa..4aed73fab 100644 --- a/tribits/core/utils/DualScopeAppendCmndlineArgs.cmake +++ b/tribits/core/utils/DualScopeAppendCmndlineArgs.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(AppendCmndlineArgs) diff --git a/tribits/core/utils/DualScopePrependCmndlineArgs.cmake b/tribits/core/utils/DualScopePrependCmndlineArgs.cmake index 432c27f72..d3dee3a7a 100644 --- a/tribits/core/utils/DualScopePrependCmndlineArgs.cmake +++ b/tribits/core/utils/DualScopePrependCmndlineArgs.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(PrependCmndlineArgs) diff --git a/tribits/core/utils/DualScopeSet.cmake b/tribits/core/utils/DualScopeSet.cmake index e17234628..5b0b62888 100644 --- a/tribits/core/utils/DualScopeSet.cmake +++ b/tribits/core/utils/DualScopeSet.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/FindListElement.cmake b/tribits/core/utils/FindListElement.cmake index 2c7000f7b..5bcf547a1 100644 --- a/tribits/core/utils/FindListElement.cmake +++ b/tribits/core/utils/FindListElement.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/FindProgramPlus.cmake b/tribits/core/utils/FindProgramPlus.cmake index 341245edc..2770e807b 100644 --- a/tribits/core/utils/FindProgramPlus.cmake +++ b/tribits/core/utils/FindProgramPlus.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(CMakeParseArguments) diff --git a/tribits/core/utils/GetCurrentListDir.cmake b/tribits/core/utils/GetCurrentListDir.cmake index 648e58329..d9d2b9d92 100644 --- a/tribits/core/utils/GetCurrentListDir.cmake +++ b/tribits/core/utils/GetCurrentListDir.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # Get the directory containing the file currently being processed. diff --git a/tribits/core/utils/GetLastDirName.cmake b/tribits/core/utils/GetLastDirName.cmake index e7241305f..b8b94c9d2 100644 --- a/tribits/core/utils/GetLastDirName.cmake +++ b/tribits/core/utils/GetLastDirName.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/GlobalNullSet.cmake b/tribits/core/utils/GlobalNullSet.cmake index ae1125bc3..82dde24e1 100644 --- a/tribits/core/utils/GlobalNullSet.cmake +++ b/tribits/core/utils/GlobalNullSet.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/GlobalSet.cmake b/tribits/core/utils/GlobalSet.cmake index b3c04aae0..2d7b796b9 100644 --- a/tribits/core/utils/GlobalSet.cmake +++ b/tribits/core/utils/GlobalSet.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/Join.cmake b/tribits/core/utils/Join.cmake index 288999b8e..57c71a26e 100644 --- a/tribits/core/utils/Join.cmake +++ b/tribits/core/utils/Join.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/MessageWrapper.cmake b/tribits/core/utils/MessageWrapper.cmake index 220f9c8ff..81a2dd87a 100644 --- a/tribits/core/utils/MessageWrapper.cmake +++ b/tribits/core/utils/MessageWrapper.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include_guard() diff --git a/tribits/core/utils/MultilineSet.cmake b/tribits/core/utils/MultilineSet.cmake index dde0b471e..5c0f6707c 100644 --- a/tribits/core/utils/MultilineSet.cmake +++ b/tribits/core/utils/MultilineSet.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/ParseVariableArguments.cmake b/tribits/core/utils/ParseVariableArguments.cmake index da2e58ad2..3990a0163 100644 --- a/tribits/core/utils/ParseVariableArguments.cmake +++ b/tribits/core/utils/ParseVariableArguments.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(TribitsDeprecatedHelpers) diff --git a/tribits/core/utils/PrependCmndlineArgs.cmake b/tribits/core/utils/PrependCmndlineArgs.cmake index 08425aa2d..c99274467 100644 --- a/tribits/core/utils/PrependCmndlineArgs.cmake +++ b/tribits/core/utils/PrependCmndlineArgs.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/PrependGlobalSet.cmake b/tribits/core/utils/PrependGlobalSet.cmake index 1c827783e..97cf8b577 100644 --- a/tribits/core/utils/PrependGlobalSet.cmake +++ b/tribits/core/utils/PrependGlobalSet.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(GlobalSet) diff --git a/tribits/core/utils/PrependSet.cmake b/tribits/core/utils/PrependSet.cmake index 0f022c83c..707118902 100644 --- a/tribits/core/utils/PrependSet.cmake +++ b/tribits/core/utils/PrependSet.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/PrintNonemptyVar.cmake b/tribits/core/utils/PrintNonemptyVar.cmake index 064357add..b2b9ad83c 100644 --- a/tribits/core/utils/PrintNonemptyVar.cmake +++ b/tribits/core/utils/PrintNonemptyVar.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(AssertDefined) diff --git a/tribits/core/utils/PrintNonemptyVarWithSpaces.cmake b/tribits/core/utils/PrintNonemptyVarWithSpaces.cmake index de8e331ad..9acaed96c 100644 --- a/tribits/core/utils/PrintNonemptyVarWithSpaces.cmake +++ b/tribits/core/utils/PrintNonemptyVarWithSpaces.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(AssertDefined) diff --git a/tribits/core/utils/PrintVar.cmake b/tribits/core/utils/PrintVar.cmake index bf0290aa1..704df804e 100644 --- a/tribits/core/utils/PrintVar.cmake +++ b/tribits/core/utils/PrintVar.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include_guard() diff --git a/tribits/core/utils/PrintVarWithSpaces.cmake b/tribits/core/utils/PrintVarWithSpaces.cmake index 356826756..a3a70fd98 100644 --- a/tribits/core/utils/PrintVarWithSpaces.cmake +++ b/tribits/core/utils/PrintVarWithSpaces.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(AssertDefined) diff --git a/tribits/core/utils/RemoveGlobalDuplicates.cmake b/tribits/core/utils/RemoveGlobalDuplicates.cmake index f43ca43c8..9b3c75a82 100644 --- a/tribits/core/utils/RemoveGlobalDuplicates.cmake +++ b/tribits/core/utils/RemoveGlobalDuplicates.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(AssertDefined) diff --git a/tribits/core/utils/SetCacheOnOffEmpty.cmake b/tribits/core/utils/SetCacheOnOffEmpty.cmake index 0d9970731..ad2fdd364 100644 --- a/tribits/core/utils/SetCacheOnOffEmpty.cmake +++ b/tribits/core/utils/SetCacheOnOffEmpty.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/SetDefault.cmake b/tribits/core/utils/SetDefault.cmake index 87a25e275..8bceca9ed 100644 --- a/tribits/core/utils/SetDefault.cmake +++ b/tribits/core/utils/SetDefault.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/SetDefaultAndFromEnv.cmake b/tribits/core/utils/SetDefaultAndFromEnv.cmake index b407b5710..9c1b7390a 100644 --- a/tribits/core/utils/SetDefaultAndFromEnv.cmake +++ b/tribits/core/utils/SetDefaultAndFromEnv.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/SetNotFound.cmake b/tribits/core/utils/SetNotFound.cmake index 26aba8b66..1338c0ef6 100644 --- a/tribits/core/utils/SetNotFound.cmake +++ b/tribits/core/utils/SetNotFound.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER macro(set_notfound VARNAME) diff --git a/tribits/core/utils/Split.cmake b/tribits/core/utils/Split.cmake index e18250c4b..30910bb54 100644 --- a/tribits/core/utils/Split.cmake +++ b/tribits/core/utils/Split.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/TimingUtils.cmake b/tribits/core/utils/TimingUtils.cmake index ac6351ab9..e4a9b7971 100644 --- a/tribits/core/utils/TimingUtils.cmake +++ b/tribits/core/utils/TimingUtils.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # diff --git a/tribits/core/utils/TribitsAddEnumCacheVar.cmake b/tribits/core/utils/TribitsAddEnumCacheVar.cmake index 2ee30b7ed..22291668e 100644 --- a/tribits/core/utils/TribitsAddEnumCacheVar.cmake +++ b/tribits/core/utils/TribitsAddEnumCacheVar.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(TribitsParseArgumentsHelpers) diff --git a/tribits/core/utils/TribitsCreateReverseList.cmake b/tribits/core/utils/TribitsCreateReverseList.cmake index 2f84d8c47..71468d845 100644 --- a/tribits/core/utils/TribitsCreateReverseList.cmake +++ b/tribits/core/utils/TribitsCreateReverseList.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/TribitsDeprecatedHelpers.cmake b/tribits/core/utils/TribitsDeprecatedHelpers.cmake index ee6c7fae2..a3880ee78 100644 --- a/tribits/core/utils/TribitsDeprecatedHelpers.cmake +++ b/tribits/core/utils/TribitsDeprecatedHelpers.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ +# ***************************************************************************** +# TriBITS: Tribal Build, Integrate, and Test System # -# TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include_guard() diff --git a/tribits/core/utils/TribitsGatherBuildTargets.cmake b/tribits/core/utils/TribitsGatherBuildTargets.cmake index 6056d777f..f60464c27 100644 --- a/tribits/core/utils/TribitsGatherBuildTargets.cmake +++ b/tribits/core/utils/TribitsGatherBuildTargets.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/TribitsGetCategoriesString.cmake b/tribits/core/utils/TribitsGetCategoriesString.cmake index dcbaeb95f..58c247cd5 100644 --- a/tribits/core/utils/TribitsGetCategoriesString.cmake +++ b/tribits/core/utils/TribitsGetCategoriesString.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/TribitsGetImportedLocationProperty.cmake b/tribits/core/utils/TribitsGetImportedLocationProperty.cmake index 8e22614b1..f8a9c8d0f 100644 --- a/tribits/core/utils/TribitsGetImportedLocationProperty.cmake +++ b/tribits/core/utils/TribitsGetImportedLocationProperty.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include_guard() diff --git a/tribits/core/utils/TribitsGitRepoVersionInfo.cmake b/tribits/core/utils/TribitsGitRepoVersionInfo.cmake index f7b20ff5b..b5101c94e 100644 --- a/tribits/core/utils/TribitsGitRepoVersionInfo.cmake +++ b/tribits/core/utils/TribitsGitRepoVersionInfo.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER ################################################################################ diff --git a/tribits/core/utils/TribitsParseArgumentsHelpers.cmake b/tribits/core/utils/TribitsParseArgumentsHelpers.cmake index 9058db674..68a61c4bf 100644 --- a/tribits/core/utils/TribitsParseArgumentsHelpers.cmake +++ b/tribits/core/utils/TribitsParseArgumentsHelpers.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/TribitsPrintList.cmake b/tribits/core/utils/TribitsPrintList.cmake index 227ab9fcf..07c9bac50 100644 --- a/tribits/core/utils/TribitsPrintList.cmake +++ b/tribits/core/utils/TribitsPrintList.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include_guard() diff --git a/tribits/core/utils/TribitsSetCacheVarAndDefault.cmake b/tribits/core/utils/TribitsSetCacheVarAndDefault.cmake index a90c45aad..18a62e056 100644 --- a/tribits/core/utils/TribitsSetCacheVarAndDefault.cmake +++ b/tribits/core/utils/TribitsSetCacheVarAndDefault.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include_guard() diff --git a/tribits/core/utils/TribitsSortListAccordingToMasterList.cmake b/tribits/core/utils/TribitsSortListAccordingToMasterList.cmake index 4b0132702..485d4e990 100644 --- a/tribits/core/utils/TribitsSortListAccordingToMasterList.cmake +++ b/tribits/core/utils/TribitsSortListAccordingToMasterList.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include("${CMAKE_CURRENT_LIST_DIR}/../utils/PrintVar.cmake") diff --git a/tribits/core/utils/TribitsStandardizePaths.cmake b/tribits/core/utils/TribitsStandardizePaths.cmake index b442ce36b..e323d227c 100644 --- a/tribits/core/utils/TribitsStandardizePaths.cmake +++ b/tribits/core/utils/TribitsStandardizePaths.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/core/utils/UnitTestHelpers.cmake b/tribits/core/utils/UnitTestHelpers.cmake index 889f2537b..a13d20229 100644 --- a/tribits/core/utils/UnitTestHelpers.cmake +++ b/tribits/core/utils/UnitTestHelpers.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(CMakeParseArguments) diff --git a/tribits/ctest_driver/TribitsAddDashboardTarget.cmake b/tribits/ctest_driver/TribitsAddDashboardTarget.cmake index 6b60d3912..7ade5f122 100644 --- a/tribits/ctest_driver/TribitsAddDashboardTarget.cmake +++ b/tribits/ctest_driver/TribitsAddDashboardTarget.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/ctest_driver/TribitsCTestDriverCore.cmake b/tribits/ctest_driver/TribitsCTestDriverCore.cmake index 8e6ecfde5..ccd1a2b8c 100644 --- a/tribits/ctest_driver/TribitsCTestDriverCore.cmake +++ b/tribits/ctest_driver/TribitsCTestDriverCore.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER ############################################# diff --git a/tribits/ctest_driver/TribitsCTestDriverCoreHelpers.cmake b/tribits/ctest_driver/TribitsCTestDriverCoreHelpers.cmake index 5e183341f..76cfa19c6 100644 --- a/tribits/ctest_driver/TribitsCTestDriverCoreHelpers.cmake +++ b/tribits/ctest_driver/TribitsCTestDriverCoreHelpers.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/ctest_driver/TribitsGetCDashUrlsInsideCTestS.cmake b/tribits/ctest_driver/TribitsGetCDashUrlsInsideCTestS.cmake index 3b456f868..e13c851e9 100644 --- a/tribits/ctest_driver/TribitsGetCDashUrlsInsideCTestS.cmake +++ b/tribits/ctest_driver/TribitsGetCDashUrlsInsideCTestS.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/ctest_driver/dump-cdash-deps-xml-file.py b/tribits/ctest_driver/dump-cdash-deps-xml-file.py index ce4890810..3ebc60cd4 100755 --- a/tribits/ctest_driver/dump-cdash-deps-xml-file.py +++ b/tribits/ctest_driver/dump-cdash-deps-xml-file.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/ctest_driver/experimental_build_test.cmake b/tribits/ctest_driver/experimental_build_test.cmake index 0c70ab4a7..65bb67db5 100644 --- a/tribits/ctest_driver/experimental_build_test.cmake +++ b/tribits/ctest_driver/experimental_build_test.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ +# +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # diff --git a/tribits/dashboard_driver/CTestCustom.cmake.in b/tribits/dashboard_driver/CTestCustom.cmake.in index bd598e372..34e2f2999 100644 --- a/tribits/dashboard_driver/CTestCustom.cmake.in +++ b/tribits/dashboard_driver/CTestCustom.cmake.in @@ -1,41 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/dashboard_driver/LocateCTestAndRunScript.cmake b/tribits/dashboard_driver/LocateCTestAndRunScript.cmake index 967e6bc27..74aa9f5cf 100644 --- a/tribits/dashboard_driver/LocateCTestAndRunScript.cmake +++ b/tribits/dashboard_driver/LocateCTestAndRunScript.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # This script is a cmake -P script that should be called with the following diff --git a/tribits/dashboard_driver/TribitsDriverCMakeLists.cmake b/tribits/dashboard_driver/TribitsDriverCMakeLists.cmake index f0b3e3412..d908c69a9 100644 --- a/tribits/dashboard_driver/TribitsDriverCMakeLists.cmake +++ b/tribits/dashboard_driver/TribitsDriverCMakeLists.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # diff --git a/tribits/dashboard_driver/TribitsDriverDashboard.cmake b/tribits/dashboard_driver/TribitsDriverDashboard.cmake index abf8c34df..1b82f1649 100644 --- a/tribits/dashboard_driver/TribitsDriverDashboard.cmake +++ b/tribits/dashboard_driver/TribitsDriverDashboard.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/dashboard_driver/TribitsDriverSupport.cmake b/tribits/dashboard_driver/TribitsDriverSupport.cmake index 390c5df0f..9855b46e3 100644 --- a/tribits/dashboard_driver/TribitsDriverSupport.cmake +++ b/tribits/dashboard_driver/TribitsDriverSupport.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(GetCurrentListDir) diff --git a/tribits/dashboard_driver/tdd_driver.py b/tribits/dashboard_driver/tdd_driver.py index ff6801d6f..099c6b2a9 100755 --- a/tribits/dashboard_driver/tdd_driver.py +++ b/tribits/dashboard_driver/tdd_driver.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # Prerequisites: diff --git a/tribits/devtools_install/FindGeneralScriptSupport.py b/tribits/devtools_install/FindGeneralScriptSupport.py index 29982aa1d..4a4ef2156 100644 --- a/tribits/devtools_install/FindGeneralScriptSupport.py +++ b/tribits/devtools_install/FindGeneralScriptSupport.py @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER import os diff --git a/tribits/devtools_install/InstallProgramDriver.py b/tribits/devtools_install/InstallProgramDriver.py index b672c4fe6..5eea52ee0 100644 --- a/tribits/devtools_install/InstallProgramDriver.py +++ b/tribits/devtools_install/InstallProgramDriver.py @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER from FindGeneralScriptSupport import * diff --git a/tribits/devtools_install/install-autoconf.py b/tribits/devtools_install/install-autoconf.py index 73a77a22a..700a2a787 100755 --- a/tribits/devtools_install/install-autoconf.py +++ b/tribits/devtools_install/install-autoconf.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/devtools_install/install-cmake.py b/tribits/devtools_install/install-cmake.py index 795d2b29e..fbf07832a 100755 --- a/tribits/devtools_install/install-cmake.py +++ b/tribits/devtools_install/install-cmake.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/devtools_install/install-gcc.py b/tribits/devtools_install/install-gcc.py index 68d3c01fc..d2cd4fbd1 100755 --- a/tribits/devtools_install/install-gcc.py +++ b/tribits/devtools_install/install-gcc.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/devtools_install/install-git.py b/tribits/devtools_install/install-git.py index b8cabedf0..4a52a2d3d 100755 --- a/tribits/devtools_install/install-git.py +++ b/tribits/devtools_install/install-git.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/devtools_install/install-mpich.py b/tribits/devtools_install/install-mpich.py index 122dccb5d..529570f32 100755 --- a/tribits/devtools_install/install-mpich.py +++ b/tribits/devtools_install/install-mpich.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/devtools_install/install-openmpi.py b/tribits/devtools_install/install-openmpi.py index 83afcad37..cac874f66 100755 --- a/tribits/devtools_install/install-openmpi.py +++ b/tribits/devtools_install/install-openmpi.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # diff --git a/tribits/devtools_install/install_devtools.py b/tribits/devtools_install/install_devtools.py index 27383bc86..a84e4f0aa 100755 --- a/tribits/devtools_install/install_devtools.py +++ b/tribits/devtools_install/install_devtools.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # diff --git a/tribits/examples/MockTrilinos/CMakeLists.txt b/tribits/examples/MockTrilinos/CMakeLists.txt index 7fb43de86..40d2b4b0e 100644 --- a/tribits/examples/MockTrilinos/CMakeLists.txt +++ b/tribits/examples/MockTrilinos/CMakeLists.txt @@ -1,41 +1,3 @@ -# @HEADER -# ************************************************************************ -# -# TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ -# @HEADER cmake_minimum_required(VERSION 3.23.0 FATAL_ERROR) include(${CMAKE_SOURCE_DIR}/ProjectName.cmake) diff --git a/tribits/examples/MockTrilinos/CTestConfig.cmake b/tribits/examples/MockTrilinos/CTestConfig.cmake index bdad40164..58c546010 100644 --- a/tribits/examples/MockTrilinos/CTestConfig.cmake +++ b/tribits/examples/MockTrilinos/CTestConfig.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER include(SetDefaultAndFromEnv) diff --git a/tribits/examples/MockTrilinos/Copyright.txt b/tribits/examples/MockTrilinos/Copyright.txt deleted file mode 100644 index 70962ece0..000000000 --- a/tribits/examples/MockTrilinos/Copyright.txt +++ /dev/null @@ -1,38 +0,0 @@ -# @HEADER -# ************************************************************************ -# -# TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ -# @HEADER diff --git a/tribits/examples/MockTrilinos/ProjectName.cmake b/tribits/examples/MockTrilinos/ProjectName.cmake index 0ed8c58d4..eb6328553 100644 --- a/tribits/examples/MockTrilinos/ProjectName.cmake +++ b/tribits/examples/MockTrilinos/ProjectName.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER set(PROJECT_NAME Trilinos) diff --git a/tribits/examples/MockTrilinos/cmake/CallbackSetupExtraOptions.cmake b/tribits/examples/MockTrilinos/cmake/CallbackSetupExtraOptions.cmake index 2f8ef679a..2efdfa4d8 100644 --- a/tribits/examples/MockTrilinos/cmake/CallbackSetupExtraOptions.cmake +++ b/tribits/examples/MockTrilinos/cmake/CallbackSetupExtraOptions.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/examples/MockTrilinos/cmake/Reduced_preCopyrightTrilinos_PackagesList.cmake b/tribits/examples/MockTrilinos/cmake/Reduced_preCopyrightTrilinos_PackagesList.cmake index c2a5024e6..82e98c915 100644 --- a/tribits/examples/MockTrilinos/cmake/Reduced_preCopyrightTrilinos_PackagesList.cmake +++ b/tribits/examples/MockTrilinos/cmake/Reduced_preCopyrightTrilinos_PackagesList.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/examples/MockTrilinos/cmake/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/cmake/cmake/Dependencies.cmake index 72c4441c0..ba66d5073 100644 --- a/tribits/examples/MockTrilinos/cmake/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/cmake/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/extraRepoOnePackage/TPLsList.cmake b/tribits/examples/MockTrilinos/extraRepoOnePackage/TPLsList.cmake index 6964953a6..f9b1fb1a8 100644 --- a/tribits/examples/MockTrilinos/extraRepoOnePackage/TPLsList.cmake +++ b/tribits/examples/MockTrilinos/extraRepoOnePackage/TPLsList.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/examples/MockTrilinos/extraRepoOnePackage/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/extraRepoOnePackage/cmake/Dependencies.cmake index 094cc2412..cd5184eda 100644 --- a/tribits/examples/MockTrilinos/extraRepoOnePackage/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/extraRepoOnePackage/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/PackagesList.cmake b/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/PackagesList.cmake index ec1586a35..02cacbac9 100644 --- a/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/PackagesList.cmake +++ b/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/PackagesList.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_repository_define_packages( diff --git a/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/TPLsList.cmake b/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/TPLsList.cmake index e6019ab99..5ae0f1570 100644 --- a/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/TPLsList.cmake +++ b/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/TPLsList.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # Only for unit testing diff --git a/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/cmake/Dependencies.cmake index 3a768a42d..43ccb9a1c 100644 --- a/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/sp1/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/sp1/cmake/Dependencies.cmake index f4ff851ca..9cf1506a1 100644 --- a/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/sp1/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/sp1/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/sp2/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/sp2/cmake/Dependencies.cmake index 96525459a..4e889e337 100644 --- a/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/sp2/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/sp2/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/sp3/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/sp3/cmake/Dependencies.cmake index 5911ab851..496917f38 100644 --- a/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/sp3/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/extraRepoOnePackageThreeSubpackages/sp3/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/extraRepoTwoPackages/PackagesList.cmake b/tribits/examples/MockTrilinos/extraRepoTwoPackages/PackagesList.cmake index 591e9f98e..df61cda3a 100644 --- a/tribits/examples/MockTrilinos/extraRepoTwoPackages/PackagesList.cmake +++ b/tribits/examples/MockTrilinos/extraRepoTwoPackages/PackagesList.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/examples/MockTrilinos/extraRepoTwoPackages/TPLsList.cmake b/tribits/examples/MockTrilinos/extraRepoTwoPackages/TPLsList.cmake index 6964953a6..f9b1fb1a8 100644 --- a/tribits/examples/MockTrilinos/extraRepoTwoPackages/TPLsList.cmake +++ b/tribits/examples/MockTrilinos/extraRepoTwoPackages/TPLsList.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/examples/MockTrilinos/extraRepoTwoPackages/package1/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/extraRepoTwoPackages/package1/cmake/Dependencies.cmake index 1547bd362..0b2411bce 100644 --- a/tribits/examples/MockTrilinos/extraRepoTwoPackages/package1/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/extraRepoTwoPackages/package1/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER if (EXTRA_REPO_INCLUDE_MISSING_OPTIONAL_DEP_PACKAGE) diff --git a/tribits/examples/MockTrilinos/extraRepoTwoPackages/package2/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/extraRepoTwoPackages/package2/cmake/Dependencies.cmake index 66036414b..a3d4faa83 100644 --- a/tribits/examples/MockTrilinos/extraRepoTwoPackages/package2/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/extraRepoTwoPackages/package2/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER if (EXTRA_REPO_PACKAGE2_ADD_TEST_DEPS) diff --git a/tribits/examples/MockTrilinos/extraTrilinosRepo/PackagesList.cmake b/tribits/examples/MockTrilinos/extraTrilinosRepo/PackagesList.cmake index 16a2f1d4d..91eecf9f9 100644 --- a/tribits/examples/MockTrilinos/extraTrilinosRepo/PackagesList.cmake +++ b/tribits/examples/MockTrilinos/extraTrilinosRepo/PackagesList.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/examples/MockTrilinos/extraTrilinosRepo/extrapack/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/extraTrilinosRepo/extrapack/cmake/Dependencies.cmake index 4f110a48c..c7d4bad94 100644 --- a/tribits/examples/MockTrilinos/extraTrilinosRepo/extrapack/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/extraTrilinosRepo/extrapack/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/amesos/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/amesos/cmake/Dependencies.cmake index 278d1eee5..1be6a25e6 100644 --- a/tribits/examples/MockTrilinos/packages/amesos/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/amesos/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/aztecoo/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/aztecoo/cmake/Dependencies.cmake index b343a1e74..bd0c6d276 100644 --- a/tribits/examples/MockTrilinos/packages/aztecoo/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/aztecoo/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/belos/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/belos/cmake/Dependencies.cmake index 5e94ab463..4d2cb53a7 100644 --- a/tribits/examples/MockTrilinos/packages/belos/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/belos/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/epetra/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/epetra/cmake/Dependencies.cmake index 7903dd0fc..b95952557 100644 --- a/tribits/examples/MockTrilinos/packages/epetra/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/epetra/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/epetraext/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/epetraext/cmake/Dependencies.cmake index 274a1696c..3861bec99 100644 --- a/tribits/examples/MockTrilinos/packages/epetraext/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/epetraext/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/galeri/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/galeri/cmake/Dependencies.cmake index 12330ca1c..dec4a21e3 100644 --- a/tribits/examples/MockTrilinos/packages/galeri/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/galeri/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/ifpack/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/ifpack/cmake/Dependencies.cmake index d569e21e4..f70a958cf 100644 --- a/tribits/examples/MockTrilinos/packages/ifpack/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/ifpack/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/intrepid/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/intrepid/cmake/Dependencies.cmake index 69d0e1be4..183a8999a 100644 --- a/tribits/examples/MockTrilinos/packages/intrepid/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/intrepid/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/isorropia/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/isorropia/cmake/Dependencies.cmake index 18932502f..1cba51357 100644 --- a/tribits/examples/MockTrilinos/packages/isorropia/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/isorropia/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/ml/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/ml/cmake/Dependencies.cmake index 660aca525..e3ce942e7 100644 --- a/tribits/examples/MockTrilinos/packages/ml/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/ml/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/phalanx/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/phalanx/cmake/Dependencies.cmake index 78b908c94..eb1000cf5 100644 --- a/tribits/examples/MockTrilinos/packages/phalanx/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/phalanx/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/rbgen/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/rbgen/cmake/Dependencies.cmake index e93e0d7b0..eb644c126 100644 --- a/tribits/examples/MockTrilinos/packages/rbgen/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/rbgen/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/rtop/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/rtop/cmake/Dependencies.cmake index f7f14c720..42c83d45c 100644 --- a/tribits/examples/MockTrilinos/packages/rtop/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/rtop/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/sacado/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/sacado/cmake/Dependencies.cmake index 86f7d0704..ff697e731 100644 --- a/tribits/examples/MockTrilinos/packages/sacado/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/sacado/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/shards/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/shards/cmake/Dependencies.cmake index 984a88b81..efc8bdc37 100644 --- a/tribits/examples/MockTrilinos/packages/shards/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/shards/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/stokhos/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/stokhos/cmake/Dependencies.cmake index f4ff851ca..9cf1506a1 100644 --- a/tribits/examples/MockTrilinos/packages/stokhos/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/stokhos/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/stratimikos/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/stratimikos/cmake/Dependencies.cmake index 9b13a38f7..4dd7dfdc3 100644 --- a/tribits/examples/MockTrilinos/packages/stratimikos/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/stratimikos/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/thyra/adapters/epetra/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/thyra/adapters/epetra/cmake/Dependencies.cmake index 6ccc7a325..0f5f96c8a 100644 --- a/tribits/examples/MockTrilinos/packages/thyra/adapters/epetra/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/thyra/adapters/epetra/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/thyra/adapters/epetraext/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/thyra/adapters/epetraext/cmake/Dependencies.cmake index b5001f874..185bc75bc 100644 --- a/tribits/examples/MockTrilinos/packages/thyra/adapters/epetraext/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/thyra/adapters/epetraext/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/thyra/adapters/tpetra/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/thyra/adapters/tpetra/cmake/Dependencies.cmake index f4e013639..6baf14284 100644 --- a/tribits/examples/MockTrilinos/packages/thyra/adapters/tpetra/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/thyra/adapters/tpetra/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER set(SELF_SUBPACKAGE_DEP_REFERENCE) diff --git a/tribits/examples/MockTrilinos/packages/thyra/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/thyra/cmake/Dependencies.cmake index 979c351a4..689af9ac4 100644 --- a/tribits/examples/MockTrilinos/packages/thyra/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/thyra/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/thyra/src/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/thyra/src/cmake/Dependencies.cmake index 47d0717d0..a629a9649 100644 --- a/tribits/examples/MockTrilinos/packages/thyra/src/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/thyra/src/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/thyra/src/crazy_stuff/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/thyra/src/crazy_stuff/cmake/Dependencies.cmake index f55b3fb6c..eddb578a4 100644 --- a/tribits/examples/MockTrilinos/packages/thyra/src/crazy_stuff/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/thyra/src/crazy_stuff/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/thyra/src/good_stuff/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/thyra/src/good_stuff/cmake/Dependencies.cmake index 2bd5dcf6c..1b5584a63 100644 --- a/tribits/examples/MockTrilinos/packages/thyra/src/good_stuff/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/thyra/src/good_stuff/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/tpetra/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/tpetra/cmake/Dependencies.cmake index d25a06193..1f754d944 100644 --- a/tribits/examples/MockTrilinos/packages/tpetra/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/tpetra/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/triutils/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/triutils/cmake/Dependencies.cmake index 2ba53cb12..6c5578257 100644 --- a/tribits/examples/MockTrilinos/packages/triutils/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/triutils/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/packages/zoltan/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/packages/zoltan/cmake/Dependencies.cmake index 5d3bfcfe0..d2e4d6cd3 100644 --- a/tribits/examples/MockTrilinos/packages/zoltan/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/packages/zoltan/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER if (SHOW_INVALID_TPL_NAME_ERROR) diff --git a/tribits/examples/MockTrilinos/preCopyrightTrilinos/PackagesList.cmake b/tribits/examples/MockTrilinos/preCopyrightTrilinos/PackagesList.cmake index 1f4181589..4d2a0b4a9 100644 --- a/tribits/examples/MockTrilinos/preCopyrightTrilinos/PackagesList.cmake +++ b/tribits/examples/MockTrilinos/preCopyrightTrilinos/PackagesList.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_repository_define_packages( diff --git a/tribits/examples/MockTrilinos/preCopyrightTrilinos/TPLsList.cmake b/tribits/examples/MockTrilinos/preCopyrightTrilinos/TPLsList.cmake index 26c99811d..9d275b0ba 100644 --- a/tribits/examples/MockTrilinos/preCopyrightTrilinos/TPLsList.cmake +++ b/tribits/examples/MockTrilinos/preCopyrightTrilinos/TPLsList.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/examples/MockTrilinos/preCopyrightTrilinos/stalix/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/preCopyrightTrilinos/stalix/cmake/Dependencies.cmake index 9b5ca2c86..1b3629819 100644 --- a/tribits/examples/MockTrilinos/preCopyrightTrilinos/stalix/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/preCopyrightTrilinos/stalix/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER tribits_package_define_dependencies( diff --git a/tribits/examples/MockTrilinos/preCopyrightTrilinos/teko/cmake/Dependencies.cmake b/tribits/examples/MockTrilinos/preCopyrightTrilinos/teko/cmake/Dependencies.cmake index f5c01eb88..6d780e222 100644 --- a/tribits/examples/MockTrilinos/preCopyrightTrilinos/teko/cmake/Dependencies.cmake +++ b/tribits/examples/MockTrilinos/preCopyrightTrilinos/teko/cmake/Dependencies.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER set(INVALID_TESTING_PACKAGE_NAME) diff --git a/tribits/examples/ReducedMockTrilinos/ProjectName.cmake b/tribits/examples/ReducedMockTrilinos/ProjectName.cmake index 0ed8c58d4..eb6328553 100644 --- a/tribits/examples/ReducedMockTrilinos/ProjectName.cmake +++ b/tribits/examples/ReducedMockTrilinos/ProjectName.cmake @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER set(PROJECT_NAME Trilinos) diff --git a/tribits/examples/TribitsExampleProject/Copyright.txt b/tribits/examples/TribitsExampleProject/Copyright.txt deleted file mode 100644 index 70962ece0..000000000 --- a/tribits/examples/TribitsExampleProject/Copyright.txt +++ /dev/null @@ -1,38 +0,0 @@ -# @HEADER -# ************************************************************************ -# -# TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ -# @HEADER diff --git a/tribits/python_utils/CMakeBinaries.py b/tribits/python_utils/CMakeBinaries.py index 9bdeb5abe..6eeeb2e5d 100644 --- a/tribits/python_utils/CMakeBinaries.py +++ b/tribits/python_utils/CMakeBinaries.py @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # This file designates the officially supported versions of CMake for Trilinos. diff --git a/tribits/python_utils/CMakeVersions.py b/tribits/python_utils/CMakeVersions.py index 06684402c..1401eff52 100644 --- a/tribits/python_utils/CMakeVersions.py +++ b/tribits/python_utils/CMakeVersions.py @@ -1,40 +1,11 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Copyright (c) 2013-2016 NTESS # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # This file designates the officially supported versions of CMake for Trilinos. diff --git a/tribits/python_utils/GeneralScriptSupport.py b/tribits/python_utils/GeneralScriptSupport.py index edbec0179..36060fa9e 100644 --- a/tribits/python_utils/GeneralScriptSupport.py +++ b/tribits/python_utils/GeneralScriptSupport.py @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER """ diff --git a/tribits/python_utils/SnapshotDir.py b/tribits/python_utils/SnapshotDir.py index f7106da08..aafbe9411 100644 --- a/tribits/python_utils/SnapshotDir.py +++ b/tribits/python_utils/SnapshotDir.py @@ -1,40 +1,10 @@ # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # diff --git a/tribits/python_utils/download-cmake.py b/tribits/python_utils/download-cmake.py index 864a9f62d..48a92a580 100755 --- a/tribits/python_utils/download-cmake.py +++ b/tribits/python_utils/download-cmake.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # diff --git a/tribits/python_utils/extract_rst_cmake_doc.py b/tribits/python_utils/extract_rst_cmake_doc.py index a179712c5..703896ce0 100755 --- a/tribits/python_utils/extract_rst_cmake_doc.py +++ b/tribits/python_utils/extract_rst_cmake_doc.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER import sys diff --git a/tribits/python_utils/generic-looping-demon.py b/tribits/python_utils/generic-looping-demon.py index 5ecb44e0a..ab6cc52d4 100755 --- a/tribits/python_utils/generic-looping-demon.py +++ b/tribits/python_utils/generic-looping-demon.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/python_utils/mailmsg.py b/tribits/python_utils/mailmsg.py index b891c88b3..4c7017d69 100755 --- a/tribits/python_utils/mailmsg.py +++ b/tribits/python_utils/mailmsg.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # Usage: do-something ; mailmsg.py "something has happened" diff --git a/tribits/python_utils/mockprogram.py b/tribits/python_utils/mockprogram.py index 1b38cbc18..7813c23a9 100755 --- a/tribits/python_utils/mockprogram.py +++ b/tribits/python_utils/mockprogram.py @@ -1,42 +1,12 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER # diff --git a/tribits/python_utils/snapshot-dir.py b/tribits/python_utils/snapshot-dir.py index 577f9746a..76436dca4 100755 --- a/tribits/python_utils/snapshot-dir.py +++ b/tribits/python_utils/snapshot-dir.py @@ -1,41 +1,11 @@ #!/usr/bin/env python # @HEADER -# ************************************************************************ -# +# ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# ************************************************************************ +# Copyright 2013-2016 NTESS and the TriBITS contributors. +# SPDX-License-Identifier: BSD-3-Clause +# ***************************************************************************** # @HEADER diff --git a/tribits/win_interface/include/gettimeofday.c b/tribits/win_interface/include/gettimeofday.c index 5b1a5738c..3c9e4fff6 100644 --- a/tribits/win_interface/include/gettimeofday.c +++ b/tribits/win_interface/include/gettimeofday.c @@ -1,7 +1,16 @@ +// @HEADER +// ***************************************************************************** +// TriBITS: Tribal Build, Integrate, and Test System +// +// Copyright 2013-2016 NTESS and the TriBITS contributors. +// SPDX-License-Identifier: BSD-3-Clause +// ***************************************************************************** +// @HEADER + #include #include /* to get timeval struct */ -struct timezone +struct timezone { int tz_minuteswest; /* minutes W of Greenwich */ int tz_dsttime; /* type of dst correction */ @@ -17,22 +26,22 @@ static int gettimeofday(struct timeval *tv, struct timezone *tz) FILETIME ft; unsigned __int64 tmpres = 0; static int tzflag; - + if (NULL != tv) { GetSystemTimeAsFileTime(&ft); - + tmpres |= ft.dwHighDateTime; tmpres <<= 32; tmpres |= ft.dwLowDateTime; - + /*converting file time to unix epoch*/ tmpres /= 10; /*convert into microseconds*/ - tmpres -= DELTA_EPOCH_IN_MICROSECS; + tmpres -= DELTA_EPOCH_IN_MICROSECS; tv->tv_sec = (long)(tmpres / 1000000UL); tv->tv_usec = (long)(tmpres % 1000000UL); } - + if (NULL != tz) { if (!tzflag) @@ -43,7 +52,7 @@ static int gettimeofday(struct timeval *tv, struct timezone *tz) tz->tz_minuteswest = _timezone / 60; tz->tz_dsttime = _daylight; } - + return 0; } diff --git a/tribits/win_interface/include/strings.h b/tribits/win_interface/include/strings.h index 19f87be05..3dd0f609a 100644 --- a/tribits/win_interface/include/strings.h +++ b/tribits/win_interface/include/strings.h @@ -1,5 +1,14 @@ +// @HEADER +// ***************************************************************************** +// TriBITS: Tribal Build, Integrate, and Test System +// +// Copyright 2013-2016 NTESS and the TriBITS contributors. +// SPDX-License-Identifier: BSD-3-Clause +// ***************************************************************************** +// @HEADER + // On windows stricmp and strnicmp // are strcasecmp and strncasecmp, and are // include in other header files #define strcasecmp stricmp -#define strncasecmp strnicmp +#define strncasecmp strnicmp diff --git a/tribits/win_interface/include/winmath.h b/tribits/win_interface/include/winmath.h index 7a360d4cb..20f16c5a9 100644 --- a/tribits/win_interface/include/winmath.h +++ b/tribits/win_interface/include/winmath.h @@ -1,3 +1,12 @@ +// @HEADER +// ***************************************************************************** +// TriBITS: Tribal Build, Integrate, and Test System +// +// Copyright 2013-2016 NTESS and the TriBITS contributors. +// SPDX-License-Identifier: BSD-3-Clause +// ***************************************************************************** +// @HEADER + #ifndef WINMATH_H #define WINMATH_H @@ -82,7 +91,7 @@ inline double atanh(double x) } inline double round(double val) -{ +{ return floor(val + 0.5); } @@ -180,7 +189,7 @@ inline long double tgammal(long double z){ return return_val; } -// This function was adapted from a public domain implementation of erf +// This function was adapted from a public domain implementation of erf // which is available at http://www.johndcook.com/cpp_erf.html. The only // changes made were to change the type from double to float. inline float erff(float x) diff --git a/tribits/win_interface/include/winprocess.h b/tribits/win_interface/include/winprocess.h index d313c6d71..0be33d774 100644 --- a/tribits/win_interface/include/winprocess.h +++ b/tribits/win_interface/include/winprocess.h @@ -1,3 +1,12 @@ +// @HEADER +// ***************************************************************************** +// TriBITS: Tribal Build, Integrate, and Test System +// +// Copyright 2013-2016 NTESS and the TriBITS contributors. +// SPDX-License-Identifier: BSD-3-Clause +// ***************************************************************************** +// @HEADER + #ifdef _MSC_VER # define NOMINMAX # include @@ -7,5 +16,5 @@ inline void sleep(int sec) { Sleep(sec * 1000); } -#pragma comment(lib, "Ws2_32.lib") +#pragma comment(lib, "Ws2_32.lib") #endif From 44e7665af15199355af2bee4453913c37ac491b3 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Tue, 23 Jul 2024 12:26:53 -0600 Subject: [PATCH 02/74] Bring back Copyright.txt file since it is assumed/required by TriBITS builds/tests This is a fix from the last git format-patch/am of a commit created on the Trilinos side. The Copyright.txt file is expected in some of the TriBITS example project builds. The file: * tribits/Copyright.txt is created as a symlink from tribits/COPYRIGHT added in the laste commit. The files: * tribits/examples/MockTrilinos/Copyright.txt * tribits/examples/TribitsExampleProject/Copyright.txt were deleted in the last git format-path/am commit and are added back here from what is on TriBITS 'master'. --- tribits/Copyright.txt | 1 + tribits/examples/MockTrilinos/Copyright.txt | 38 +++++++++++++++++++ .../TribitsExampleProject/Copyright.txt | 38 +++++++++++++++++++ 3 files changed, 77 insertions(+) create mode 120000 tribits/Copyright.txt create mode 100644 tribits/examples/MockTrilinos/Copyright.txt create mode 100644 tribits/examples/TribitsExampleProject/Copyright.txt diff --git a/tribits/Copyright.txt b/tribits/Copyright.txt new file mode 120000 index 000000000..cf3af40f3 --- /dev/null +++ b/tribits/Copyright.txt @@ -0,0 +1 @@ +COPYRIGHT \ No newline at end of file diff --git a/tribits/examples/MockTrilinos/Copyright.txt b/tribits/examples/MockTrilinos/Copyright.txt new file mode 100644 index 000000000..70962ece0 --- /dev/null +++ b/tribits/examples/MockTrilinos/Copyright.txt @@ -0,0 +1,38 @@ +# @HEADER +# ************************************************************************ +# +# TriBITS: Tribal Build, Integrate, and Test System +# Copyright 2013 Sandia Corporation +# +# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +# the U.S. Government retains certain rights in this software. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# 3. Neither the name of the Corporation nor the names of the +# contributors may be used to endorse or promote products derived from +# this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# ************************************************************************ +# @HEADER diff --git a/tribits/examples/TribitsExampleProject/Copyright.txt b/tribits/examples/TribitsExampleProject/Copyright.txt new file mode 100644 index 000000000..70962ece0 --- /dev/null +++ b/tribits/examples/TribitsExampleProject/Copyright.txt @@ -0,0 +1,38 @@ +# @HEADER +# ************************************************************************ +# +# TriBITS: Tribal Build, Integrate, and Test System +# Copyright 2013 Sandia Corporation +# +# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +# the U.S. Government retains certain rights in this software. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# 3. Neither the name of the Corporation nor the names of the +# contributors may be used to endorse or promote products derived from +# this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY +# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE +# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# ************************************************************************ +# @HEADER From 026fd7d01cc4d06e7d94c0a60d7847a41f914f33 Mon Sep 17 00:00:00 2001 From: "Curtis C. Ober" Date: Fri, 26 Jul 2024 10:05:50 -0600 Subject: [PATCH 03/74] Add BSD-3-Clause to TriBITS LICENSE file This was taken from patch from Curt Ober (which is why he was selected as the author). --- tribits/LICENSE | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tribits/LICENSE b/tribits/LICENSE index 107d3f0d3..266ee2add 100644 --- a/tribits/LICENSE +++ b/tribits/LICENSE @@ -1,3 +1,5 @@ +SPDX-License-Identifier: BSD-3-Clause + Copyright (c) 2013 NTESS and the TriBITS contributors. Redistribution and use in source and binary forms, with or without From 3820f0bc987d35d00d24ac32ed888662024f6b16 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Tue, 30 Jul 2024 14:45:58 -0400 Subject: [PATCH 04/74] Provide better error message for tribits_asesrt_minimum_cmake_version() The current error messages seemed to suggest that the TriBITS version was too low. But this is an error message about the version of CMake being too long. --- tribits/core/common/TribitsConstants.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tribits/core/common/TribitsConstants.cmake b/tribits/core/common/TribitsConstants.cmake index 8c5906c78..26af761c3 100644 --- a/tribits/core/common/TribitsConstants.cmake +++ b/tribits/core/common/TribitsConstants.cmake @@ -14,8 +14,9 @@ set(TRIBITS_CMAKE_MINIMUM_REQUIRED 3.23.0) macro(tribits_asesrt_minimum_cmake_version) if (CMAKE_VERSION VERSION_LESS ${TRIBITS_CMAKE_MINIMUM_REQUIRED}) - message(FATAL_ERROR "Error, TriBiTS must have version" - " ${TRIBITS_CMAKE_MINIMUM_REQUIRED} or higher!") + message(FATAL_ERROR "Error, this TriBITS project ${PROJECT_NAME} must have a" + " version of CMake ${TRIBITS_CMAKE_MINIMUM_REQUIRED} or higher but was" + " only provided CMake version ${CMAKE_VERSION}!" ) endif() endmacro() From 2611d0ffd97c4232492b907f95766ad6c1d26a9c Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 26 Jul 2024 17:46:52 -0600 Subject: [PATCH 05/74] Use new copyright and license files files from TriBITS * Removed Copyright.txt file from MockTrilinos: That directory should never live outside of the TriBITS repo so it does not need its own Copyright.txt file since we don't generate a _version.h header file for MockTrilinos. --- tribits/examples/MockTrilinos/Copyright.txt | 38 --------------- .../TribitsExampleProject/Copyright.txt | 46 ++++--------------- .../examples/TribitsExampleProject/LICENSE | 37 ++++++++++++--- 3 files changed, 39 insertions(+), 82 deletions(-) delete mode 100644 tribits/examples/MockTrilinos/Copyright.txt diff --git a/tribits/examples/MockTrilinos/Copyright.txt b/tribits/examples/MockTrilinos/Copyright.txt deleted file mode 100644 index 70962ece0..000000000 --- a/tribits/examples/MockTrilinos/Copyright.txt +++ /dev/null @@ -1,38 +0,0 @@ -# @HEADER -# ************************************************************************ -# -# TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ -# @HEADER diff --git a/tribits/examples/TribitsExampleProject/Copyright.txt b/tribits/examples/TribitsExampleProject/Copyright.txt index 70962ece0..0113c98fa 100644 --- a/tribits/examples/TribitsExampleProject/Copyright.txt +++ b/tribits/examples/TribitsExampleProject/Copyright.txt @@ -1,38 +1,8 @@ -# @HEADER -# ************************************************************************ -# -# TriBITS: Tribal Build, Integrate, and Test System -# Copyright 2013 Sandia Corporation -# -# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, -# the U.S. Government retains certain rights in this software. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# 3. Neither the name of the Corporation nor the names of the -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ************************************************************************ -# @HEADER + TriBITS: Tribal Build, Integrate, and Test System + Copyright (c) 2013 NTESS + +Copyright 2013 National Technology & Engineering Solutions of Sandia, +LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the +U.S. Government retains certain rights in this software. + +Copyright the TriBITS contributors. diff --git a/tribits/examples/TribitsExampleProject/LICENSE b/tribits/examples/TribitsExampleProject/LICENSE index 8574da5f5..266ee2add 100644 --- a/tribits/examples/TribitsExampleProject/LICENSE +++ b/tribits/examples/TribitsExampleProject/LICENSE @@ -1,6 +1,31 @@ -TribitsExampleProject is part of the TriBITS system and is provided under a -very liberal 3-clause BSD-like license that is described in the file -~/Copyright.txt. All of the software under this directory is subject to the -conditions of this license by default unless otherwise noted in the individual -files or directories. In particular, there are no files that violate GPL or -any other licnese agreements that would limit distribution. +SPDX-License-Identifier: BSD-3-Clause + +Copyright (c) 2013 NTESS and the TriBITS contributors. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + 3. Neither the name of the copyright holder nor the names of + its contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. From 304480534c706441aba0d5fa46c8b7a935a76afd Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 26 Jul 2024 17:41:56 -0600 Subject: [PATCH 06/74] Raise min CMake version from 3.17 to 3.23 for base TriBITS project This was missed on the upgrade of CMake 3.17 to 3.23. See commit: 45b514ce "Update CMake min version from 3.17 to 3.23 (#411)" Author: Roscoe A. Bartlett Date: Sat Feb 25 07:01:29 2023 -0700 (1 year, 5 months ago) CMake 3.23 was already required by TriBITS so this just makes it consistent. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aa2037f4f..7f1f5b2f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ if (NOT TRIBITS_PROCESSING_PACKAGE) # This CMakeLists.txt file is being processed as the TriBITS projects's base # CMakeLists.txt file! (See comments at bottom of this file.) - cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) + cmake_minimum_required(VERSION 3.23.0 FATAL_ERROR) include("${CMAKE_CURRENT_SOURCE_DIR}/ProjectName.cmake") project(${PROJECT_NAME} NONE) set(${PROJECT_NAME}_TRIBITS_DIR "${CMAKE_CURRENT_SOURCE_DIR}/tribits" CACHE PATH "") From 81d54f60843327f1c36ebb25f8f6fd556bf017c0 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 26 Jul 2024 17:47:25 -0600 Subject: [PATCH 07/74] Use python3 for all local dev TriBITS builds (TriBITSPub/TriBITS#610) --- dev_testing/generic/do-configure-mpi-debug | 1 + 1 file changed, 1 insertion(+) diff --git a/dev_testing/generic/do-configure-mpi-debug b/dev_testing/generic/do-configure-mpi-debug index afe95538f..75294f1d5 100755 --- a/dev_testing/generic/do-configure-mpi-debug +++ b/dev_testing/generic/do-configure-mpi-debug @@ -27,6 +27,7 @@ fi cmake \ -D CMAKE_BUILD_TYPE:STRING="DEBUG" \ +-D PYTHON_EXECUTABLE=$(which python3) \ -D TPL_ENABLE_MPI:BOOL=ON \ -D TriBITS_ENABLE_Fortran:BOOL=ON \ -D TriBITS_ENABLE_TESTS:BOOL=ON \ From b8709bc21837560d3fb9bd6c3197d615806eaab1 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 26 Jul 2024 17:53:07 -0600 Subject: [PATCH 08/74] Change from python to python3 (TriBITSPub/TriBITS#610) This allows all of these Python scripts to run on more modern systems where 'python3' is the name of the Python interpreter executable. --- .../example_cdash_analyze_and_report_random_failures.py | 2 +- test/ci_support/example_test_failure_github_issue.py | 2 +- test/doc/sphinx_rst_generator_UnitTests.py | 2 +- test/python_utils/gitdist_UnitTests.py | 2 +- test/python_utils/lower_case_cmake_UnitTests.py | 2 +- test/python_utils/utils/return_input.py | 2 +- tribits/ci_support/TribitsDependencies.py | 2 +- tribits/ci_support/cdash_analyze_and_report.py | 2 +- tribits/ci_support/cdash_build_testing_date.py | 2 +- tribits/ci_support/checkin-test.py | 2 +- tribits/ci_support/clone_extra_repos.py | 2 +- tribits/ci_support/dump-package-dep-table.py | 2 +- tribits/ci_support/filter-packages-list.py | 2 +- tribits/ci_support/get-tribits-packages-from-files-list.py | 2 +- .../ci_support/get-tribits-packages-from-last-tests-failed.py | 2 +- tribits/ci_support/get-tribits-packages.py | 2 +- tribits/ci_support/is_checkin_tested_commit.py | 2 +- tribits/core/test_support/TribitsAddAdvancedTest.cmake | 2 +- tribits/ctest_driver/dump-cdash-deps-xml-file.py | 2 +- tribits/dashboard_driver/tdd_driver.py | 2 +- tribits/devtools_install/install-autoconf.py | 2 +- tribits/devtools_install/install-cmake.py | 2 +- tribits/devtools_install/install-gcc.py | 2 +- tribits/devtools_install/install-git.py | 2 +- tribits/devtools_install/install-mpich.py | 2 +- tribits/devtools_install/install-openmpi.py | 2 +- tribits/devtools_install/install_devtools.py | 2 +- tribits/doc/build_ref/create-project-build-ref.py | 2 +- .../packages/wrap_external/external_func/configure.py | 2 +- tribits/python_utils/download-cmake.py | 2 +- tribits/python_utils/extract_rst_cmake_doc.py | 2 +- tribits/python_utils/generate-docutils-output.py | 2 +- tribits/python_utils/generic-looping-demon.py | 2 +- tribits/python_utils/gitdist.py | 2 +- tribits/python_utils/lower_case_cmake.py | 2 +- tribits/python_utils/mailmsg.py | 2 +- tribits/python_utils/mockprogram.py | 2 +- tribits/python_utils/snapshot-dir.py | 2 +- tribits/python_utils/tree.py | 2 +- 39 files changed, 39 insertions(+), 39 deletions(-) diff --git a/test/ci_support/example_cdash_analyze_and_report_random_failures.py b/test/ci_support/example_cdash_analyze_and_report_random_failures.py index 6c93f5dd0..bf3a2d6c8 100755 --- a/test/ci_support/example_cdash_analyze_and_report_random_failures.py +++ b/test/ci_support/example_cdash_analyze_and_report_random_failures.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import argparse diff --git a/test/ci_support/example_test_failure_github_issue.py b/test/ci_support/example_test_failure_github_issue.py index 06a43ed30..abacb9d4d 100755 --- a/test/ci_support/example_test_failure_github_issue.py +++ b/test/ci_support/example_test_failure_github_issue.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import sys diff --git a/test/doc/sphinx_rst_generator_UnitTests.py b/test/doc/sphinx_rst_generator_UnitTests.py index 0c5338e33..47def44d4 100644 --- a/test/doc/sphinx_rst_generator_UnitTests.py +++ b/test/doc/sphinx_rst_generator_UnitTests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @HEADER # ************************************************************************ diff --git a/test/python_utils/gitdist_UnitTests.py b/test/python_utils/gitdist_UnitTests.py index 1e7dd99b4..684534264 100644 --- a/test/python_utils/gitdist_UnitTests.py +++ b/test/python_utils/gitdist_UnitTests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @HEADER # ************************************************************************ diff --git a/test/python_utils/lower_case_cmake_UnitTests.py b/test/python_utils/lower_case_cmake_UnitTests.py index 43adf03a3..67ce64b78 100644 --- a/test/python_utils/lower_case_cmake_UnitTests.py +++ b/test/python_utils/lower_case_cmake_UnitTests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ################################################################################ diff --git a/test/python_utils/utils/return_input.py b/test/python_utils/utils/return_input.py index 89ed4cd79..a8a45af1c 100755 --- a/test/python_utils/utils/return_input.py +++ b/test/python_utils/utils/return_input.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ************************************************************************ diff --git a/tribits/ci_support/TribitsDependencies.py b/tribits/ci_support/TribitsDependencies.py index fae95321a..2ba8d611e 100644 --- a/tribits/ci_support/TribitsDependencies.py +++ b/tribits/ci_support/TribitsDependencies.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/ci_support/cdash_analyze_and_report.py b/tribits/ci_support/cdash_analyze_and_report.py index 6062f4526..9f64282df 100755 --- a/tribits/ci_support/cdash_analyze_and_report.py +++ b/tribits/ci_support/cdash_analyze_and_report.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/ci_support/cdash_build_testing_date.py b/tribits/ci_support/cdash_build_testing_date.py index 1791e68da..fb2fb04ee 100755 --- a/tribits/ci_support/cdash_build_testing_date.py +++ b/tribits/ci_support/cdash_build_testing_date.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/ci_support/checkin-test.py b/tribits/ci_support/checkin-test.py index b7132ea32..23d95e307 100755 --- a/tribits/ci_support/checkin-test.py +++ b/tribits/ci_support/checkin-test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/ci_support/clone_extra_repos.py b/tribits/ci_support/clone_extra_repos.py index 0b7d457c6..cc2d6f5cf 100755 --- a/tribits/ci_support/clone_extra_repos.py +++ b/tribits/ci_support/clone_extra_repos.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/ci_support/dump-package-dep-table.py b/tribits/ci_support/dump-package-dep-table.py index 7bfe11fe3..216a7c2f7 100755 --- a/tribits/ci_support/dump-package-dep-table.py +++ b/tribits/ci_support/dump-package-dep-table.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/ci_support/filter-packages-list.py b/tribits/ci_support/filter-packages-list.py index 6bb1f7fea..8a70816c4 100755 --- a/tribits/ci_support/filter-packages-list.py +++ b/tribits/ci_support/filter-packages-list.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/ci_support/get-tribits-packages-from-files-list.py b/tribits/ci_support/get-tribits-packages-from-files-list.py index 342f95cdb..6cb76171d 100755 --- a/tribits/ci_support/get-tribits-packages-from-files-list.py +++ b/tribits/ci_support/get-tribits-packages-from-files-list.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/ci_support/get-tribits-packages-from-last-tests-failed.py b/tribits/ci_support/get-tribits-packages-from-last-tests-failed.py index 3f322e1c5..8e9d6d0e2 100755 --- a/tribits/ci_support/get-tribits-packages-from-last-tests-failed.py +++ b/tribits/ci_support/get-tribits-packages-from-last-tests-failed.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/ci_support/get-tribits-packages.py b/tribits/ci_support/get-tribits-packages.py index 1f5c0e8b7..6454ad55d 100755 --- a/tribits/ci_support/get-tribits-packages.py +++ b/tribits/ci_support/get-tribits-packages.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/ci_support/is_checkin_tested_commit.py b/tribits/ci_support/is_checkin_tested_commit.py index 19a68702e..e09ced5be 100755 --- a/tribits/ci_support/is_checkin_tested_commit.py +++ b/tribits/ci_support/is_checkin_tested_commit.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/core/test_support/TribitsAddAdvancedTest.cmake b/tribits/core/test_support/TribitsAddAdvancedTest.cmake index 3a6aa01dc..3f853da63 100644 --- a/tribits/core/test_support/TribitsAddAdvancedTest.cmake +++ b/tribits/core/test_support/TribitsAddAdvancedTest.cmake @@ -345,7 +345,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/../utils/PrintVar.cmake") # instead. **WARNING:** If you want to run such tests using valgrind, you # have to use the raw executable as the ```` argument and *not* # the script. For example, if you have a python script -# ``my_python_test.py`` with ``/usr/bin/env python`` at the top, you can't +# ``my_python_test.py`` with ``/usr/bin/env python3`` at the top, you can't # just use:: # # CMND /my_python_test.py ARGS "" "" ... diff --git a/tribits/ctest_driver/dump-cdash-deps-xml-file.py b/tribits/ctest_driver/dump-cdash-deps-xml-file.py index 3ebc60cd4..ceeebe807 100755 --- a/tribits/ctest_driver/dump-cdash-deps-xml-file.py +++ b/tribits/ctest_driver/dump-cdash-deps-xml-file.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/dashboard_driver/tdd_driver.py b/tribits/dashboard_driver/tdd_driver.py index 099c6b2a9..3d68026f4 100755 --- a/tribits/dashboard_driver/tdd_driver.py +++ b/tribits/dashboard_driver/tdd_driver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/devtools_install/install-autoconf.py b/tribits/devtools_install/install-autoconf.py index 700a2a787..88b9974ac 100755 --- a/tribits/devtools_install/install-autoconf.py +++ b/tribits/devtools_install/install-autoconf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/devtools_install/install-cmake.py b/tribits/devtools_install/install-cmake.py index fbf07832a..2c69291d1 100755 --- a/tribits/devtools_install/install-cmake.py +++ b/tribits/devtools_install/install-cmake.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/devtools_install/install-gcc.py b/tribits/devtools_install/install-gcc.py index d2cd4fbd1..e2ab794da 100755 --- a/tribits/devtools_install/install-gcc.py +++ b/tribits/devtools_install/install-gcc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/devtools_install/install-git.py b/tribits/devtools_install/install-git.py index 4a52a2d3d..3a9ee1ba4 100755 --- a/tribits/devtools_install/install-git.py +++ b/tribits/devtools_install/install-git.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/devtools_install/install-mpich.py b/tribits/devtools_install/install-mpich.py index 529570f32..172f2383f 100755 --- a/tribits/devtools_install/install-mpich.py +++ b/tribits/devtools_install/install-mpich.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/devtools_install/install-openmpi.py b/tribits/devtools_install/install-openmpi.py index cac874f66..0d975be7f 100755 --- a/tribits/devtools_install/install-openmpi.py +++ b/tribits/devtools_install/install-openmpi.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/devtools_install/install_devtools.py b/tribits/devtools_install/install_devtools.py index a84e4f0aa..0f308469b 100755 --- a/tribits/devtools_install/install_devtools.py +++ b/tribits/devtools_install/install_devtools.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/doc/build_ref/create-project-build-ref.py b/tribits/doc/build_ref/create-project-build-ref.py index ce0ee6a92..acd76c59a 100755 --- a/tribits/doc/build_ref/create-project-build-ref.py +++ b/tribits/doc/build_ref/create-project-build-ref.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 usageHelp = r"""create-project-build-ref.py [options] diff --git a/tribits/examples/TribitsExampleProject/packages/wrap_external/external_func/configure.py b/tribits/examples/TribitsExampleProject/packages/wrap_external/external_func/configure.py index 9da2e1347..bdbba413e 100755 --- a/tribits/examples/TribitsExampleProject/packages/wrap_external/external_func/configure.py +++ b/tribits/examples/TribitsExampleProject/packages/wrap_external/external_func/configure.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import os diff --git a/tribits/python_utils/download-cmake.py b/tribits/python_utils/download-cmake.py index 48a92a580..5a9a96f6b 100755 --- a/tribits/python_utils/download-cmake.py +++ b/tribits/python_utils/download-cmake.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/python_utils/extract_rst_cmake_doc.py b/tribits/python_utils/extract_rst_cmake_doc.py index 703896ce0..016757aae 100755 --- a/tribits/python_utils/extract_rst_cmake_doc.py +++ b/tribits/python_utils/extract_rst_cmake_doc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/python_utils/generate-docutils-output.py b/tribits/python_utils/generate-docutils-output.py index 27fc8aa77..bb70709d7 100755 --- a/tribits/python_utils/generate-docutils-output.py +++ b/tribits/python_utils/generate-docutils-output.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 usageHelp = r"""generate-docutils-output.py --file-base= [options] diff --git a/tribits/python_utils/generic-looping-demon.py b/tribits/python_utils/generic-looping-demon.py index ab6cc52d4..5494278e3 100755 --- a/tribits/python_utils/generic-looping-demon.py +++ b/tribits/python_utils/generic-looping-demon.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/python_utils/gitdist.py b/tribits/python_utils/gitdist.py index 6800e2e20..e10b6716f 100755 --- a/tribits/python_utils/gitdist.py +++ b/tribits/python_utils/gitdist.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # diff --git a/tribits/python_utils/lower_case_cmake.py b/tribits/python_utils/lower_case_cmake.py index ea769dbdb..454cabdd8 100755 --- a/tribits/python_utils/lower_case_cmake.py +++ b/tribits/python_utils/lower_case_cmake.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys diff --git a/tribits/python_utils/mailmsg.py b/tribits/python_utils/mailmsg.py index 4c7017d69..220c39b4d 100755 --- a/tribits/python_utils/mailmsg.py +++ b/tribits/python_utils/mailmsg.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/python_utils/mockprogram.py b/tribits/python_utils/mockprogram.py index 7813c23a9..05b898b22 100755 --- a/tribits/python_utils/mockprogram.py +++ b/tribits/python_utils/mockprogram.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** diff --git a/tribits/python_utils/snapshot-dir.py b/tribits/python_utils/snapshot-dir.py index 76436dca4..e2cf687ea 100755 --- a/tribits/python_utils/snapshot-dir.py +++ b/tribits/python_utils/snapshot-dir.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ***************************************************************************** # TriBITS: Tribal Build, Integrate, and Test System diff --git a/tribits/python_utils/tree.py b/tribits/python_utils/tree.py index 15047bf6f..720ece043 100755 --- a/tribits/python_utils/tree.py +++ b/tribits/python_utils/tree.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # tree.py # From f6af16ee80ba5681d548a4ffc6035fa6bc2eeff0 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 26 Jul 2024 19:11:48 -0600 Subject: [PATCH 09/74] Increase global timeout from 85 to 100 sec on crf450 For some reason, tests are taking longer on crf450 now and some are timing out. My memory was that ctest -j16 was taking about 2.5 minutes but now it is taking over 6 minutes. Therefore, I needed to increase the timeout to get them to pass. --- dev_testing/crf450/mpi-debug/do-configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev_testing/crf450/mpi-debug/do-configure b/dev_testing/crf450/mpi-debug/do-configure index d18b58eab..c121756ba 100755 --- a/dev_testing/crf450/mpi-debug/do-configure +++ b/dev_testing/crf450/mpi-debug/do-configure @@ -14,7 +14,7 @@ if [ "$TRIBITS_BASE_DIR" == "" ] ; then fi ${TRIBITS_BASE_DIR}/dev_testing/generic/do-configure-mpi-debug \ --DDART_TESTING_TIMEOUT=85 \ +-DDART_TESTING_TIMEOUT=100 \ -DCTEST_PARALLEL_LEVEL=16 \ -DTriBITS_CTEST_DRIVER_COVERAGE_TESTS=TRUE \ -DTriBITS_CTEST_DRIVER_MEMORY_TESTS=TRUE \ From 957794e9944df518955efccf824c0848ec144d16 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 26 Jul 2024 19:51:13 -0600 Subject: [PATCH 10/74] Add TriBITS test drivers for cee-rhel8 machines with AUE modules --- dev_testing/cee-rhel8/do-configure.mpi-debug | 72 +++++++++++++++++++ .../cee-rhel8/load-env.clang-16.0.6.sh | 7 ++ 2 files changed, 79 insertions(+) create mode 100755 dev_testing/cee-rhel8/do-configure.mpi-debug create mode 100644 dev_testing/cee-rhel8/load-env.clang-16.0.6.sh diff --git a/dev_testing/cee-rhel8/do-configure.mpi-debug b/dev_testing/cee-rhel8/do-configure.mpi-debug new file mode 100755 index 000000000..f0fe28451 --- /dev/null +++ b/dev_testing/cee-rhel8/do-configure.mpi-debug @@ -0,0 +1,72 @@ +#!/bin/bash + +if [ -d CMakeFiles ] ; then + rm -r CMakeFiles +fi +if [ -e CMakeCache.txt ] ; then + rm CMakeCache.txt +fi + +if [ "$TRIBITS_BASE_DIR" == "" ] ; then + _ABS_FILE_PATH=`readlink -f $0` + _SCRIPT_DIR=`dirname $_ABS_FILE_PATH` + TRIBITS_BASE_DIR=$_SCRIPT_DIR/../.. +fi + +tribits_install_test_dir=/tmp/rabartl/tribits_install_tests +if [ -d "${tribits_install_test_dir}" ] ; then + echo "Makedir ${tribits_install_test_dir}" + mkdir ${tribits_install_test_dir} +fi + +${TRIBITS_BASE_DIR}/dev_testing/generic/do-configure-mpi-debug \ +-DDART_TESTING_TIMEOUT=100 \ +-DCTEST_PARALLEL_LEVEL=16 \ +-DTriBITS_CTEST_DRIVER_COVERAGE_TESTS=TRUE \ +-DTriBITS_CTEST_DRIVER_MEMORY_TESTS=TRUE \ +-DTriBITS_ENABLE_CONFIGURE_TIMING=ON \ +-DTriBITS_ENABLE_PACKAGE_CONFIGURE_TIMING=ON \ +-DTribitsExProj_INSTALL_BASE_DIR=${tribits_install_test_dir} \ +-DTribitsExProj_INSTALL_OWNING_GROUP=wg-sems-users-son \ +-DTriBITS_ENABLE_REAL_GIT_CLONE_TESTS=ON \ +-DTriBITS_SHOW_TEST_START_END_DATE_TIME=ON \ +"$@" + +#-DTriBITS_CTEST_DRIVER_COVERAGE_TESTS=TRUE \ +#-DTriBITS_CTEST_DRIVER_MEMORY_TESTS=TRUE \ + +#-DTriBITS_ENABLE_DOC_GENERATION_TESTS=ON + +# To submit to testing.sandia.gov/cdash set: +# +# -DTriBITS_CTEST_DRIVER_SUBMIT_TO=TESTING_SANDIA_CDASH + +# To submit to testing-dev.sandia.gov/cdash set: +# +# -DTriBITS_CTEST_DRIVER_SUBMIT_TO=TESTING_DEV_SANDIA_CDASH + +# To submit to exp.cdash.org set: +# +# -DTriBITS_CTEST_DRIVER_SUBMIT_TO=EXP_CDASH + +# To submit to arbitrary CDash site (e.g. testing-dev.sandia.gov/cdash) set: +# +# -DTriBITS_CTEST_DRIVER_SUBMIT_TO=CUSTOM +# -DTriBITS_CTEST_DRIVER_SUBMIT_DROP_SITE=testing-dev.sandia.gov +# -DTriBITS_CTEST_DRIVER_SUBMIT_DROP_LOCATION="/cdash/submit.php?project=TribitsExProj" + +# NOTE: Add -DTriBITS_ENABLE_REAL_GIT_CLONE_TESTS=ON to test cloning TriBITS +# Example repos and testing the clone features of the various tools. To get +# this to work on SNL machines, one may need to switch from +# 'https://github.com/' to 'git@github.com:' using: +# +# export TribitsExMetaProj_GIT_URL_REPO_BASE=git@github.com:tribits/ +# +# before configuring. +# +# NOTE: The directory /tmp/tribits_install_tests above was created beforehand with: +# +# $ mkdir /tmp/tribits_install_tests +# +# One can allow another user to create the directory with a shared group for +# more testing. diff --git a/dev_testing/cee-rhel8/load-env.clang-16.0.6.sh b/dev_testing/cee-rhel8/load-env.clang-16.0.6.sh new file mode 100644 index 000000000..86549eda9 --- /dev/null +++ b/dev_testing/cee-rhel8/load-env.clang-16.0.6.sh @@ -0,0 +1,7 @@ +module purge +module load aue/cmake/3.27.7 +module load aue/ninja/1.11.1 +module load aue/clang/16.0.6 +module load aue/openmpi/4.1.6-clang-16.0.6 + +export TribitsExMetaProj_GIT_URL_REPO_BASE=git@github.com:tribits/ From 9657e4fe6bce842ab4d5007911c617e79bfb741e Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Wed, 31 Jul 2024 10:38:45 -0600 Subject: [PATCH 11/74] Port some tests to Clang 16.0.6 that only worked with GNU There are many other tests that are disabled for non-GNU compilers but it least this gets us started on porting the TriBITS tests to work with the Clang compiler. --- .../TribitsExampleProject_Tests.cmake | 53 ++++++++++++------- .../TribitsHelloWorld_Tests.cmake | 2 +- 2 files changed, 36 insertions(+), 19 deletions(-) diff --git a/test/core/ExamplesUnitTests/TribitsExampleProject_Tests.cmake b/test/core/ExamplesUnitTests/TribitsExampleProject_Tests.cmake index 651ba2f4f..7fc507096 100644 --- a/test/core/ExamplesUnitTests/TribitsExampleProject_Tests.cmake +++ b/test/core/ExamplesUnitTests/TribitsExampleProject_Tests.cmake @@ -34,29 +34,46 @@ else() set(REGEX_FOR_GITIGNORE) endif() - -if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0) - set(DEPRECATED_WARNING_1_STR - "‘int SimpleCxx::HelloWorld::someOldFunc.. const’ is deprecated .declared at .*/TribitsExampleProject/packages/simple_cxx/src/SimpleCxx_HelloWorld.hpp:" - ) - if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.5) - # Only versions 4.5+ support this feature - set(DEPRECATED_MSG_STR ".* .Just don't call this function at all please!") +print_var(CMAKE_CXX_COMPILER_VERSION) + + +if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0) + set(DEPRECATED_WARNING_1_STR + "‘int SimpleCxx::HelloWorld::someOldFunc.. const’ is deprecated .declared at .*/TribitsExampleProject/packages/simple_cxx/src/SimpleCxx_HelloWorld.hpp:" + ) + if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.5) + # Only versions 4.5+ support this feature + set(DEPRECATED_MSG_STR ".* .Just don't call this function at all please!") + else() + set(DEPRECATED_MSG_STR "") + endif() + set(DEPRECATED_WARNING_2_STR + "‘int SimpleCxx::HelloWorld::someOldFunc2.. const’ is deprecated .declared at .*/TribitsExampleProject/packages/simple_cxx/src/SimpleCxx_HelloWorld.hpp:${DEPRECATED_MSG_STR}" + ) else() - set(DEPRECATED_MSG_STR) + set(DEPRECATED_WARNING_1_STR + ".*/TribitsExampleProject/packages/simple_cxx/src/SimpleCxx_HelloWorld.cpp:.*: warning: .*someOldFunc.* is deprecated" + ) + set(DEPRECATED_WARNING_2_STR + ".*/TribitsExampleProject/packages/simple_cxx/src/SimpleCxx_HelloWorld.cpp:.*: warning: .*someOldFunc2.* is deprecated: .Just don.t call this function at all please." + ) endif() - set(DEPRECATED_WARNING_2_STR - "‘int SimpleCxx::HelloWorld::someOldFunc2.. const’ is deprecated .declared at .*/TribitsExampleProject/packages/simple_cxx/src/SimpleCxx_HelloWorld.hpp:${DEPRECATED_MSG_STR}" - ) -else() +elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") set(DEPRECATED_WARNING_1_STR - ".*/TribitsExampleProject/packages/simple_cxx/src/SimpleCxx_HelloWorld.cpp:.*: warning: .*int SimpleCxx::HelloWorld::someOldFunc.. const.* is deprecated" - ) - set(DEPRECATED_WARNING_2_STR - ".*/TribitsExampleProject/packages/simple_cxx/src/SimpleCxx_HelloWorld.cpp:.*: warning: .*int SimpleCxx::HelloWorld::someOldFunc2.. const.* is deprecated: .Just don.t call this function at all please." + "simple_cxx/src/SimpleCxx_HelloWorld.hpp:.*:.*: note: 'someOldFunc' has been explicitly marked deprecated here" ) + set(DEPRECATED_MSG_STR + "SIMPLECXX_DEPRECATED_MSG[(].Just don't call this function at all please..[)]") +else() + message(SEND_ERROR "Error, the CMAKE_CXX_COMPILER_ID='${CMAKE_CXX_COMPILER_ID}'" + " and CMAKE_CXX_COMPILER_VERSION='${CMAKE_CXX_COMPILER_VERSION}' is not covered" + " for setting DEPRECATED_WARNING_1_STR!") endif() +print_var(DEPRECATED_WARNING_1_STR) +print_var(DEPRECATED_MSG_STR) +print_var(DEPRECATED_WARNING_2_STR) set(LabelsForSubprojects_CMND_AND_ARGS grep ARGS "^LabelsForSubprojects:" DartConfiguration.tcl) @@ -416,7 +433,7 @@ function(TribitsExampleProject_ALL_ST_NoFortran sharedOrStatic serialOrMpi) "TribitsExProj_CXX_FLAGS = ''" "TribitsExProj_C_FLAGS = ''" "TribitsExProj_Fortran_FLAGS = ''" - "TribitsExProj_EXTRA_LD_FLAGS = ''" + "TribitsExProj_EXTRA_LD_FLAGS = '" # This is non-empty on some platforms but we can't know what it is :-( "TribitsExProj_SHARED_LIB_RPATH_COMMAND = '${TribitsExProj_SHARED_LIB_RPATH_COMMAND_REGEX}'" "TribitsExProj_BUILD_SHARED_LIBS = '${BUILD_SHARED_LIBS_VAL}'" "TribitsExProj_LINKER = '.*'" diff --git a/test/core/ExamplesUnitTests/TribitsHelloWorld_Tests.cmake b/test/core/ExamplesUnitTests/TribitsHelloWorld_Tests.cmake index cc20316c8..bbfb22eef 100644 --- a/test/core/ExamplesUnitTests/TribitsHelloWorld_Tests.cmake +++ b/test/core/ExamplesUnitTests/TribitsHelloWorld_Tests.cmake @@ -871,7 +871,7 @@ tribits_add_advanced_test( TribitsHelloWorld_install_config_dummy_proj "TribitsHelloWorld_C_FLAGS = ''" "TribitsHelloWorld_Fortran_FLAGS = ''" "TribitsHelloWorld_FORTRAN_FLAGS = ''" - "TribitsHelloWorld_EXTRA_LD_FLAGS = ''" + "TribitsHelloWorld_EXTRA_LD_FLAGS = '" # This is not empty on some platforms but we can't check the value! "TribitsHelloWorld_SHARED_LIB_RPATH_COMMAND = ''" "TribitsHelloWorld_BUILD_SHARED_LIBS = 'FALSE'" "TribitsHelloWorld_LINKER = '.*'" From 6a9be763c5632ce246f13b16f4189fcd07425bf5 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Thu, 1 Aug 2024 11:12:14 -0600 Subject: [PATCH 12/74] Add codespell ignore for emacs cache files *~ We don't want to be spell checking these temp files --- .codespellrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.codespellrc b/.codespellrc index 7b86e0d45..1d9d7ebf1 100644 --- a/.codespellrc +++ b/.codespellrc @@ -3,5 +3,5 @@ check-filenames = check-hidden = # Disable warnings about binary files quiet-level = 2 -skip = */.git,*/common_tools/cloc,*/TriBITSDoc,*/tribits/doc/guides/rst2latex.tex,*/*.js,*/*.svg,*/tribits/doc/sphinx/*/index.html +skip = */.git,*/common_tools/cloc,*/TriBITSDoc,*/tribits/doc/guides/rst2latex.tex,*/*.js,*/*.svg,*/tribits/doc/sphinx/*/index.html,*~ ignore-words-list = thur,inout,te,nd,lod,aci,nin,nnumber,wile,reall,bu,somewhere From a0eab2605f067f269f7adc3a9530c3c0ac8063bc Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Wed, 31 Jul 2024 17:49:27 -0600 Subject: [PATCH 13/74] Add AUE GNU 10.3.0 env I tried to use the AUE GNU 12.3.0 env but there was a problem with one of the installed openmpi files. There must be some corruption with one of those files. --- dev_testing/cee-rhel8/load-env.gnu-10.3.0.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 dev_testing/cee-rhel8/load-env.gnu-10.3.0.sh diff --git a/dev_testing/cee-rhel8/load-env.gnu-10.3.0.sh b/dev_testing/cee-rhel8/load-env.gnu-10.3.0.sh new file mode 100644 index 000000000..d029a4db0 --- /dev/null +++ b/dev_testing/cee-rhel8/load-env.gnu-10.3.0.sh @@ -0,0 +1,7 @@ +module purge +module load aue/cmake/3.27.7 +module load aue/ninja/1.11.1 +module load aue/gcc/10.3.0 +module load aue/openmpi/4.1.6-gcc-10.3.0 + +export TribitsExMetaProj_GIT_URL_REPO_BASE=git@github.com:tribits/ From 4d173b0bf168273ec845b06f9b8ebe9262db5e88 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Wed, 31 Jul 2024 18:08:35 -0600 Subject: [PATCH 14/74] Move setting of HAS_PYTHON3 where it will be used This was not having any impact on enabling tests. Now this will enable the tests that depend on this var. Now we will see if those tests pass! --- test/doc/CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/doc/CMakeLists.txt b/test/doc/CMakeLists.txt index 22043296a..f3244bde4 100644 --- a/test/doc/CMakeLists.txt +++ b/test/doc/CMakeLists.txt @@ -1,3 +1,10 @@ +if (PYTHON_VERSION_MAJOR GREATER_EQUAL 3) + set(HAS_PYTHON3 TRUE) +else() + set(HAS_PYTHON3 FALSE) +endif() + + advanced_set( ${PROJECT_NAME}_ENABLE_DOC_GENERATION_TESTS OFF CACHE BOOL "Enable testing for the build of the documentation. Requires docutils and will blow away and rebuild the existing documentation in the source tree since the documentation builds in place." ) @@ -82,10 +89,3 @@ if (build_docs_test_name AND build_sphinx_docs_test_name) # RUN_SERIAL because they take a long time to run and we don't want to stop # other TriBITS tests from running at the same time as these two. endif() - - -if (PYTHON_VERSION_MAJOR GREATER_EQUAL 3) - set(HAS_PYTHON3 TRUE) -else() - set(HAS_PYTHON3 FALSE) -endif() From b1835e5999255accd3b61fa3ad3e9d247045fbf4 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Thu, 1 Aug 2024 11:55:15 -0600 Subject: [PATCH 15/74] Fix RPATH tests for GNU 10.3.0 on CEE RHEL8 machines For some reason, a different path is put before the RPATHS being grepped for in the binary lib. These tests should allow that. We just need to see the desired RPATHS in those binaries. --- test/core/ExamplesUnitTests/RPATH_Handling_Tests.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/core/ExamplesUnitTests/RPATH_Handling_Tests.cmake b/test/core/ExamplesUnitTests/RPATH_Handling_Tests.cmake index d6665d38f..4156563af 100644 --- a/test/core/ExamplesUnitTests/RPATH_Handling_Tests.cmake +++ b/test/core/ExamplesUnitTests/RPATH_Handling_Tests.cmake @@ -71,7 +71,7 @@ if (CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin") set(RPATH_GREP_STR "@rpath/libsimplecxx[.].*[.]dylib;@rpath/libsimpletpl[.]dylib") elseif (CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux") set(RPATH_GREP_STR - "R.*PATH *${RPATH_CURRENT_TEST_DIR}/install/lib:${SimpleTpl_install_SHARED_DIR}/install/lib") + "R.*PATH *.*${RPATH_CURRENT_TEST_DIR}/install/lib:${SimpleTpl_install_SHARED_DIR}/install/lib") # NOTE: Above matches both RPATH and RUNPATH which are used on different # Linux systems. endif() @@ -149,7 +149,7 @@ if (CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin") set(RPATH_GREP_STR "@rpath/libsimplecxx[.].*[.]dylib;@rpath/libsimpletpl[.]dylib") elseif (CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux") set(RPATH_GREP_STR - "R.*PATH *${SimpleTpl_install_SHARED_DIR}/install/lib") + "R.*PATH *.*${SimpleTpl_install_SHARED_DIR}/install/lib") endif() tribits_add_advanced_test( TribitsExampleProject_SimpleTpl_RPATH_no_SET_INSTALL_RPATH @@ -221,7 +221,7 @@ if (CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin") set(RPATH_GREP_STR "@rpath/libsimplecxx[.].*[.]dylib;@rpath/libsimpletpl[.]dylib") elseif (CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux") set(RPATH_GREP_STR - "R.*PATH *${RPATH_CURRENT_TEST_DIR}/install2/nonstd_lib_location:${SimpleTpl_install_SHARED_DIR}/install/lib") + "R.*PATH *.*${RPATH_CURRENT_TEST_DIR}/install2/nonstd_lib_location:${SimpleTpl_install_SHARED_DIR}/install/lib") endif() tribits_add_advanced_test( TribitsExampleProject_SimpleTpl_RPATH_CMAKE_INSTALL_RPATH From 9fd3aa2df97eca6ad0543bdc08648591daaec1d3 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Thu, 1 Aug 2024 14:08:04 -0600 Subject: [PATCH 16/74] Attempt to get test TriBITS_sphinx_rst_generator_UnitTests to run and pass This test was not being run because the var HAS_PYTHON3 was not set in the correct place so it was always disabled and printed: -- TriBITS_sphinx_rst_generator_UnitTests: NOT added test because EXCLUDE_IF_NOT_TRUE HAS_PYTHON3=''! A previous commit on this branch set HAS_PYTHON3 correctly, but this test was broken at a structural level. The right arguments were not even being passed into the function being unit tested (which is fixed in this commit). It is not clear when this test got broken because it was not being run. The test is currently failing with the error: Traceback (most recent call last): File "/gpfs/rabartl/Trilinos.base/Trilinos/TriBITS/test/doc/sphinx_rst_generator_UnitTests.py", line 95, in test_1 copy_file=True) File "/gpfs/rabartl/Trilinos.base/Trilinos/TriBITS/tribits/doc/sphinx/sphinx_rst_generator.py", line 55, in change_paths_and_get_includes copyfile(src=abs_path, dst=new_path, follow_symlinks=True) File "/usr/lib64/python3.6/shutil.py", line 120, in copyfile with open(src, 'rb') as fsrc: FileNotFoundError: [Errno 2] No such file or directory: '/gpfs/rabartl/Trilinos.base/Trilinos/TriBITS/test/examples/TribitsExampleProject/ProjectName.cmake' I don't have time to figure this code out and fix it right now. --- test/doc/sphinx_rst_generator_UnitTests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/doc/sphinx_rst_generator_UnitTests.py b/test/doc/sphinx_rst_generator_UnitTests.py index 47def44d4..f4479f952 100644 --- a/test/doc/sphinx_rst_generator_UnitTests.py +++ b/test/doc/sphinx_rst_generator_UnitTests.py @@ -91,7 +91,8 @@ def test_1(self): rst_dir = os.path.join(tribitsDir,'doc','sphinx','copied_files') (abs_path_str, include_file_list) = SRG.change_paths_and_get_includes( source_file=source_file, src_file_path=src_file_path, - start_path=start_path, rst_dir=rst_dir, copy_file=True) + start_path=start_path, rst_dir=rst_dir, tribits_base_dir=tribitsDir, + copy_file=True) #print("abs_path_str = "+str(abs_path_str)) #print("include_file_list = "+str(include_file_list)) self.maxDiff = None From 6958311bcd0e13857a64e18a5a4b1560f93185a7 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Thu, 1 Aug 2024 14:27:47 -0600 Subject: [PATCH 17/74] Set DISABLED property on test TriBITS_sphinx_rst_generator_UnitTests This way, we will see that the test is disabled when you first configure and it will submit the disabled test to CDash. --- test/doc/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test/doc/CMakeLists.txt b/test/doc/CMakeLists.txt index f3244bde4..7e2a9ef24 100644 --- a/test/doc/CMakeLists.txt +++ b/test/doc/CMakeLists.txt @@ -18,6 +18,7 @@ tribits_add_advanced_test( sphinx_rst_generator_UnitTests ARGS ${CMAKE_CURRENT_SOURCE_DIR}/sphinx_rst_generator_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" ALWAYS_FAIL_ON_NONZERO_RETURN + DISABLED "Test is broken for long time, see commit c477daa1" ) From 1cee30f1bed679dc88ea434824809492d5ad478c Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Thu, 1 Aug 2024 14:44:00 -0600 Subject: [PATCH 18/74] Update help string for TriBITS_ENABLE_DOC_GENERATION_TESTS I added mention of needing to install sphinx and sphinx-rd-theme in order to run the sphinx-based tests. --- test/doc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/doc/CMakeLists.txt b/test/doc/CMakeLists.txt index 7e2a9ef24..eefba9d2c 100644 --- a/test/doc/CMakeLists.txt +++ b/test/doc/CMakeLists.txt @@ -7,7 +7,7 @@ endif() advanced_set( ${PROJECT_NAME}_ENABLE_DOC_GENERATION_TESTS OFF CACHE BOOL - "Enable testing for the build of the documentation. Requires docutils and will blow away and rebuild the existing documentation in the source tree since the documentation builds in place." ) + "Enable testing for the build of the documentation, including using Sphinx. Requires docutils, sphinx, and sphinx-rd-theme and will blow away and rebuild the existing documentation in the source tree since the documentation builds in place. Therefore, one must be careful to not blow away non-tracked files." ) tribits_add_advanced_test( sphinx_rst_generator_UnitTests From 6fd4bafdfd031fad23da38a40bfc08ea59b3068d Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Thu, 1 Aug 2024 14:45:36 -0600 Subject: [PATCH 19/74] Narrow git clean -xdf to just the tribits/doc directory Just being careful to not remove more files than is needed. --- test/doc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/doc/CMakeLists.txt b/test/doc/CMakeLists.txt index eefba9d2c..d5d83994e 100644 --- a/test/doc/CMakeLists.txt +++ b/test/doc/CMakeLists.txt @@ -53,7 +53,7 @@ tribits_add_advanced_test( build_sphinx_docs GIT_EXECUTABLE OVERALL_NUM_MPI_PROCS 1 TEST_0 MESSAGE "Clean out any prior build of the docs" - CMND ${GIT_EXECUTABLE} ARGS clean -xdf + CMND ${GIT_EXECUTABLE} ARGS clean -xdf -- . WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tribits/doc SKIP_CLEAN_WORKING_DIRECTORY # Don't delete our source tree! TEST_1 MESSAGE "Build the sphinx documentation" From 2e90c0797e26ae2cfb95d5eb33c44b392a872f6c Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 30 Aug 2024 12:30:36 -0600 Subject: [PATCH 20/74] Fix and include doc for tribits_get_package_enable_status() in users/maintainers guide I had forgotten to do this when I wrote this code and this documentation. This is an important function that defines how TriBITS treats internal and external packages in a uniform way. I also fixed some typos on the documentation. --- .../core/package_arch/TribitsGetPackageEnableStatus.cmake | 8 ++++---- tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake b/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake index 2cfeb4946..5d99b5f84 100644 --- a/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake +++ b/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake @@ -10,8 +10,8 @@ # @FUNCTION: tribits_get_package_enable_status() # -# Function that determines if a given external or internal package's enable -# status (e.g. 'ON' or 'OFF') +# Function that determines a given external or internal package's enable +# status (e.g. 'ON' or 'OFF' or any valid CMake bool) # # Usage:: # @@ -21,8 +21,8 @@ # On return, if non-empty, the variable ```` will contain # the actual value of ``${${PROJECT_NAME}_ENABLE_}`` or # ``${TPL_ENABLE_}`` or will return empty "". If -# ``${packageName}_PACKAGE_BUILD_STATUS == "INTERNAL", then only the value of -# ``${PROJECT_NAME}_ENABLE_`` will be considered. +# ``${packageName}_PACKAGE_BUILD_STATUS == "INTERNAL"``, then only the value +# of ``${PROJECT_NAME}_ENABLE_`` will be considered. # # On return, if non-empty, the variable ```` will be # either ``${${PROJECT_NAME}_ENABLE_}`` or diff --git a/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst b/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst index 15e079ea7..f5618c6d6 100644 --- a/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst +++ b/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst @@ -31,6 +31,7 @@ @FUNCTION: tribits_find_most_recent_binary_file_timestamp() + @FUNCTION: tribits_find_most_recent_file_timestamp() + @FUNCTION: tribits_find_most_recent_source_file_timestamp() + +@FUNCTION: tribits_get_package_enable_status() + @FUNCTION: tribits_install_headers() + @MACRO: tribits_include_directories() + @MACRO: tribits_pkg_export_cache_var() + From ddae17412f85d3a4db8e886f21989997490e401c Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 30 Aug 2024 14:40:53 -0600 Subject: [PATCH 21/74] Add new function tribits_package_is_not_explicitly_disabled() This makes the logic in the code a little more understandable I think. I was looking over the code and I thought that this could be improved. This will get used in more code in future commits. NOTE: This gets tested through existing tests by usage in higher-level code (like the DependencyUnitTests tests). We will also need other functions like this to make the code more self-documenting. I also: * Added a tailing impl comment to help try to explain something. * Put the documented functions back in alphabetical order (moved tribits_process_enabled_standard_tpl()). --- .../TribitsAdjustPackageEnables.cmake | 16 ++++++++--- .../TribitsGetPackageEnableStatus.cmake | 28 +++++++++++++++++++ .../TribitsMacroFunctionDocTemplate.rst | 3 +- 3 files changed, 42 insertions(+), 5 deletions(-) diff --git a/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake b/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake index 120f2f65d..04b4c0ccb 100644 --- a/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake +++ b/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake @@ -426,12 +426,14 @@ macro(tribits_disable_parents_subpackages parentPackageName) set(subpkgFullName ${parentPackageName}${tap2_subPkgName}) - if (NOT ${PROJECT_NAME}_ENABLE_${subpkgFullName} STREQUAL "OFF") - set(packageBeingDisabledVarName ${PROJECT_NAME}_ENABLE_${subpkgFullName}) + set(subpkgBeingDisabledVarName ${PROJECT_NAME}_ENABLE_${subpkgFullName}) + tribits_package_is_not_explicitly_disabled(${subpkgBeingDisabledVarName} + subpkgIsNotExplicitlyDisabled) + if (subpkgIsNotExplicitlyDisabled) message("-- " - "Setting subpackage enable ${packageBeingDisabledVarName}=OFF" + "Setting subpackage enable ${subpkgBeingDisabledVarName}=OFF" " because parent package ${PROJECT_NAME}_ENABLE_${parentPackageName}=OFF") - set(${packageBeingDisabledVarName} OFF) + set(${subpkgBeingDisabledVarName} OFF) endif() endforeach() @@ -439,6 +441,12 @@ macro(tribits_disable_parents_subpackages parentPackageName) endif() endmacro() +# +# NOTE: Above, we don't need to use the function +# tribits_get_package_enable_status() because a subpackage in this context +# will never be an external package and therefore the enable var name will +# always be ${PROJECT_NAME}_ENABLE_${subpkgFullName}. (At least I can't think +# of a use case where that would occur.) # Macro that disables forward package that depends on the passed-in package diff --git a/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake b/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake index 5d99b5f84..ab046e2bd 100644 --- a/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake +++ b/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake @@ -61,6 +61,34 @@ function(tribits_get_package_enable_status packageName packageEnableOut endfunction() +# @FUNCTION: tribits_package_is_not_explicitly_disabled() +# +# Function that determines if a package's enable variable is **not** +# explicitly disabled (i.e. is empty or evaluates to true). +# +# Usage:: +# +# tribits_package_is_not_explicitly_disabled(( +# ) +# +# On return, the value of ```` will set to +# ``TRUE`` if the variable ```` is empty "" or if it +# evaluates to true in CMake. Otherwise, +# ```` will set to ``FALSE`` on return. +# +function(tribits_package_is_not_explicitly_disabled packageEnableVarName + packageIsNotExplicitlyDisabledOut + ) + if (("${${packageEnableVarName}}" STREQUAL "") OR ${packageEnableVarName}) + set(packageIsNotExplicitlyDisabled TRUE) + else() + set(packageIsNotExplicitlyDisabled FALSE) + endif() + set(${packageIsNotExplicitlyDisabledOut} ${packageIsNotExplicitlyDisabled} + PARENT_SCOPE) +endfunction() + + # @FUNCTION: tribits_assert_package_enable_status() # # Function that asserts that if both ``${PROJECT_NAME}_ENABLE_${packageName}`` diff --git a/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst b/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst index f5618c6d6..2db51625f 100644 --- a/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst +++ b/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst @@ -39,9 +39,10 @@ @MACRO: tribits_package_decl() + @MACRO: tribits_package_def() + @MACRO: tribits_package_define_dependencies() + +@MACRO: tribits_process_enabled_standard_tpl() + +@FUNCTION: tribits_package_is_not_explicitly_disabled() + @MACRO: tribits_package_postprocess() + @MACRO: tribits_process_subpackages() + -@MACRO: tribits_process_enabled_standard_tpl() + @MACRO: tribits_project() + @MACRO: tribits_project_define_extra_repositories() + @MACRO: tribits_project_enable_all() + From c84ee479489d5926e6b53508c37bd927237b756d Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 30 Aug 2024 15:41:37 -0600 Subject: [PATCH 22/74] Add new function tribits_package_is_explicitly_disabled() This makes the code more understandable. NOTE: There is no specific unit test for this but it is tested indirectly through higher-level code and tests (like DependencyUnitTests tests). --- .../TribitsAdjustPackageEnables.cmake | 7 +++-- .../TribitsGetPackageEnableStatus.cmake | 28 +++++++++++++++++++ .../TribitsMacroFunctionDocTemplate.rst | 1 + 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake b/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake index 04b4c0ccb..ccf0621f3 100644 --- a/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake +++ b/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake @@ -418,9 +418,10 @@ endmacro() # macro(tribits_disable_parents_subpackages parentPackageName) - if(NOT ${PROJECT_NAME}_ENABLE_${parentPackageName} - AND (NOT ${PROJECT_NAME}_ENABLE_${parentPackageName} STREQUAL "") - ) + tribits_package_is_explicitly_disabled(${PROJECT_NAME}_ENABLE_${parentPackageName} + parentPackageIsExplicityDisabled) + + if(parentPackageIsExplicityDisabled) foreach(tap2_subPkgName IN LISTS ${parentPackageName}_SUBPACKAGES) diff --git a/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake b/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake index ab046e2bd..2240142fb 100644 --- a/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake +++ b/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake @@ -61,6 +61,34 @@ function(tribits_get_package_enable_status packageName packageEnableOut endfunction() +# @FUNCTION: tribits_package_is_explicitly_disabled() +# +# Function that determines if a package's enable variable is +# explicitly disabled (i.e. evaluates to false but is not emapty). +# +# Usage:: +# +# tribits_package_is_explicitly_disabled(( +# ) +# +# On return, the value of ```` will set to +# ``TRUE`` if the variable ```` evaluates to false and +# is not empty "". Otherwise, ```` will set +# to ``FALSE`` on return. +# +function(tribits_package_is_explicitly_disabled packageEnableVarName + packageIsExplicitlyDisabledOut + ) + if ((NOT ${packageEnableVarName}) AND (NOT "${${packageEnableVarName}}" STREQUAL "")) + set(packageIsExplicitlyDisabled TRUE) + else() + set(packageIsExplicitlyDisabled FALSE) + endif() + set(${packageIsExplicitlyDisabledOut} ${packageIsExplicitlyDisabled} + PARENT_SCOPE) +endfunction() + + # @FUNCTION: tribits_package_is_not_explicitly_disabled() # # Function that determines if a package's enable variable is **not** diff --git a/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst b/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst index 2db51625f..b9f257677 100644 --- a/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst +++ b/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst @@ -40,6 +40,7 @@ @MACRO: tribits_package_def() + @MACRO: tribits_package_define_dependencies() + @MACRO: tribits_process_enabled_standard_tpl() + +@FUNCTION: tribits_package_is_explicitly_disabled() + @FUNCTION: tribits_package_is_not_explicitly_disabled() + @MACRO: tribits_package_postprocess() + @MACRO: tribits_process_subpackages() + From 7d0e8e8d36f1678853bf3897137b44bc14404dc9 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 30 Aug 2024 15:47:39 -0600 Subject: [PATCH 23/74] Remove the function tribits_package_is_not_explicitly_disabled() You don't need a function tribits_package_is_not_explicitly_disabled() if you have a function tribits_package_is_explicitly_disabled(). The code is just a clear if you NOT the variable being returned from tribits_package_is_explicitly_disabled() --- .../TribitsAdjustPackageEnables.cmake | 6 ++-- .../TribitsGetPackageEnableStatus.cmake | 28 ------------------- .../TribitsMacroFunctionDocTemplate.rst | 1 - 3 files changed, 3 insertions(+), 32 deletions(-) diff --git a/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake b/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake index ccf0621f3..cf4ab88af 100644 --- a/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake +++ b/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake @@ -428,9 +428,9 @@ macro(tribits_disable_parents_subpackages parentPackageName) set(subpkgFullName ${parentPackageName}${tap2_subPkgName}) set(subpkgBeingDisabledVarName ${PROJECT_NAME}_ENABLE_${subpkgFullName}) - tribits_package_is_not_explicitly_disabled(${subpkgBeingDisabledVarName} - subpkgIsNotExplicitlyDisabled) - if (subpkgIsNotExplicitlyDisabled) + tribits_package_is_explicitly_disabled(${subpkgBeingDisabledVarName} + subpkgIExplicitlyDisabled) + if (NOT subpkgIsExplicitlyDisabled) message("-- " "Setting subpackage enable ${subpkgBeingDisabledVarName}=OFF" " because parent package ${PROJECT_NAME}_ENABLE_${parentPackageName}=OFF") diff --git a/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake b/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake index 2240142fb..aaa3bf827 100644 --- a/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake +++ b/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake @@ -89,34 +89,6 @@ function(tribits_package_is_explicitly_disabled packageEnableVarName endfunction() -# @FUNCTION: tribits_package_is_not_explicitly_disabled() -# -# Function that determines if a package's enable variable is **not** -# explicitly disabled (i.e. is empty or evaluates to true). -# -# Usage:: -# -# tribits_package_is_not_explicitly_disabled(( -# ) -# -# On return, the value of ```` will set to -# ``TRUE`` if the variable ```` is empty "" or if it -# evaluates to true in CMake. Otherwise, -# ```` will set to ``FALSE`` on return. -# -function(tribits_package_is_not_explicitly_disabled packageEnableVarName - packageIsNotExplicitlyDisabledOut - ) - if (("${${packageEnableVarName}}" STREQUAL "") OR ${packageEnableVarName}) - set(packageIsNotExplicitlyDisabled TRUE) - else() - set(packageIsNotExplicitlyDisabled FALSE) - endif() - set(${packageIsNotExplicitlyDisabledOut} ${packageIsNotExplicitlyDisabled} - PARENT_SCOPE) -endfunction() - - # @FUNCTION: tribits_assert_package_enable_status() # # Function that asserts that if both ``${PROJECT_NAME}_ENABLE_${packageName}`` diff --git a/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst b/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst index b9f257677..c6b1e4768 100644 --- a/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst +++ b/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst @@ -41,7 +41,6 @@ @MACRO: tribits_package_define_dependencies() + @MACRO: tribits_process_enabled_standard_tpl() + @FUNCTION: tribits_package_is_explicitly_disabled() + -@FUNCTION: tribits_package_is_not_explicitly_disabled() + @MACRO: tribits_package_postprocess() + @MACRO: tribits_process_subpackages() + @MACRO: tribits_project() + From 5d4e5b2dd10214cf8e421856c4eb71736e560ff5 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 30 Aug 2024 16:08:01 -0600 Subject: [PATCH 24/74] Add new function tribits_package_is_enabled_or_unset() This helps to make the code more clear. NOTE: This is tested as part of higher-level code and tests (e.g. DependencyUnitTests tests). --- .../TribitsAdjustPackageEnables.cmake | 4 ++- .../TribitsGetPackageEnableStatus.cmake | 28 +++++++++++++++++++ .../TribitsMacroFunctionDocTemplate.rst | 1 + 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake b/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake index cf4ab88af..f43490eac 100644 --- a/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake +++ b/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake @@ -945,7 +945,9 @@ macro(tribits_private_disable_required_package_enables fwdDepPkgName packageName libraryDep ) tribits_get_package_enable_status(${fwdDepPkgName} "" fwdDepPkgEnableVarName) - if (${fwdDepPkgEnableVarName} OR "${${fwdDepPkgEnableVarName}}" STREQUAL "") + tribits_package_is_enabled_or_unset(${fwdDepPkgEnableVarName} + fwdDepPkgIsEnabledOrUnset) + if (fwdDepPkgIsEnabledOrUnset) if ("${libraryDep}" STREQUAL "TRUE") tribits_private_print_disable_required_package_enable( ${packageName} ${fwdDepPkgEnableVarName} diff --git a/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake b/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake index aaa3bf827..062c44c35 100644 --- a/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake +++ b/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake @@ -61,6 +61,34 @@ function(tribits_get_package_enable_status packageName packageEnableOut endfunction() +# @FUNCTION: tribits_package_is_enabled_or_unset() +# +# Function that determines if a package's enable variable evaluates to true or +# is unset. +# +# Usage:: +# +# tribits_package_is_enabled_or_unset(( +# ) +# +# On return, the value of ```` will set to +# ``TRUE`` if the variable ```` evaluates to true and +# or is empty "". Otherwise, ```` will set +# to ``FALSE`` on return. +# +function(tribits_package_is_enabled_or_unset packageEnableVarName + packageIsEnabledOrUnsetOut + ) + if (${packageEnableVarName} OR ("${${packageEnableVarName}}" STREQUAL "")) + set(packageIsEnabledOrUnset TRUE) + else() + set(packageIsEnabledOrUnset FALSE) + endif() + set(${packageIsEnabledOrUnsetOut} ${packageIsEnabledOrUnset} + PARENT_SCOPE) +endfunction() + + # @FUNCTION: tribits_package_is_explicitly_disabled() # # Function that determines if a package's enable variable is diff --git a/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst b/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst index c6b1e4768..1546777bf 100644 --- a/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst +++ b/tribits/doc/guides/TribitsMacroFunctionDocTemplate.rst @@ -40,6 +40,7 @@ @MACRO: tribits_package_def() + @MACRO: tribits_package_define_dependencies() + @MACRO: tribits_process_enabled_standard_tpl() + +@FUNCTION: tribits_package_is_enabled_or_unset() + @FUNCTION: tribits_package_is_explicitly_disabled() + @MACRO: tribits_package_postprocess() + @MACRO: tribits_process_subpackages() + From dadc3e56a4b4a8a82d8f11873597146807c5f5ba Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 30 Aug 2024 16:29:33 -0600 Subject: [PATCH 25/74] Remove tribits_set_package_enable_based_on_project_enable() Turns out the function tribits_set_package_enable_based_on_project_enable() was never called to default disable a package. I updated the one call to this function to call tribits_set_package_enable_based_on_project_enable_on() instead. --- .../TribitsAdjustPackageEnables.cmake | 35 +++---------------- 1 file changed, 4 insertions(+), 31 deletions(-) diff --git a/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake b/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake index f43490eac..7fb527bd5 100644 --- a/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake +++ b/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake @@ -522,7 +522,7 @@ macro(tribits_apply_all_package_enables packageName) tribits_implicit_package_enable_is_allowed( "" ${packageName} processThisPackageEnable ) if (packageIsPmpp AND processThisPackageEnable) - tribits_set_package_enable_based_on_project_enable( + tribits_enable_package_based_on_project_enable_on( ${PROJECT_NAME}_ENABLE_ALL_PACKAGES ${PROJECT_NAME}_ENABLE_${packageName} ) endif() endmacro() @@ -608,9 +608,9 @@ macro(tribits_apply_test_example_enables packageName) if (${PROJECT_NAME}_ENABLE_${packageName}) tribits_is_primary_meta_project_package(${packageName} packageIsPmmp) if (packageIsPmmp) - tribits_set_package_enable_based_on_project_enable_on( + tribits_enable_package_based_on_project_enable_on( ${PROJECT_NAME}_ENABLE_TESTS ${packageName}_ENABLE_TESTS ) - tribits_set_package_enable_based_on_project_enable_on( + tribits_enable_package_based_on_project_enable_on( ${PROJECT_NAME}_ENABLE_EXAMPLES ${packageName}_ENABLE_EXAMPLES ) endif() endif() @@ -1059,37 +1059,10 @@ macro(tribits_private_disable_optional_package_enables fwdDepPkgName packageNa endmacro() -# Set an individual package variable enable variable (to ON or OFF) based on a -# global enable value -# -macro(tribits_set_package_enable_based_on_project_enable projectEnableVar - packageEnableVar - ) - - if ("${${packageEnableVar}}" STREQUAL "") - if (${projectEnableVar}) - message("-- " "Setting ${packageEnableVar}=ON") - set(${packageEnableVar} ON) - elseif ( (NOT ${projectEnableVar}) - AND (NOT "${projectEnableVar}" STREQUAL "") - ) - message("-- " "Setting ${packageEnableVar}=OFF") - set(${packageEnableVar} OFF) - else() - # Otherwise, we will leave it up the the individual package - # to decide? - endif() - else() - # "${packageEnableVar} not at the default empty '' - endif() - -endmacro() - - # Set an individual package test or examples enable to on only if global # enable var is on # -macro(tribits_set_package_enable_based_on_project_enable_on projectEnableVar +macro(tribits_enable_package_based_on_project_enable_on projectEnableVar packageEnableVar ) if (("${${packageEnableVar}}" STREQUAL "") AND ${projectEnableVar}) From 36a1fba0158b1df8fa477968812243fc292b1b50 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 30 Aug 2024 15:51:46 -0600 Subject: [PATCH 26/74] Use tribits_package_is_xxx() functions in more places * Use tribits_package_is_explicitly_disabled() * Use tribits_package_is_enabled_or_unset() --- .../TribitsAdjustPackageEnables.cmake | 56 ++++++++++--------- 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake b/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake index 7fb527bd5..d62d67fbb 100644 --- a/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake +++ b/tribits/core/package_arch/TribitsAdjustPackageEnables.cmake @@ -454,7 +454,8 @@ endmacro() # macro(tribits_disable_forward_required_dep_packages packageName) tribits_get_package_enable_status(${packageName} packageEnable "") - if ((NOT packageEnable) AND (NOT "${packageEnable}" STREQUAL "")) + tribits_package_is_explicitly_disabled(packageEnable packageIsExplicitlyDisabled) + if (packageIsExplicitlyDisabled) foreach(fwdDepPkg IN LISTS ${packageName}_FORWARD_LIB_DEFINED_DEPENDENCIES) if (${fwdDepPkg}_LIB_DEP_REQUIRED_${packageName}) tribits_private_disable_required_package_enables(${fwdDepPkg} @@ -484,13 +485,13 @@ macro(tribits_enable_parents_subpackages parentPackageName) foreach(tap2_subPkgName IN LISTS ${parentPackageName}_SUBPACKAGES) set(subpkgFullName ${parentPackageName}${tap2_subPkgName}) + tribits_package_is_explicitly_disabled(${PROJECT_NAME}_ENABLE_${subpkgFullName} + subpkgIsExplicitlyDisabled) - if (NOT ${PROJECT_NAME}_ENABLE_${subpkgFullName} AND - NOT "${${PROJECT_NAME}_ENABLE_${subpkgFullName}}" STREQUAL "" - ) - # The subpackage is already disabled and is not just empty! + if (subpkgIsExplicitlyDisabled) + # The subpackage is already explicitly disabled elseif (${PROJECT_NAME}_ENABLE_${subpkgFullName}) - # The subpackage is already enabled so there is no reason to enable it! + # The subpackage is already enabled so there is no reason to enable it else() # The subpackage is not hard off or on so turn it on by default tribits_implicit_package_enable_is_allowed( "" ${subpkgFullName} @@ -557,8 +558,9 @@ endmacro() # ${parentPackageName)_ENABLE_TESTS is explicitly disabled. # macro(tribits_apply_package_examples_disable parentPackageName) - if ( (NOT ${parentPackageName}_ENABLE_TESTS) - AND (NOT "${${parentPackageName}_ENABLE_TESTS}" STREQUAL "") + tribits_package_is_explicitly_disabled(${parentPackageName}_ENABLE_TESTS + parentPackageTestsIsExplicitlyDisabled) + if (parentPackageTestsIsExplicitlyDisabled AND ("${${parentPackageName}_ENABLE_EXAMPLES}" STREQUAL "") ) message("-- " "Setting" @@ -583,7 +585,9 @@ macro(tribits_apply_subpackage_tests_or_examples_disables parentPackageName testsOrExamples ) set(parentPkgEnableVar ${parentPackageName}_ENABLE_${testsOrExamples}) - if ((NOT ${parentPkgEnableVar}) AND (NOT "${${parentPkgEnableVar}}" STREQUAL "")) + tribits_package_is_explicitly_disabled(${parentPkgEnableVar} + parentPkgIsExplicitlyDisabled) + if (parentPkgIsExplicitlyDisabled) foreach(subpkgName IN LISTS ${parentPackageName}_SUBPACKAGES) set(fullSpkgName ${parentPackageName}${subpkgName}) if (${PROJECT_NAME}_ENABLE_${fullSpkgName}) @@ -955,18 +959,18 @@ macro(tribits_private_disable_required_package_enables set(${fwdDepPkgEnableVarName} OFF) else() set(depTypeStr "test/example") - if (${fwdDepPkgName}_ENABLE_TESTS - OR "${${fwdDepPkgName}_ENABLE_TESTS}" STREQUAL "" - ) + tribits_package_is_enabled_or_unset(${fwdDepPkgName}_ENABLE_TESTS + fwdDepPkgEnableTestsIsEnabledOrUnset) + if (fwdDepPkgEnableTestsIsEnabledOrUnset) tribits_private_print_disable_required_package_enable( ${packageName} ${fwdDepPkgName}_ENABLE_TESTS ${fwdDepPkgName} "${depTypeStr}" ) set(${fwdDepPkgName}_ENABLE_TESTS OFF) endif() - if (${fwdDepPkgName}_ENABLE_EXAMPLES - OR "${${fwdDepPkgName}_ENABLE_EXAMPLES}" STREQUAL "" - ) + tribits_package_is_enabled_or_unset(${fwdDepPkgName}_ENABLE_EXAMPLES + fwdDepPkgEnableExamplesIsEnabledOrUnset) + if (fwdDepPkgEnableExamplesIsEnabledOrUnset) tribits_private_print_disable_required_package_enable( ${packageName} ${fwdDepPkgName}_ENABLE_EXAMPLES ${fwdDepPkgName} "${depTypeStr}" ) @@ -1024,9 +1028,9 @@ endfunction() macro(tribits_private_disable_optional_package_enables fwdDepPkgName packageName) - if (${fwdDepPkgName}_ENABLE_${packageName} - OR "${${fwdDepPkgName}_ENABLE_${packageName}}" STREQUAL "" - ) + tribits_package_is_enabled_or_unset(${fwdDepPkgName}_ENABLE_${packageName} + fwdDepPkgEnablePackageIsEnabledOrUnset) + if (fwdDepPkgEnablePackageIsEnabledOrUnset) # Always disable the conditional enable but only print the message if the # package is enabled or if a disable overrides an enable if (${PROJECT_NAME}_ENABLE_${fwdDepPkgName}) @@ -1043,10 +1047,9 @@ macro(tribits_private_disable_optional_package_enables fwdDepPkgName packageNa " on disabled package ${packageName}") endif() endif() - if (${fwdDepPkgName}_ENABLE_${packageName} - AND (NOT ${PROJECT_NAME}_ENABLE_${packageName}) - AND (NOT "${${PROJECT_NAME}_ENABLE_${packageName}}" STREQUAL "") - ) + tribits_package_is_explicitly_disabled(${PROJECT_NAME}_ENABLE_${packageName} + packageIsExplicitlyDisabled) + if (${fwdDepPkgName}_ENABLE_${packageName} AND packageIsExplicitlyDisabled) message("-- " "NOTE: ${fwdDepPkgName}_ENABLE_${packageName}=" "${${fwdDepPkgName}_ENABLE_${packageName}} but" " ${PROJECT_NAME}_ENABLE_${packageName}=" @@ -1117,7 +1120,9 @@ endmacro() macro(tribits_private_postprocess_optional_package_enable packageName optDepPkg) tribits_get_package_enable_status(${optDepPkg} optDepPkgEnable optDepPkgEnableVar) - tribits_get_package_enable_status(${packageName} packageEnable packageEnableVar) + tribits_get_package_enable_status(${packageName} packageEnable packageEnableVar) + tribits_package_is_explicitly_disabled(${packageName}_ENABLE_${optDepPkg} + package_Enable_OptDeptPkg_IsExplicitlyDisabled) if (${packageName}_ENABLE_${optDepPkg} AND optDepPkgEnable) message("-- " "NOTE:" @@ -1133,10 +1138,7 @@ macro(tribits_private_postprocess_optional_package_enable packageName optDepPk message("-- " "NOT setting ${packageName}_ENABLE_${optDepPkg}=ON" " since ${optDepPkg} is NOT enabled at this point!") endif() - elseif ((NOT "${${packageName}_ENABLE_${optDepPkg}}" STREQUAL "") - AND (NOT ${packageName}_ENABLE_${optDepPkg}) - AND optDepPkgEnable - ) + elseif (package_Enable_OptDeptPkg_IsExplicitlyDisabled AND optDepPkgEnable) message("-- " "NOTE: ${packageName}_ENABLE_${optDepPkg}=" "${${packageName}_ENABLE_${optDepPkg}} is already set so not enabling even" " though ${optDepPkgEnableVar}=" From 64436bd663b9626d8b0d65a73af0c7f8f53b71d0 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Wed, 31 Jul 2024 10:55:34 -0600 Subject: [PATCH 27/74] Use locally installed codespell for CEE RHEL8 machines I installed this with: pip3 install --user codespell --- dev_testing/cee-rhel8/load-env.clang-16.0.6.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/dev_testing/cee-rhel8/load-env.clang-16.0.6.sh b/dev_testing/cee-rhel8/load-env.clang-16.0.6.sh index 86549eda9..daf1c6e8a 100644 --- a/dev_testing/cee-rhel8/load-env.clang-16.0.6.sh +++ b/dev_testing/cee-rhel8/load-env.clang-16.0.6.sh @@ -4,4 +4,5 @@ module load aue/ninja/1.11.1 module load aue/clang/16.0.6 module load aue/openmpi/4.1.6-clang-16.0.6 +export PATH=${HOME}/.local/bin:${PATH} export TribitsExMetaProj_GIT_URL_REPO_BASE=git@github.com:tribits/ From b17ed5bc588af66c43020b7f49221024e09a12e0 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Mon, 23 Sep 2024 14:33:29 -0600 Subject: [PATCH 28/74] Add package name to LABELS test property requirement Without this, the test will be listed with the tests for the last CTest/CDash subproject. (Having a test have a label that matches the CTest/CDash subproject name is how these tools group tests by subproject.) --- tribits/doc/guides/TribitsGuidesBody.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tribits/doc/guides/TribitsGuidesBody.rst b/tribits/doc/guides/TribitsGuidesBody.rst index c978a2d10..c160ef68c 100644 --- a/tribits/doc/guides/TribitsGuidesBody.rst +++ b/tribits/doc/guides/TribitsGuidesBody.rst @@ -2667,6 +2667,9 @@ satisfy the following requirements: * Test names must be prefixed with the package name ``_``. +* The package name ```` must be appended to the ``LABELS`` test + property list. + * Tests should only be added if the variable ``_ENABLE_TESTS`` is true. From 693a866b0361db2bef0e761217f44f2939a8c89e Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 4 Oct 2024 10:39:02 -0600 Subject: [PATCH 29/74] Fix underline length to match text Not sure why this was not caught earlier (but it was just a warning, not an error). --- tribits/doc/build_ref/TribitsBuildReferenceBody.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tribits/doc/build_ref/TribitsBuildReferenceBody.rst b/tribits/doc/build_ref/TribitsBuildReferenceBody.rst index 3ab4ce13f..f250aa83c 100644 --- a/tribits/doc/build_ref/TribitsBuildReferenceBody.rst +++ b/tribits/doc/build_ref/TribitsBuildReferenceBody.rst @@ -2952,7 +2952,7 @@ printed to cmake STDOUT. Show parent(s) commit info in the repo version output ----------------------------------------------------- +----------------------------------------------------- .. __SHOW_GIT_COMMIT_PARENTS: From 50c9c9910b8f9415b962c887cb5502fc347e71f3 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 4 Oct 2024 09:24:49 -0600 Subject: [PATCH 30/74] Remove unneeded 'import imp' (#610) On RHEL8 with Python 3.12, got the error message: No module named 'imp' --- test/python_utils/gitdist_UnitTests.py | 1 - test/python_utils/lower_case_cmake_UnitTests.py | 1 - test/python_utils/mockprogram_UnitTests.py | 1 - 3 files changed, 3 deletions(-) diff --git a/test/python_utils/gitdist_UnitTests.py b/test/python_utils/gitdist_UnitTests.py index 684534264..8a56a6581 100644 --- a/test/python_utils/gitdist_UnitTests.py +++ b/test/python_utils/gitdist_UnitTests.py @@ -44,7 +44,6 @@ ################################# import sys -import imp import shutil from unittest_helpers import * diff --git a/test/python_utils/lower_case_cmake_UnitTests.py b/test/python_utils/lower_case_cmake_UnitTests.py index 67ce64b78..7cbf67ffa 100644 --- a/test/python_utils/lower_case_cmake_UnitTests.py +++ b/test/python_utils/lower_case_cmake_UnitTests.py @@ -7,7 +7,6 @@ import sys -import imp import shutil from unittest_helpers import * diff --git a/test/python_utils/mockprogram_UnitTests.py b/test/python_utils/mockprogram_UnitTests.py index e1a86f586..b3a58efcc 100644 --- a/test/python_utils/mockprogram_UnitTests.py +++ b/test/python_utils/mockprogram_UnitTests.py @@ -43,7 +43,6 @@ from unittest_helpers import * -import imp import shutil #thisFilePath = __file__ From 9ffce307e38a1dcc1f0690327d65cbcdf5523f81 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Thu, 3 Oct 2024 12:39:46 -0600 Subject: [PATCH 31/74] Move string-replace.py and token-replace.py into tribits/refactoring/ (#610) These are reusable helper tools that we might as well snapshot with the rest of TriBITS. (These don't have automated tests but it is easy to verify they are working as they should.) --- refactoring/replace_include_directories_r.sh | 4 ++-- refactoring/replace_set_and_inc_dirs_r.sh | 4 ++-- {refactoring => tribits/refactoring}/string-replace.py | 0 {refactoring => tribits/refactoring}/token-replace.py | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename {refactoring => tribits/refactoring}/string-replace.py (100%) rename {refactoring => tribits/refactoring}/token-replace.py (100%) diff --git a/refactoring/replace_include_directories_r.sh b/refactoring/replace_include_directories_r.sh index 1e0fbb4f2..78219c906 100755 --- a/refactoring/replace_include_directories_r.sh +++ b/refactoring/replace_include_directories_r.sh @@ -17,10 +17,10 @@ echo echo "Replacing INCLUDE_DIRECTORIES with TRIBITS_INCLUDE_DIRECTORIES in all CMakeList.txt and *.cmake files ..." echo -find . \( -name CMakeLists.txt -or -name "*.cmake" \) -exec ${_SCRIPT_DIR}/token-replace.py -t INCLUDE_DIRECTORIES -r TRIBITS_INCLUDE_DIRECTORIES -f {} \; +find . \( -name CMakeLists.txt -or -name "*.cmake" \) -exec ${_SCRIPT_DIR}/../tribits/refactoring/token-replace.py -t INCLUDE_DIRECTORIES -r TRIBITS_INCLUDE_DIRECTORIES -f {} \; echo echo "Replacing include_directories with tribits_include_directories in all CMakeList.txt and *.cmake files ..." echo -find . \( -name CMakeLists.txt -or -name "*.cmake" \) -exec ${_SCRIPT_DIR}/token-replace.py -t include_directories -r tribits_include_directories -f {} \; +find . \( -name CMakeLists.txt -or -name "*.cmake" \) -exec ${_SCRIPT_DIR}/../tribits/refactoring/token-replace.py -t include_directories -r tribits_include_directories -f {} \; diff --git a/refactoring/replace_set_and_inc_dirs_r.sh b/refactoring/replace_set_and_inc_dirs_r.sh index 655107a15..12d261466 100755 --- a/refactoring/replace_set_and_inc_dirs_r.sh +++ b/refactoring/replace_set_and_inc_dirs_r.sh @@ -17,10 +17,10 @@ echo echo "Replacing SET_AND_INC_DIRS with TRIBITS_SET_AND_INC_DIRS in all CMakeList.txt and *.cmake files ..." echo -find . \( -name CMakeLists.txt -or -name "*.cmake" \) -exec ${_SCRIPT_DIR}/token-replace.py -t SET_AND_INC_DIRS -r TRIBITS_SET_AND_INC_DIRS -f {} \; +find . \( -name CMakeLists.txt -or -name "*.cmake" \) -exec ${_SCRIPT_DIR}/../tribits/refactoring/token-replace.py -t SET_AND_INC_DIRS -r TRIBITS_SET_AND_INC_DIRS -f {} \; echo echo "Replacing set_and_inc_dirs with tribits_set_and_inc_dirs in all CMakeList.txt and *.cmake files ..." echo -find . \( -name CMakeLists.txt -or -name "*.cmake" \) -exec ${_SCRIPT_DIR}/token-replace.py -t set_and_inc_dirs -r tribits_set_and_inc_dirs -f {} \; +find . \( -name CMakeLists.txt -or -name "*.cmake" \) -exec ${_SCRIPT_DIR}/../tribits/refactoring/token-replace.py -t set_and_inc_dirs -r tribits_set_and_inc_dirs -f {} \; diff --git a/refactoring/string-replace.py b/tribits/refactoring/string-replace.py similarity index 100% rename from refactoring/string-replace.py rename to tribits/refactoring/string-replace.py diff --git a/refactoring/token-replace.py b/tribits/refactoring/token-replace.py similarity index 100% rename from refactoring/token-replace.py rename to tribits/refactoring/token-replace.py From 33432fd3d8d346c41ca1e4182a8b49fa3c5c48cc Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Thu, 3 Oct 2024 12:55:01 -0600 Subject: [PATCH 32/74] Fix help msg on -o argument (#610) Noticed this while working on #610 --- tribits/refactoring/string-replace.py | 2 +- tribits/refactoring/token-replace.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tribits/refactoring/string-replace.py b/tribits/refactoring/string-replace.py index 2a04a691f..bb6b33a34 100755 --- a/tribits/refactoring/string-replace.py +++ b/tribits/refactoring/string-replace.py @@ -28,7 +28,7 @@ def getCmndLineOptions(): clp.add_argument( "-o", dest="outputFile", default="", - help="Input file (and also output if -o not specified)" ) + help="Output file (optional)" ) options = clp.parse_args(sys.argv[1:]) diff --git a/tribits/refactoring/token-replace.py b/tribits/refactoring/token-replace.py index 16e8b29e4..9c425a65a 100755 --- a/tribits/refactoring/token-replace.py +++ b/tribits/refactoring/token-replace.py @@ -31,7 +31,7 @@ def getCmndLineOptions(): clp.add_argument( "-o", dest="outputFile", default="", - help="Input file (and also output if -o not specified)" ) + help="Output file (optional)" ) options = clp.parse_args(sys.argv[1:]) From c0812ebb438bf7f6996d7f4dc1738d3af2105676 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 4 Oct 2024 09:48:24 -0600 Subject: [PATCH 33/74] Replace assert_() with assertIn() (#610) With Python 3.12, the unittest.assert_() function no longer exists. --- test/python_utils/SnapshotDir_UnitTests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/python_utils/SnapshotDir_UnitTests.py b/test/python_utils/SnapshotDir_UnitTests.py index e0a46b48c..4f995115c 100644 --- a/test/python_utils/SnapshotDir_UnitTests.py +++ b/test/python_utils/SnapshotDir_UnitTests.py @@ -99,7 +99,7 @@ def runSnapshotDirTestCase(testObject, cmndLineArgsList, cmndInterceptList, #print("ostr =", ostr) for passRegexExpr in passRegexExpressionsList: try: - testObject.assert_(re.search(passRegexExpr, ostr)) + testObject.assertTrue(re.search(passRegexExpr, ostr)) except Exception as e: print("\n\nCould not find regex='" + passRegexExpr + "' in generated " "output:\n") From 31bfe439037fa73c16dfa523acdae21b28f20a82 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 4 Oct 2024 10:31:03 -0600 Subject: [PATCH 34/74] Assume standard Python3/pip3 install of docutils (#610) No sense generating a message about not being able to find 'rst2html' when modern systems don't even have that program. It is called 'rst2htm.py' (and 'rst2latex.py'). This was tested with Python 3.12. Signed-off-by: Roscoe A. Bartlett --- tribits/python_utils/GenerateDocUtilsOutput.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/tribits/python_utils/GenerateDocUtilsOutput.py b/tribits/python_utils/GenerateDocUtilsOutput.py index 0eb02ef6e..cb2437d7a 100644 --- a/tribits/python_utils/GenerateDocUtilsOutput.py +++ b/tribits/python_utils/GenerateDocUtilsOutput.py @@ -39,13 +39,9 @@ def generateFile(filePath, generateCmnd, outFile=None, workingDir="", def addCmndLineOptions(clp): - # Find the right default for the current system - rst2html = "rst2html" - rst2latex = "rst2latex" - rst2htmlWhich = getCmndOutput("which rst2html", True, False) - if rst2htmlWhich == "" or re.match(".+no rst2html.+", rst2htmlWhich): - rst2html = rst2html+".py" - rst2latex = rst2latex+".py" + # Assume standard install of docutils with Python3 + rst2html = "rst2html.py" + rst2latex = "rst2latex.py" clp.add_option( "--file-base", dest="fileBase", type="string", From 552fa626e47cd1074768c5f0749bd3aa6407df67 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Thu, 3 Oct 2024 12:03:00 -0600 Subject: [PATCH 35/74] Don't set PYTHON_EXECUTABLE to python3 (#610) We want to use default behavior to just pick up python3 by default --- dev_testing/generic/do-configure-mpi-debug | 1 - 1 file changed, 1 deletion(-) diff --git a/dev_testing/generic/do-configure-mpi-debug b/dev_testing/generic/do-configure-mpi-debug index 75294f1d5..afe95538f 100755 --- a/dev_testing/generic/do-configure-mpi-debug +++ b/dev_testing/generic/do-configure-mpi-debug @@ -27,7 +27,6 @@ fi cmake \ -D CMAKE_BUILD_TYPE:STRING="DEBUG" \ --D PYTHON_EXECUTABLE=$(which python3) \ -D TPL_ENABLE_MPI:BOOL=ON \ -D TriBITS_ENABLE_Fortran:BOOL=ON \ -D TriBITS_ENABLE_TESTS:BOOL=ON \ From 3e5471dcba0349735f5b16d93bc63e7b84ed444a Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Thu, 3 Oct 2024 12:03:52 -0600 Subject: [PATCH 36/74] Change to find_package(Python3), set Python3_EXECUTABLE to PYTHON_EXECUTABLE (#610) Change from calling deprecated find_package(PythonInterp) to call find_package(Python3). To maintain backward compatibility for external users, set Python3_EXECUTABLE to PYTHON_EXECUTABLE if the former is unset and the later is set. The rest of TriBITS will need to be refactored to absorb this. --- test/core/CMakeLists.txt | 2 +- .../core/TestingFunctionMacro_UnitTests.cmake | 92 +++++++++++++++---- .../TribitsFindPythonInterp.cmake | 54 +++++++---- tribits/doc/guides/TribitsGuidesBody.rst | 32 +++---- 4 files changed, 127 insertions(+), 53 deletions(-) diff --git a/test/core/CMakeLists.txt b/test/core/CMakeLists.txt index 6460753c8..1b68b8dfd 100644 --- a/test/core/CMakeLists.txt +++ b/test/core/CMakeLists.txt @@ -49,7 +49,7 @@ tribits_add_advanced_test( TestingFunctionMacro_UnitTests -D${PROJECT_NAME}_TRIBITS_DIR=${${PROJECT_NAME}_TRIBITS_DIR} -P "${CMAKE_CURRENT_SOURCE_DIR}/TestingFunctionMacro_UnitTests.cmake" PASS_REGULAR_EXPRESSION_ALL - "Final UnitTests Result: num_run = 720" + "Final UnitTests Result: num_run = 724" "Final UnitTests Result: PASSED" ) diff --git a/test/core/TestingFunctionMacro_UnitTests.cmake b/test/core/TestingFunctionMacro_UnitTests.cmake index 05b8df98c..0f0aad3ac 100644 --- a/test/core/TestingFunctionMacro_UnitTests.cmake +++ b/test/core/TestingFunctionMacro_UnitTests.cmake @@ -157,6 +157,8 @@ function(unittest_tribits_create_reverse_list) endfunction() +########################################################################################## + function(unittest_tribits_find_python_interp) message("\n***") @@ -166,55 +168,107 @@ function(unittest_tribits_find_python_interp) set(MESSAGE_WRAPPER_UNIT_TEST_MODE TRUE) set(TRIBITS_FIND_PYTHON_UNITTEST TRUE) + tribits_find_python_interp_uses_python_false() + tribits_find_python_interp_uses_python_empty() + tribits_find_python_interp_uses_python_true() + tribits_find_python_interp_requires_python_true() + tribits_find_python_interp_find_version_too_low() + tribits_find_python_interp_find_version_higher() + tribits_find_python_interp_python_executable_backward_compatible() + +endfunction() + + +function(tribits_find_python_interp_uses_python_false) message("tribits_find_python_interp(): ${PROJECT_NAME}_USES_PYTHON=FALSE") set(${PROJECT_NAME}_USES_PYTHON FALSE) global_set(MESSAGE_WRAPPER_INPUT) tribits_find_python_interp() unittest_compare_const(MESSAGE_WRAPPER_INPUT "-- ;NOTE: Skipping check for Python because; ${PROJECT_NAME}_USES_PYTHON='FALSE'") - unittest_compare_const(FIND_PythonInterp_ARGS + unittest_compare_const(FIND_Python3_ARGS "") +endfunction() - message("tribits_find_python_interp(): ${PROJECT_NAME}_USES_PYTHON=") - global_set(MESSAGE_WRAPPER_INPUT) - set(${PROJECT_NAME}_USES_PYTHON) - set(PYTHON_EXECUTABLE_UNITTEST_VAL /path/to/python2.4) + +function(tribits_find_python_interp_uses_python_empty) + message("tribits_find_python_interp(): ${PROJECT_NAME}_USES_PYTHON=''") + global_set(MESSAGE_WRAPPER_INPUT "") + set(${PROJECT_NAME}_USES_PYTHON "") + set(Python3_EXECUTABLE_UNITTEST_VAL /path/to/python3.8) tribits_find_python_interp() unittest_compare_const(MESSAGE_WRAPPER_INPUT - "-- ;PYTHON_EXECUTABLE='/path/to/python2.4'") + "-- ;Python3_EXECUTABLE='/path/to/python3.8'") +endfunction() + +function(tribits_find_python_interp_uses_python_true) message("tribits_find_python_interp(): ${PROJECT_NAME}_USES_PYTHON=TRUE") global_set(MESSAGE_WRAPPER_INPUT) set(${PROJECT_NAME}_USES_PYTHON TRUE) - global_set(PYTHON_EXECUTABLE_UNITTEST_VAL /path/to/python2.4) + global_set(Python3_EXECUTABLE_UNITTEST_VAL /path/to/python3.8) tribits_find_python_interp() unittest_compare_const(MESSAGE_WRAPPER_INPUT - "-- ;PYTHON_EXECUTABLE='/path/to/python2.4'") - unittest_compare_const(FIND_PythonInterp_ARGS - "PythonInterp") + "-- ;Python3_EXECUTABLE='/path/to/python3.8'") + unittest_compare_const(FIND_Python3_ARGS + "Python3;3.8") +endfunction() + +function(tribits_find_python_interp_requires_python_true) message("tribits_find_python_interp(): ${PROJECT_NAME}_REQUIRES_PYTHON=TRUE") global_set(MESSAGE_WRAPPER_INPUT) set(${PROJECT_NAME}_USES_PYTHON FALSE) set(${PROJECT_NAME}_REQUIRES_PYTHON TRUE) - set(PYTHON_EXECUTABLE_UNITTEST_VAL /path/to/python2.4) + set(Python3_EXECUTABLE_UNITTEST_VAL /path/to/python3.8) tribits_find_python_interp() unittest_compare_const(MESSAGE_WRAPPER_INPUT - "-- ;PYTHON_EXECUTABLE='/path/to/python2.4'") - unittest_compare_const(FIND_PythonInterp_ARGS - "PythonInterp;REQUIRED") + "-- ;Python3_EXECUTABLE='/path/to/python3.8'") + unittest_compare_const(FIND_Python3_ARGS + "Python3;3.8;REQUIRED") +endfunction() + - message("tribits_find_python_interp(): PythonInterp_FIND_VERSION=2.3") +function(tribits_find_python_interp_find_version_too_low) + message("tribits_find_python_interp(): ${PROJECT_NAME}_Python3_FIND_VERSION=3.7 (too low)") global_set(MESSAGE_WRAPPER_INPUT) - set(PythonInterp_FIND_VERSION 2.3) - set(PYTHON_EXECUTABLE_UNITTEST_VAL /dummy) + set(${PROJECT_NAME}_Python3_FIND_VERSION 3.7) + set(Python3_EXECUTABLE_UNITTEST_VAL /dummy) tribits_find_python_interp() unittest_compare_const(MESSAGE_WRAPPER_INPUT - "FATAL_ERROR;Error,; PythonInterp_FIND_VERSION=2.3 < 2.6; is not allowed!;-- ;PYTHON_EXECUTABLE='/dummy'") + "FATAL_ERROR;Error,; ${PROJECT_NAME}_Python3_FIND_VERSION=3.7 < 3.8; is not allowed!;-- ;Python3_EXECUTABLE='/dummy'") +endfunction() + + +function(tribits_find_python_interp_find_version_higher) + message("tribits_find_python_interp(): ${PROJECT_NAME}_Python3_FIND_VERSION=3.11") + global_set(MESSAGE_WRAPPER_INPUT) + set(${PROJECT_NAME}_REQUIRES_PYTHON TRUE) + set(${PROJECT_NAME}_Python3_FIND_VERSION 3.11) + set(Python3_EXECUTABLE_UNITTEST_VAL /path/to/python3.11) + tribits_find_python_interp() + unittest_compare_const(MESSAGE_WRAPPER_INPUT + "-- ;Python3_EXECUTABLE='/path/to/python3.11'") + unittest_compare_const(FIND_Python3_ARGS + "Python3;3.11;REQUIRED") +endfunction() + +function(tribits_find_python_interp_python_executable_backward_compatible) + message("tribits_find_python_interp(): PYTHON_EXECUTABLE backward compatibility") + global_set(MESSAGE_WRAPPER_INPUT) + set(PYTHON_EXECUTABLE /path/to/python3.10.2) + tribits_find_python_interp() + unittest_compare_const(MESSAGE_WRAPPER_INPUT + "DEPRECATION;Python3_EXECUTABLE being set by default to PYTHON_EXECUTABLE = '/path/to/python3.10.2' is deprecated!;\n\nNOTE: To Make these warnings go away, set -D; TRIBITS_HANDLE_TRIBITS_DEPRECATED_CODE=IGNORE (see the build reference guide).;-- ;Python3_EXECUTABLE='/path/to/python3.10.2'") + unittest_compare_const(FIND_Python3_ARGS + "Python3;3.8") endfunction() +########################################################################################## + + function(unittest_tribits_standardize_abs_paths) message("\n***") @@ -4844,4 +4898,4 @@ message("*** Determine final result of all unit tests") message("***\n") # Pass in the number of expected tests that must pass! -unittest_final_result(720) +unittest_final_result(724) diff --git a/tribits/core/package_arch/TribitsFindPythonInterp.cmake b/tribits/core/package_arch/TribitsFindPythonInterp.cmake index 3e57bbbe0..5d89e61e7 100644 --- a/tribits/core/package_arch/TribitsFindPythonInterp.cmake +++ b/tribits/core/package_arch/TribitsFindPythonInterp.cmake @@ -7,35 +7,55 @@ # ***************************************************************************** # @HEADER + # Find Python executable which is needed for dependency file building macro(tribits_find_python) - set(PythonInterp_FIND_VERSION_MIN "2.6") - if ("${PythonInterp_FIND_VERSION_DEFAULT}" STREQUAL "") - set(PythonInterp_FIND_VERSION_DEFAULT "${PythonInterp_FIND_VERSION_MIN}") + # Get minimum version of Python to find + set(${PROJECT_NAME}_Python3_FIND_VERSION_MIN "3.8") + if ("${${PROJECT_NAME}_Python3_FIND_VERSION_DEFAULT}" STREQUAL "") + set(${PROJECT_NAME}_Python3_FIND_VERSION_DEFAULT + "${${PROJECT_NAME}_Python3_FIND_VERSION_MIN}") endif() - advanced_set(PythonInterp_FIND_VERSION ${PythonInterp_FIND_VERSION_DEFAULT} + advanced_set(${PROJECT_NAME}_Python3_FIND_VERSION + ${${PROJECT_NAME}_Python3_FIND_VERSION_DEFAULT} CACHE STRING - "Default version of Python to find (must be ${PythonInterp_FIND_VERSION_DEFAULT} or greater") - if (PythonInterp_FIND_VERSION VERSION_LESS "${PythonInterp_FIND_VERSION_MIN}") + "Default version of Python to find (must be ${${PROJECT_NAME}_Python3_FIND_VERSION_DEFAULT} or greater") + if (${PROJECT_NAME}_Python3_FIND_VERSION VERSION_LESS + "${${PROJECT_NAME}_Python3_FIND_VERSION_MIN}" + ) message_wrapper(FATAL_ERROR "Error," - " PythonInterp_FIND_VERSION=${PythonInterp_FIND_VERSION} < ${PythonInterp_FIND_VERSION_MIN}" + " ${PROJECT_NAME}_Python3_FIND_VERSION=${${PROJECT_NAME}_Python3_FIND_VERSION} < ${${PROJECT_NAME}_Python3_FIND_VERSION_MIN}" " is not allowed!" ) endif() - advanced_set(PythonInterp_MUST_BE_FOUND FALSE CACHE BOOL "Require Python to be found or not.") + # Provide backward compatibility for user setting PYTHON_EXECUTABLE + if ((NOT "${PYTHON_EXECUTABLE}" STREQUAL "") AND ("${Python3_EXECUTABLE}" STREQUAL "")) + tribits_deprecated("Python3_EXECUTABLE being set by default to PYTHON_EXECUTABLE = '${PYTHON_EXECUTABLE}' is deprecated!") + set(Python3_EXECUTABLE "${PYTHON_EXECUTABLE}" CACHE FILEPATH + "Set by default to PYTHON_EXECUTABLE!") + endif() + # Find Python if (${PROJECT_NAME}_REQUIRES_PYTHON) - set(PythonInterp_REQUIRED_ARG "REQUIRED") + set(Python3_REQUIRED_ARG "REQUIRED") else() - set(PythonInterp_REQUIRED_ARG "") + set(Python3_REQUIRED_ARG "") endif() - set(FIND_PythonInterp_ARGS PythonInterp ${PythonInterp_REQUIRED_ARG}) - if (TRIBITS_FIND_PYTHON_UNITTEST) - set(PYTHON_EXECUTABLE ${PYTHON_EXECUTABLE_UNITTEST_VAL}) + set(FIND_Python3_ARGS + Python3 ${${PROJECT_NAME}_Python3_FIND_VERSION} ${Python3_REQUIRED_ARG}) + if(DEFINED Python3_EXECUTABLE) + # Already defined (even if it is set to empty), so no need to call anything! + elseif (TRIBITS_FIND_PYTHON_UNITTEST) + set(Python3_EXECUTABLE ${Python3_EXECUTABLE_UNITTEST_VAL}) else() - find_package(${FIND_PythonInterp_ARGS}) + find_package(${FIND_Python3_ARGS}) endif() endmacro() +# Select the minimum version of Python + + + + # TriBITS Wrapper for finding Python (or not) for a TriBITS project. macro(tribits_find_python_interp) if (${PROJECT_NAME}_REQUIRES_PYTHON) @@ -48,9 +68,9 @@ macro(tribits_find_python_interp) endif() if (${PROJECT_NAME}_USES_PYTHON) tribits_find_python() - print_var(PYTHON_EXECUTABLE) - if (${PROJECT_NAME}_REQUIRES_PYTHON AND PYTHON_EXECUTABLE STREQUAL "") - message_wrapper(FATAL_ERROR "Error, PYTHON_EXECUTABLE='' but" + print_var(Python3_EXECUTABLE) + if (${PROJECT_NAME}_REQUIRES_PYTHON AND Python3_EXECUTABLE STREQUAL "") + message_wrapper(FATAL_ERROR "Error, Python3_EXECUTABLE='' but" " ${PROJECT_NAME}_REQUIRES_PYTHON=${${PROJECT_NAME}_REQUIRES_PYTHON}!" ) endif() else() diff --git a/tribits/doc/guides/TribitsGuidesBody.rst b/tribits/doc/guides/TribitsGuidesBody.rst index c160ef68c..963755c88 100644 --- a/tribits/doc/guides/TribitsGuidesBody.rst +++ b/tribits/doc/guides/TribitsGuidesBody.rst @@ -1107,7 +1107,7 @@ can be used in the logic in these files. Some of the variables that should already be defined (in addition to all of the basic user TriBITS cache variables set in ``tribits_define_global_options_and_define_extra_repos()``) include ``CMAKE_HOST_SYSTEM_NAME``, ``${PROJECT_NAME}_HOSTNAME``, and -``PYTHON_EXECUTABLE`` (see `Python Support`_). The types of commands and +``Python3_EXECUTABLE`` (see `Python Support`_). The types of commands and logic to put in this file include: * Setting additional user cache variable options that are used by multiple @@ -2228,7 +2228,7 @@ proceeds through the call to `tribits_project()`_. | 3) Set variables ``CMAKE_HOST_SYSTEM_NAME`` and ``${PROJECT_NAME}_HOSTNAME`` | (both of these can be overridden in the cache by the user) | 4) Find some optional command-line tools: -| a) Find Python (sets ``PYTHON_EXECUTABLE``, see `Python Support`_) +| a) Find Python (sets ``Python3_EXECUTABLE``, see `Python Support`_) | b) Find Git (sets ``GIT_EXECUTABLE`` and ``GIT_VERSION_STRING``) | 5) ``include(`` `/Version.cmake`_ ``)`` | 6) Define primary TriBITS options and read in the list of extra repositories @@ -7003,17 +7003,16 @@ Python Support TriBITS Core does not require anything other than raw CMake. However, Python Utils, TriBITS CI Support, and other extended TriBITS components require -Python. These extra TriBITS tools only require Python 2.7+ (and 3.x). By -default, when a TriBITS project starts to configure using CMake, it will try -to find Python 2.7+ on the system (see `Full Processing of TriBITS Project -Files`_). If Python is found, it will set the global cache variable -``PYTHON_EXECUTABLE``. If it is not found, then it will print a warning and -``PYTHON_EXECUTABLE`` will be empty. With this default behavior, if Python is -found, then the TriBITS project can use it. Otherwise, it can do without it. +Python. These extra TriBITS tools only require Python 3.8+. By default, when +a TriBITS project starts to configure using CMake, it will try to find Python +3.8+ on the system (see `Full Processing of TriBITS Project Files`_). If +Python is found, it will set the global cache variable ``Python3_EXECUTABLE``. +If it is not found, then it will print a warning and ``Python3_EXECUTABLE`` +will be empty. With this default behavior, if Python is found, then the +TriBITS project can use it. Otherwise, it can do without it. While the default behavior for finding Python described above is useful for -many TriBITS project (such as Trilinos), some TriBITS projects need different -behavior such as: +many TriBITS projects, some TriBITS projects need different behavior such as: 1. The TriBITS project may not ever use Python so there is no need to look for it at all. In this case, the TriBITS project would set @@ -7023,11 +7022,12 @@ behavior such as: can't be found. In this case, the TriBITS project would set `${PROJECT_NAME}_REQUIRES_PYTHON`_ to ``TRUE``. -3. Some TriBITS projects may require a version of Python more recent than 2.7. - In this case, the TriBITS project would set `PythonInterp_FIND_VERSION`_ to - some value higher than ``2.7``. For example, may newer systems have only - Python 3.5.2 or higher versions installed by default and projects developed - on such a system typically requires this version or higher. +3. Some TriBITS projects may require a version of Python more recent than 3.8. + In this case, the TriBITS project would set + `${PROJECT_NAME}_Python3_FIND_VERSION`_ to some value higher than ``3.8``. + For example, may newer systems have higher versions of Python installed by + default, and projects developed on such a system typically require this + version or higher. Project-Specific Build Reference From 74f1e4ca15508c608291b3eb444b7a171607a9af Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Thu, 3 Oct 2024 12:43:37 -0600 Subject: [PATCH 37/74] Add refactor script to replace PYTHON_EXECUTABLE with Python3_EXECUTABLE in CMake code (#610) --- tribits/refactoring/to-python3.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 tribits/refactoring/to-python3.sh diff --git a/tribits/refactoring/to-python3.sh b/tribits/refactoring/to-python3.sh new file mode 100755 index 000000000..2a295f5f6 --- /dev/null +++ b/tribits/refactoring/to-python3.sh @@ -0,0 +1,12 @@ +#!/bin/sh +# +# Usage: +# +# to-python3.sh +# + +_SCRIPT_DIR=`echo $0 | sed "s/\(.*\)\/to-python3[.]sh/\1/g"` +baseDir=$1 +find ${baseDir} -type f \ + \( -name CMakeLists.txt -or -name "*.cmake" -or -name "*.cmake.in" -or -name "*.rst" \) \ + -exec $_SCRIPT_DIR/token-replace.py -t PYTHON_EXECUTABLE -r Python3_EXECUTABLE -f {} ';' From 1ea5a2b74374f563786434a24e511a2c73d32d9f Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Thu, 3 Oct 2024 12:52:09 -0600 Subject: [PATCH 38/74] Run refactoring script to-python3.py on all CMake and related files (#610) This just renames PYTHON_EXECUTABLE to Python3_EXECUTABLE. --- test/CMakeLists.txt | 2 +- test/ci_support/CMakeLists.txt | 38 +++++++++---------- .../TribitsExampleProject_Tests.cmake | 2 +- .../MockCTestDriver/CMakeLists.txt | 4 +- test/devtools_install/CMakeLists.txt | 4 +- test/doc/CMakeLists.txt | 2 +- test/python_utils/CMakeLists.txt | 24 ++++++------ .../TribitsWriteXmlDependenciesFiles.cmake | 4 +- .../package_arch/TribitsGlobalMacros.cmake | 4 +- .../test_support/TribitsAddAdvancedTest.cmake | 2 +- .../ctest_driver/TribitsCTestDriverCore.cmake | 2 +- .../TribitsCTestDriverCoreHelpers.cmake | 8 ++-- .../cmake/CallbackSetupExtraOptions.cmake | 4 +- .../packages/wrap_external/CMakeLists.txt | 2 +- 14 files changed, 51 insertions(+), 51 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 9f4797601..d414d7b29 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,6 +1,6 @@ add_subdirectory(core) -if (PYTHON_EXECUTABLE) +if (Python3_EXECUTABLE) add_subdirectories( python_utils ci_support diff --git a/test/ci_support/CMakeLists.txt b/test/ci_support/CMakeLists.txt index 1c0207b65..db1b1243f 100644 --- a/test/ci_support/CMakeLists.txt +++ b/test/ci_support/CMakeLists.txt @@ -93,7 +93,7 @@ tribits_add_advanced_test( XmlHtmlCDashOutputTest tribits_add_advanced_test( TribitsDependencies_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/TribitsDependencies_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" ) @@ -102,7 +102,7 @@ tribits_add_advanced_test( TribitsDependencies_UnitTests tribits_add_advanced_test( TribitsPackageFilePathUtils_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/TribitsPackageFilePathUtils_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" ) @@ -111,7 +111,7 @@ tribits_add_advanced_test( TribitsPackageFilePathUtils_UnitTests tribits_add_advanced_test( TribitsPackageTestNameUtils_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/TribitsPackageTestNameUtils_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" ) @@ -124,7 +124,7 @@ tribits_add_advanced_test( get_tribits_packages_default OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 TEST_0 - CMND ${PYTHON_EXECUTABLE} + CMND ${Python3_EXECUTABLE} ARGS "${${PROJECT_NAME}_TRIBITS_DIR}/ci_support/get-tribits-packages.py" --deps-xml-file="${CMAKE_CURRENT_SOURCE_DIR}/TrilinosPackageDependencies.gold.xml" @@ -136,7 +136,7 @@ tribits_add_advanced_test( get_tribits_packages_only_toplevel_packages OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 TEST_0 - CMND ${PYTHON_EXECUTABLE} + CMND ${Python3_EXECUTABLE} ARGS "${${PROJECT_NAME}_TRIBITS_DIR}/ci_support/get-tribits-packages.py" --deps-xml-file="${CMAKE_CURRENT_SOURCE_DIR}/TrilinosPackageDependencies.gold.xml" @@ -149,7 +149,7 @@ tribits_add_advanced_test( get_tribits_packages_all_packages OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 TEST_0 - CMND ${PYTHON_EXECUTABLE} + CMND ${Python3_EXECUTABLE} ARGS "${${PROJECT_NAME}_TRIBITS_DIR}/ci_support/get-tribits-packages.py" --deps-xml-file="${CMAKE_CURRENT_SOURCE_DIR}/TrilinosPackageDependencies.gold.xml" @@ -166,7 +166,7 @@ tribits_add_advanced_test( get_tribits_packages_from_last_tests_failed_1 OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 TEST_0 - CMND ${PYTHON_EXECUTABLE} + CMND ${Python3_EXECUTABLE} ARGS "${${PROJECT_NAME}_TRIBITS_DIR}/ci_support/get-tribits-packages-from-last-tests-failed.py" --deps-xml-file="${CMAKE_CURRENT_SOURCE_DIR}/TrilinosPackageDependencies.gold.xml" @@ -182,7 +182,7 @@ tribits_add_advanced_test( get_tribits_packages_from_last_tests_failed_1 tribits_add_advanced_test( TribitsExampleProject_ProjectCiFileChangeLogic_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/TribitsExampleProject_ProjectCiFileChangeLogic_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" ) @@ -216,7 +216,7 @@ function(test_tribitsexampleproject_get_tribits_packages_from_files_list -P "${${PROJECT_NAME}_TRIBITS_DIR}/ci_support/TribitsDumpDepsXmlScript.cmake" TEST_2 - CMND ${PYTHON_EXECUTABLE} + CMND ${Python3_EXECUTABLE} ARGS "${${PROJECT_NAME}_TRIBITS_DIR}/ci_support/get-tribits-packages-from-files-list.py" --deps-xml-file=TribitsExProjPackageDependencies.cmake @@ -281,7 +281,7 @@ function(test_tribitsexampleproject_w_tribits_get_tribits_packages_from_files_li -P "TribitsExampleProject/cmake/tribits/ci_support/TribitsDumpDepsXmlScript.cmake" TEST_4 - CMND ${PYTHON_EXECUTABLE} + CMND ${Python3_EXECUTABLE} ARGS "TribitsExampleProject/cmake/tribits/ci_support/get-tribits-packages-from-files-list.py" --deps-xml-file=TribitsExProjPackageDependencies.cmake @@ -313,7 +313,7 @@ test_tribitsexampleproject_w_tribits_get_tribits_packages_from_files_list( tribits_add_advanced_test( clone_extra_repos_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/clone_extra_repos_UnitTests.py --with-cmake="${CMAKE_COMMAND}" -v @@ -323,7 +323,7 @@ tribits_add_advanced_test( clone_extra_repos_UnitTests tribits_add_advanced_test( CheckinTest_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/CheckinTest_UnitTests.py --with-cmake="${CMAKE_COMMAND}" -v @@ -339,7 +339,7 @@ tribits_add_advanced_test( CheckinTest_UnitTests tribits_add_advanced_test( cdash_build_testing_date_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/cdash_build_testing_date_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" @@ -383,7 +383,7 @@ tribits_add_advanced_test( TribitsStripCommentsFromCMakeCacheFile_large tribits_add_advanced_test( CDashQueryAnalyzeReport_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/CDashQueryAnalyzeReport_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" ALWAYS_FAIL_ON_NONZERO_RETURN @@ -392,7 +392,7 @@ tribits_add_advanced_test( CDashQueryAnalyzeReport_UnitTests tribits_add_advanced_test( cdash_analyze_and_report_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/cdash_analyze_and_report_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" ALWAYS_FAIL_ON_NONZERO_RETURN @@ -401,7 +401,7 @@ tribits_add_advanced_test( cdash_analyze_and_report_UnitTests tribits_add_advanced_test( CDashAnalyzeReportRandomFailures_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/CDashAnalyzeReportRandomFailures_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" ALWAYS_FAIL_ON_NONZERO_RETURN @@ -410,7 +410,7 @@ tribits_add_advanced_test( CDashAnalyzeReportRandomFailures_UnitTests tribits_add_advanced_test( cdash_analyze_and_report_random_failures_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/cdash_analyze_and_report_random_failures_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" ALWAYS_FAIL_ON_NONZERO_RETURN @@ -419,7 +419,7 @@ tribits_add_advanced_test( cdash_analyze_and_report_random_failures_UnitTests tribits_add_advanced_test( CreateIssueTrackerFromCDashQuery_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/CreateIssueTrackerFromCDashQuery_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" ALWAYS_FAIL_ON_NONZERO_RETURN @@ -452,7 +452,7 @@ tribits_add_advanced_test( TribitsExampleProject_checkin_test TEST_2 MESSAGE "Run checkin-test.py script to make sure it finds base dir" - CMND ${PYTHON_EXECUTABLE} + CMND ${Python3_EXECUTABLE} ARGS -E TribitsExampleProject/cmake/tribits/ci_support/checkin-test.py --enable-all-packages=on --send-email-to= --send-email-to-on-push= --allow-no-pull PASS_REGULAR_EXPRESSION_ALL diff --git a/test/core/ExamplesUnitTests/TribitsExampleProject_Tests.cmake b/test/core/ExamplesUnitTests/TribitsExampleProject_Tests.cmake index 7fc507096..3d68eefb7 100644 --- a/test/core/ExamplesUnitTests/TribitsExampleProject_Tests.cmake +++ b/test/core/ExamplesUnitTests/TribitsExampleProject_Tests.cmake @@ -1695,7 +1695,7 @@ tribits_add_advanced_test( TribitsExampleProject_ALL_ST_LibUsage -DTribitsExProj_ENABLE_INSTALL_CMAKE_CONFIG_FILES=OFF ${${PROJECT_NAME}_TRIBITS_DIR}/examples/TribitsExampleProject PASS_REGULAR_EXPRESSION_ALL - "NOTE: Setting TribitsExProj_ENABLE_WrapExternal=OFF because PYTHON_EXECUTABLE=''" + "NOTE: Setting TribitsExProj_ENABLE_WrapExternal=OFF because Python3_EXECUTABLE=''" "Final set of enabled top-level packages: SimpleCxx MixedLang WithSubpackages 3" "Final set of enabled packages: SimpleCxx MixedLang WithSubpackagesA WithSubpackagesB WithSubpackagesC WithSubpackages 6" "Configuring done" diff --git a/test/ctest_driver/MockCTestDriver/CMakeLists.txt b/test/ctest_driver/MockCTestDriver/CMakeLists.txt index 720f112f2..e9883be15 100644 --- a/test/ctest_driver/MockCTestDriver/CMakeLists.txt +++ b/test/ctest_driver/MockCTestDriver/CMakeLists.txt @@ -645,7 +645,7 @@ create_ctest_dependency_handling_test_case( # -if (PYTHON_EXECUTABLE) +if (Python3_EXECUTABLE) create_ctest_dependency_handling_test_case( CI_EnableOnlyModified_ModifiedNone @@ -1061,7 +1061,7 @@ if (PYTHON_EXECUTABLE) # ToDo: Test modified package not to be implicitly enabled to not be enabled! -endif(PYTHON_EXECUTABLE) +endif(Python3_EXECUTABLE) # diff --git a/test/devtools_install/CMakeLists.txt b/test/devtools_install/CMakeLists.txt index b2e03048d..2d16ae61b 100644 --- a/test/devtools_install/CMakeLists.txt +++ b/test/devtools_install/CMakeLists.txt @@ -41,7 +41,7 @@ tribits_add_advanced_test( InstallProgramDriver_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/InstallProgramDriver_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" ) @@ -50,7 +50,7 @@ tribits_add_advanced_test( InstallProgramDriver_UnitTests tribits_add_advanced_test( install_devtools_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/install_devtools_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" ) diff --git a/test/doc/CMakeLists.txt b/test/doc/CMakeLists.txt index d5d83994e..6cc978641 100644 --- a/test/doc/CMakeLists.txt +++ b/test/doc/CMakeLists.txt @@ -14,7 +14,7 @@ tribits_add_advanced_test( sphinx_rst_generator_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 EXCLUDE_IF_NOT_TRUE HAS_PYTHON3 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/sphinx_rst_generator_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" ALWAYS_FAIL_ON_NONZERO_RETURN diff --git a/test/python_utils/CMakeLists.txt b/test/python_utils/CMakeLists.txt index d3588c4cd..7569074e6 100644 --- a/test/python_utils/CMakeLists.txt +++ b/test/python_utils/CMakeLists.txt @@ -40,7 +40,7 @@ tribits_add_advanced_test( GeneralScriptSupport_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/GeneralScriptSupport_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" ) @@ -48,7 +48,7 @@ tribits_add_advanced_test( GeneralScriptSupport_UnitTests tribits_add_advanced_test( mockprogram_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/mockprogram_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" XHOST travis-ci-server-linux @@ -57,7 +57,7 @@ tribits_add_advanced_test( mockprogram_UnitTests tribits_add_advanced_test( lower_case_cmake_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/lower_case_cmake_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" XHOST travis-ci-server-linux @@ -66,7 +66,7 @@ tribits_add_advanced_test( lower_case_cmake_UnitTests tribits_add_advanced_test( gitdist_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/gitdist_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" XHOST travis-ci-server-linux @@ -75,7 +75,7 @@ tribits_add_advanced_test( gitdist_UnitTests tribits_add_advanced_test( SnapshotDir_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/SnapshotDir_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" ) @@ -83,7 +83,7 @@ tribits_add_advanced_test( SnapshotDir_UnitTests tribits_add_advanced_test( extract_rst_cmake_doc_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/extract_rst_cmake_doc_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" ) @@ -97,7 +97,7 @@ set(EXTRACT_RST_CMAKE_DOC_DATA_DIR tribits_add_advanced_test( extract_rst_cmake_doc_help OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${EXTRACT_RST_CMAKE_DOC} --help PASS_REGULAR_EXPRESSION_ALL @@ -108,7 +108,7 @@ tribits_add_advanced_test( extract_rst_cmake_doc_help tribits_add_advanced_test( extract_rst_cmake_doc_extract_1_block_1_file OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${EXTRACT_RST_CMAKE_DOC} --extract-from=${EXTRACT_RST_CMAKE_DOC_DATA_DIR}/simpleDocText1.cmake --do-trace @@ -127,7 +127,7 @@ tribits_add_advanced_test( extract_rst_cmake_doc_extract_1_block_1_file tribits_add_advanced_test( extract_rst_cmake_doc_extract_2_blocks_2_files OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${EXTRACT_RST_CMAKE_DOC} --extract-from=${EXTRACT_RST_CMAKE_DOC_DATA_DIR}/simpleDocText1.cmake,${EXTRACT_RST_CMAKE_DOC_DATA_DIR}/simpleDocText2.cmake --do-trace @@ -139,7 +139,7 @@ tribits_add_advanced_test( extract_rst_cmake_doc_extract_2_blocks_2_files tribits_add_advanced_test( extract_rst_cmake_doc_extract_2_blocks_glob_dir OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${EXTRACT_RST_CMAKE_DOC} --extract-from=${EXTRACT_RST_CMAKE_DOC_DATA_DIR}/ --do-trace @@ -151,7 +151,7 @@ tribits_add_advanced_test( extract_rst_cmake_doc_extract_2_blocks_glob_dir tribits_add_advanced_test( extract_rst_cmake_doc_extract_and_replace_2_blocks OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${EXTRACT_RST_CMAKE_DOC} --extract-from=${EXTRACT_RST_CMAKE_DOC_DATA_DIR}/ --rst-file-pairs=${EXTRACT_RST_CMAKE_DOC_DATA_DIR}/simpleTemplate1.rst:simple.rst @@ -169,7 +169,7 @@ tribits_add_advanced_test( extract_rst_cmake_doc_extract_and_replace_2_blocks tribits_add_advanced_test( extract_rst_cmake_doc_extract_and_replace_2_blocks_notrace OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - TEST_0 CMND ${PYTHON_EXECUTABLE} + TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${EXTRACT_RST_CMAKE_DOC} --extract-from=${EXTRACT_RST_CMAKE_DOC_DATA_DIR}/ --rst-file-pairs=${EXTRACT_RST_CMAKE_DOC_DATA_DIR}/simpleTemplate1.rst:simple.rst diff --git a/tribits/ci_support/TribitsWriteXmlDependenciesFiles.cmake b/tribits/ci_support/TribitsWriteXmlDependenciesFiles.cmake index 75b0a0276..021a235e4 100644 --- a/tribits/ci_support/TribitsWriteXmlDependenciesFiles.cmake +++ b/tribits/ci_support/TribitsWriteXmlDependenciesFiles.cmake @@ -52,7 +52,7 @@ macro(tribits_write_xml_dependency_files) " ${${PROJECT_NAME}_DEPS_HTML_OUTPUT_FILE} ..." ) set(tribitsCiSupportDir "${${PROJECT_NAME}_TRIBITS_DIR}/${TRIBITS_CI_SUPPORT_DIR}") execute_process( - COMMAND ${PYTHON_EXECUTABLE} + COMMAND ${Python3_EXECUTABLE} ${tribitsCiSupportDir}/dump-package-dep-table.py --input-xml-deps-file=${${PROJECT_NAME}_DEPS_XML_OUTPUT_FILE} --output-html-deps-file=${${PROJECT_NAME}_DEPS_HTML_OUTPUT_FILE} ) @@ -70,7 +70,7 @@ macro(tribits_write_xml_dependency_files) "${${PROJECT_NAME}_TRIBITS_DIR}/${TRIBITS_CTEST_DRIVER_DIR}") if (EXISTS "${tribitsCtestDriverDir}") execute_process( - COMMAND ${PYTHON_EXECUTABLE} + COMMAND ${Python3_EXECUTABLE} ${tribitsCtestDriverDir}/dump-cdash-deps-xml-file.py --input-xml-deps-file=${${PROJECT_NAME}_DEPS_XML_OUTPUT_FILE} --output-cdash-deps-xml-file=${${PROJECT_NAME}_CDASH_DEPS_XML_OUTPUT_FILE}) diff --git a/tribits/core/package_arch/TribitsGlobalMacros.cmake b/tribits/core/package_arch/TribitsGlobalMacros.cmake index 5ca67ede6..d060ebd69 100644 --- a/tribits/core/package_arch/TribitsGlobalMacros.cmake +++ b/tribits/core/package_arch/TribitsGlobalMacros.cmake @@ -806,7 +806,7 @@ macro(tribits_define_global_options_and_define_extra_repos) "Output XML file containing ${PROJECT_NAME} dependenices used by tools (if not empty)." ) if(${PROJECT_NAME}_DEPS_DEFAULT_OUTPUT_DIR AND - ${PROJECT_NAME}_DEPS_XML_OUTPUT_FILE AND PYTHON_EXECUTABLE + ${PROJECT_NAME}_DEPS_XML_OUTPUT_FILE AND Python3_EXECUTABLE ) set(${PROJECT_NAME}_CDASH_DEPS_XML_OUTPUT_FILE_DEFAULT "${${PROJECT_NAME}_DEPS_DEFAULT_OUTPUT_DIR}/${${PROJECT_NAME}_CDASH_SUBPROJECT_DEPS_XML_FILE_NAME}" ) @@ -819,7 +819,7 @@ macro(tribits_define_global_options_and_define_extra_repos) "Output XML file used by CDash in ${PROJECT_NAME}-independent format (if not empty)." ) if(${PROJECT_NAME}_DEPS_DEFAULT_OUTPUT_DIR AND - ${PROJECT_NAME}_DEPS_XML_OUTPUT_FILE AND PYTHON_EXECUTABLE + ${PROJECT_NAME}_DEPS_XML_OUTPUT_FILE AND Python3_EXECUTABLE ) set(${PROJECT_NAME}_DEPS_HTML_OUTPUT_FILE_DEFAULT "${${PROJECT_NAME}_DEPS_DEFAULT_OUTPUT_DIR}/${${PROJECT_NAME}_PACKAGE_DEPS_TABLE_HTML_FILE_NAME}" ) diff --git a/tribits/core/test_support/TribitsAddAdvancedTest.cmake b/tribits/core/test_support/TribitsAddAdvancedTest.cmake index 3f853da63..704a0d11e 100644 --- a/tribits/core/test_support/TribitsAddAdvancedTest.cmake +++ b/tribits/core/test_support/TribitsAddAdvancedTest.cmake @@ -354,7 +354,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/../utils/PrintVar.cmake") # # Instead, you have to use:: # -# CMND ${PYTHON_EXECUTABLE} ARGS /my_python_test.py ... +# CMND ${Python3_EXECUTABLE} ARGS /my_python_test.py ... # # ``ARGS "" "" ... ""`` # diff --git a/tribits/ctest_driver/TribitsCTestDriverCore.cmake b/tribits/ctest_driver/TribitsCTestDriverCore.cmake index ccd1a2b8c..d33c29fbf 100644 --- a/tribits/ctest_driver/TribitsCTestDriverCore.cmake +++ b/tribits/ctest_driver/TribitsCTestDriverCore.cmake @@ -141,7 +141,7 @@ tribits_project_read_version_file(${TRIBITS_PROJECT_ROOT}) include(TribitsFindPythonInterp) tribits_find_python() -message("PYTHON_EXECUTABLE = ${PYTHON_EXECUTABLE}") +message("Python3_EXECUTABLE = ${Python3_EXECUTABLE}") ############################# ### Do some initial setup ### diff --git a/tribits/ctest_driver/TribitsCTestDriverCoreHelpers.cmake b/tribits/ctest_driver/TribitsCTestDriverCoreHelpers.cmake index 76cfa19c6..e0b7116cc 100644 --- a/tribits/ctest_driver/TribitsCTestDriverCoreHelpers.cmake +++ b/tribits/ctest_driver/TribitsCTestDriverCoreHelpers.cmake @@ -175,7 +175,7 @@ endfunction() # function(tribits_create_repo_updates_file) extrarepo_execute_process_wrapper( - COMMAND ${PYTHON_EXECUTABLE} + COMMAND ${Python3_EXECUTABLE} ${GITDIST_EXE} --dist-no-color log "--pretty=format:%h: %s%nAuthor: %an <%ae>%nDate: %ad%n" --name-status -C ORIG_HEAD..HEAD @@ -376,14 +376,14 @@ macro(enable_only_modified_packages) # A.3) Get the names of the modified packages - if (NOT PYTHON_EXECUTABLE) + if (NOT Python3_EXECUTABLE) message(FATAL_ERROR "Error, Python must be enabled to map from modified" " files to packages!") endif() if (EXISTS "${MODIFIED_FILES_FILE_NAME}") execute_process( - COMMAND ${PYTHON_EXECUTABLE} + COMMAND ${Python3_EXECUTABLE} ${${PROJECT_NAME}_TRIBITS_DIR}/ci_support/get-tribits-packages-from-files-list.py --files-list-file=${MODIFIED_FILES_FILE_NAME} --project-dir=${TRIBITS_PROJECT_ROOT} @@ -847,7 +847,7 @@ function(tribits_get_failed_packages_from_failed_tests LAST_TESTS_FAILED_FILE FAILED_PACKAGES_OUT ) execute_process( - COMMAND ${PYTHON_EXECUTABLE} + COMMAND ${Python3_EXECUTABLE} "${${PROJECT_NAME}_TRIBITS_DIR}/ci_support/get-tribits-packages-from-last-tests-failed.py" "--deps-xml-file=${CTEST_BINARY_DIRECTORY}/${${PROJECT_NAME}_PACKAGE_DEPS_XML_FILE_NAME}" "--last-tests-failed-file=${LAST_TESTS_FAILED_FILE}" diff --git a/tribits/examples/TribitsExampleProject/cmake/CallbackSetupExtraOptions.cmake b/tribits/examples/TribitsExampleProject/cmake/CallbackSetupExtraOptions.cmake index 7a66eb1f9..fd9d8f539 100644 --- a/tribits/examples/TribitsExampleProject/cmake/CallbackSetupExtraOptions.cmake +++ b/tribits/examples/TribitsExampleProject/cmake/CallbackSetupExtraOptions.cmake @@ -12,11 +12,11 @@ macro(TRIBITS_REPOSITORY_SETUP_EXTRA_OPTIONS) set(${PROJECT_NAME}_ENABLE_WrapExternal OFF) endif() - if ("${PYTHON_EXECUTABLE}" STREQUAL "") + if ("${Python3_EXECUTABLE}" STREQUAL "") message( "\n***" "\n*** NOTE: Setting ${PROJECT_NAME}_ENABLE_WrapExternal=OFF" - " because PYTHON_EXECUTABLE=''!" + " because Python3_EXECUTABLE=''!" "\n***\n" ) set(${PROJECT_NAME}_ENABLE_WrapExternal OFF) diff --git a/tribits/examples/TribitsExampleProject/packages/wrap_external/CMakeLists.txt b/tribits/examples/TribitsExampleProject/packages/wrap_external/CMakeLists.txt index a9f8b0a37..bd0f4ef75 100644 --- a/tribits/examples/TribitsExampleProject/packages/wrap_external/CMakeLists.txt +++ b/tribits/examples/TribitsExampleProject/packages/wrap_external/CMakeLists.txt @@ -82,7 +82,7 @@ add_custom_command( OUTPUT ${EXTERNAL_FUNC_MAKEFILE} DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt ${EXTERNAL_FUNC_SOURCE_DIR}/configure.py - COMMAND ${PYTHON_EXECUTABLE} ${EXTERNAL_FUNC_SOURCE_DIR}/configure.py + COMMAND ${Python3_EXECUTABLE} ${EXTERNAL_FUNC_SOURCE_DIR}/configure.py "--cxx=${CMAKE_CXX_COMPILER}" "--cxx-flags=${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${upperBuildType}}" "--ar=${CMAKE_AR}" From a6d8de63ef8077dadf46338ff4db6a282e5429cf Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 4 Oct 2024 10:36:25 -0600 Subject: [PATCH 39/74] Manually change PYTHON_EXECUTABLE to Python3_EXECUTABLE (#610) This was not a token match so it did not match. I had to fix manually. --- test/core/ExamplesUnitTests/TribitsExampleProject_Tests.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/core/ExamplesUnitTests/TribitsExampleProject_Tests.cmake b/test/core/ExamplesUnitTests/TribitsExampleProject_Tests.cmake index 3d68eefb7..67d7e611e 100644 --- a/test/core/ExamplesUnitTests/TribitsExampleProject_Tests.cmake +++ b/test/core/ExamplesUnitTests/TribitsExampleProject_Tests.cmake @@ -1688,7 +1688,7 @@ tribits_add_advanced_test( TribitsExampleProject_ALL_ST_LibUsage ${TribitsExampleProject_COMMON_CONFIG_ARGS} -DTribitsExProj_TRIBITS_DIR=${${PROJECT_NAME}_TRIBITS_DIR} -DTribitsExProj_ENABLE_Fortran=ON - -DPYTHON_EXECUTABLE= + -DPython3_EXECUTABLE= -DTribitsExProj_ENABLE_ALL_PACKAGES=ON -DTribitsExProj_ENABLE_TESTS=ON -DTribitsExProj_ENABLE_SECONDARY_TESTED_CODE=ON From e0eb70280dcb457a5f23cec4a5422406f5376cb9 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 4 Oct 2024 10:42:00 -0600 Subject: [PATCH 40/74] Add build ref section 'Setting or disabling Python' (#610) I can't believe there was never a section on setting or disabling Python from a TriBITS project user's perspective. We have tests in TriBITS for the various behavior and TriBITS project developers users guide doc for the handling of Python. Signed-off-by: Roscoe A. Bartlett --- .../doc/build_ref/TribitsBuildReferenceBody.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tribits/doc/build_ref/TribitsBuildReferenceBody.rst b/tribits/doc/build_ref/TribitsBuildReferenceBody.rst index f250aa83c..c7351ebe2 100644 --- a/tribits/doc/build_ref/TribitsBuildReferenceBody.rst +++ b/tribits/doc/build_ref/TribitsBuildReferenceBody.rst @@ -2230,6 +2230,21 @@ This will override the global behavior set by ````. +Setting or disabling Python +---------------------------- + +To set which Python interpreter is used, configure with:: + + -D Python3_EXECUTABLE= + +Otherwise, Python will be found automatically by default using +``find_python(Python3)`` internally. + +To disable the finding and usage of Python, configure with:: + + -D Python3_EXECUTABLE= + + Outputting package dependency information ----------------------------------------- From fa84823b631dd375b57642892316fbe4b0040883 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 4 Oct 2024 14:07:51 -0600 Subject: [PATCH 41/74] Adjust clone tests for old Python implementation (#610) These tests clone older versions of TribitsExampleProject that are still using logic to disable the WrapExternal package based on PYTHON_EXECUTABLE. Therefore, with new TriBITS implementation setting Python3_EXECUTABLE, the old logic does not allow the enable of WrapExternal and therefore there is one less test (10 vs. 11). This commit adjusts the regex for the number of tests being run for that change. Once these external repo snapshots are updated, then we will need to revert this commit (and fix the SHA1s as usual). Signed-off-by: Roscoe A. Bartlett --- .../TribitsExampleMetaProject/CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/ctest_driver/TribitsExampleMetaProject/CMakeLists.txt b/test/ctest_driver/TribitsExampleMetaProject/CMakeLists.txt index d2e02af84..d7a2fa48a 100644 --- a/test/ctest_driver/TribitsExampleMetaProject/CMakeLists.txt +++ b/test/ctest_driver/TribitsExampleMetaProject/CMakeLists.txt @@ -152,7 +152,7 @@ tribits_add_advanced_test( CTestDriver_TribitsExMetaProj_clone_default_branch_re "Configure PASSED!" "CTEST_NOTES_FILES='.*/TriBITS_CTestDriver_TribitsExMetaProj_clone_default_branch_remote/BUILD/TribitsExMetaProjRepoVersion.txt[;].*/TriBITS_CTestDriver_TribitsExMetaProj_clone_default_branch_remote/BUILD/UpdateCommandsOutput.txt[;].*/TriBITS_CTestDriver_TribitsExMetaProj_clone_default_branch_remote/BUILD/CMakeCache.clean.txt'" "Build PASSED!" - "100% tests passed, 0 tests failed out of 11" + "100% tests passed, 0 tests failed out of 10" "Addon1 .*=.*.* sec[*]proc [(]1 test[)]" "MixedLang .* =.*.* sec[*]proc [(]1 test[)]" "SimpleCxx .*=*.* sec[*]proc [(]2 tests[)]" @@ -232,7 +232,7 @@ tribits_add_advanced_test( CTestDriver_TribitsExMetaProj_clone_default_branch_re "Configure PASSED!" "CTEST_NOTES_FILES='.*/BUILD/TribitsExMetaProjRepoVersion.txt[;].*/BUILD/Updates.txt[;].*/BUILD/UpdateCommandsOutput.txt[;].*/tribits/examples/TribitsExampleMetaProject/README[;].*/BUILD/CMakeCache.clean.txt'" "Build PASSED!" - "100% tests passed, 0 tests failed out of 11" + "100% tests passed, 0 tests failed out of 10" "Addon1 .*=.*.* sec[*]proc [(]1 test[)]" "MixedLang .* =.*.* sec[*]proc [(]1 test[)]" "SimpleCxx .*=*.* sec[*]proc [(]2 tests[)]" @@ -315,7 +315,7 @@ tribits_add_advanced_test( CTestDriver_TribitsExMetaProj_clone_default_branch_re "Configure PASSED!" "CTEST_NOTES_FILES='.*/BUILD/TribitsExMetaProjRepoVersion.txt[;].*/BUILD/Updates.txt[;].*/BUILD/UpdateCommandsOutput.txt[;].*/BUILD/CMakeCache.clean.txt'" "Build PASSED!" - "100% tests passed, 0 tests failed out of 11" + "100% tests passed, 0 tests failed out of 10" ALWAYS_FAIL_ON_NONZERO_RETURN TEST_12 @@ -404,7 +404,7 @@ tribits_add_advanced_test( CTestDriver_TribitsExMetaProj_clone_default_branch_re "ctest_update[(][.][.][.][)] returned '0'" "Configure PASSED!" "Build PASSED!" - "100% tests passed, 0 tests failed out of 11" + "100% tests passed, 0 tests failed out of 10" ALWAYS_FAIL_ON_NONZERO_RETURN ) @@ -454,7 +454,7 @@ tribits_add_advanced_test( CTestDriver_TribitsExMetaProj_clone_custom_branch_rem "Configure PASSED!" "CTEST_NOTES_FILES='.*/TriBITS_CTestDriver_TribitsExMetaProj_clone_custom_branch_remote/BUILD/TribitsExMetaProjRepoVersion.txt[;].*/TriBITS_CTestDriver_TribitsExMetaProj_clone_custom_branch_remote/BUILD/UpdateCommandsOutput.txt[;].*/TriBITS_CTestDriver_TribitsExMetaProj_clone_custom_branch_remote/BUILD/CMakeCache.clean.txt'" "Build PASSED!" - "100% tests passed, 0 tests failed out of 11" + "100% tests passed, 0 tests failed out of 10" "Addon1 .*=.*.* sec[*]proc [(]1 test[)]" "MixedLang .* =.*.* sec[*]proc [(]1 test[)]" "SimpleCxx .*=*.* sec[*]proc [(]2 tests[)]" @@ -568,7 +568,7 @@ tribits_add_advanced_test( CTestDriver_TribitsExMetaProj_clone_custom_branch_rem "Configure PASSED!" "CTEST_NOTES_FILES='.*/BUILD/TribitsExMetaProjRepoVersion.txt[;].*/BUILD/Updates.txt[;].*/BUILD/UpdateCommandsOutput.txt[;].*/BUILD/CMakeCache.clean.txt'" "Build PASSED!" - "100% tests passed, 0 tests failed out of 11" + "100% tests passed, 0 tests failed out of 10" ALWAYS_FAIL_ON_NONZERO_RETURN # NOTE: The above use case requires the custom git commands used by # ctest_update(). The default git commits used inside of ctest_update() From 15d05c030a688a845ddc528570b03c901a295c4c Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Mon, 7 Oct 2024 21:29:20 -0400 Subject: [PATCH 42/74] Move tribits_find_python_interp() to top in clean code ordering (#610) --- .../TribitsFindPythonInterp.cmake | 46 ++++++++++--------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/tribits/core/package_arch/TribitsFindPythonInterp.cmake b/tribits/core/package_arch/TribitsFindPythonInterp.cmake index 5d89e61e7..4e9cc2b33 100644 --- a/tribits/core/package_arch/TribitsFindPythonInterp.cmake +++ b/tribits/core/package_arch/TribitsFindPythonInterp.cmake @@ -8,6 +8,30 @@ # @HEADER +# TriBITS Wrapper for finding Python (or not) for a TriBITS project. +macro(tribits_find_python_interp) + if (${PROJECT_NAME}_REQUIRES_PYTHON) + set(${PROJECT_NAME}_USES_PYTHON TRUE) + endif() + if ("${${PROJECT_NAME}_USES_PYTHON}" STREQUAL "") + # Unless the project tells us they can use Python or not, let's go ahead + # and look for Python in case some packages want to use it. + set(${PROJECT_NAME}_USES_PYTHON TRUE) + endif() + if (${PROJECT_NAME}_USES_PYTHON) + tribits_find_python() + print_var(Python3_EXECUTABLE) + if (${PROJECT_NAME}_REQUIRES_PYTHON AND Python3_EXECUTABLE STREQUAL "") + message_wrapper(FATAL_ERROR "Error, Python3_EXECUTABLE='' but" + " ${PROJECT_NAME}_REQUIRES_PYTHON=${${PROJECT_NAME}_REQUIRES_PYTHON}!" ) + endif() + else() + message_wrapper("-- " "NOTE: Skipping check for Python because" + " ${PROJECT_NAME}_USES_PYTHON='${${PROJECT_NAME}_USES_PYTHON}'") + endif() +endmacro() + + # Find Python executable which is needed for dependency file building macro(tribits_find_python) # Get minimum version of Python to find @@ -56,25 +80,3 @@ endmacro() -# TriBITS Wrapper for finding Python (or not) for a TriBITS project. -macro(tribits_find_python_interp) - if (${PROJECT_NAME}_REQUIRES_PYTHON) - set(${PROJECT_NAME}_USES_PYTHON TRUE) - endif() - if ("${${PROJECT_NAME}_USES_PYTHON}" STREQUAL "") - # Unless the project tells us they can use Python or not, let's go ahead - # and look for Python in case some packages want to use it. - set(${PROJECT_NAME}_USES_PYTHON TRUE) - endif() - if (${PROJECT_NAME}_USES_PYTHON) - tribits_find_python() - print_var(Python3_EXECUTABLE) - if (${PROJECT_NAME}_REQUIRES_PYTHON AND Python3_EXECUTABLE STREQUAL "") - message_wrapper(FATAL_ERROR "Error, Python3_EXECUTABLE='' but" - " ${PROJECT_NAME}_REQUIRES_PYTHON=${${PROJECT_NAME}_REQUIRES_PYTHON}!" ) - endif() - else() - message_wrapper("-- " "NOTE: Skipping check for Python because" - " ${PROJECT_NAME}_USES_PYTHON='${${PROJECT_NAME}_USES_PYTHON}'") - endif() -endmacro() From 3958edc9e2fe153e05bc42714ce89873d68adfd6 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Mon, 7 Oct 2024 21:38:17 -0400 Subject: [PATCH 43/74] Factor tribits_find_python() into smaller macros (#610) Just clearning, more self-documenting code --- .../TribitsFindPythonInterp.cmake | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/tribits/core/package_arch/TribitsFindPythonInterp.cmake b/tribits/core/package_arch/TribitsFindPythonInterp.cmake index 4e9cc2b33..4e40facf2 100644 --- a/tribits/core/package_arch/TribitsFindPythonInterp.cmake +++ b/tribits/core/package_arch/TribitsFindPythonInterp.cmake @@ -34,6 +34,13 @@ endmacro() # Find Python executable which is needed for dependency file building macro(tribits_find_python) + tribits_find_python_set_python3_find_version() + tribits_find_python_backward_compatible_python_executable() + tribits_find_python_find_python3() +endmacro() + + +macro(tribits_find_python_set_python3_find_version) # Get minimum version of Python to find set(${PROJECT_NAME}_Python3_FIND_VERSION_MIN "3.8") if ("${${PROJECT_NAME}_Python3_FIND_VERSION_DEFAULT}" STREQUAL "") @@ -51,13 +58,21 @@ macro(tribits_find_python) " ${PROJECT_NAME}_Python3_FIND_VERSION=${${PROJECT_NAME}_Python3_FIND_VERSION} < ${${PROJECT_NAME}_Python3_FIND_VERSION_MIN}" " is not allowed!" ) endif() +endmacro() + + +macro(tribits_find_python_backward_compatible_python_executable) # Provide backward compatibility for user setting PYTHON_EXECUTABLE if ((NOT "${PYTHON_EXECUTABLE}" STREQUAL "") AND ("${Python3_EXECUTABLE}" STREQUAL "")) tribits_deprecated("Python3_EXECUTABLE being set by default to PYTHON_EXECUTABLE = '${PYTHON_EXECUTABLE}' is deprecated!") set(Python3_EXECUTABLE "${PYTHON_EXECUTABLE}" CACHE FILEPATH "Set by default to PYTHON_EXECUTABLE!") endif() - # Find Python +endmacro() + + +macro(tribits_find_python_find_python3) + # Find Python3 if (${PROJECT_NAME}_REQUIRES_PYTHON) set(Python3_REQUIRED_ARG "REQUIRED") else() @@ -75,8 +90,4 @@ macro(tribits_find_python) endmacro() -# Select the minimum version of Python - - - From c59141333f242aa7e5ef657f45ce564b27057c3d Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Tue, 8 Oct 2024 19:34:15 -0400 Subject: [PATCH 44/74] Add changelog entry for moving to find_package(Python3) (#610) --- tribits/CHANGELOG.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/tribits/CHANGELOG.md b/tribits/CHANGELOG.md index b3f1edd1e..ca6a8724d 100644 --- a/tribits/CHANGELOG.md +++ b/tribits/CHANGELOG.md @@ -2,6 +2,28 @@ ChangeLog for TriBITS ---------------------------------------- +## 2024-10-08: + +* **Changed:** The internal TriBITS framework find operation for Python has + been changed from calling `find_package(PythonInterp)` (using the deprecated + `FindPythonInterp.cmake` module) to calling `find_package(Python3)`, which + will find `python3` in the path automatically. The internal variable set by + this operation was changed from `PYTHON_EXECUTABLE` to `Python3_EXECUTABLE` + and TriBITS projects need make that change as well when upgrading TriBITS. + (This change can be made automatically in all of the project's CMake files + by running the script `tribits/refactoring/to-python3.sh `.) However, + backward compatibility for users of TriBITS projects that set `-D + PYTHON_EXECUTABLE=` is provided. If a TriBITS project user sets `-D + PYTHON_EXECUTABLE=` in the cache, TriBITS will set that value `` + to `Python3_EXECUTABLE` and avoid the call to `find_package(Python3)`; + however, a deprecation warning we be issued by default. TriBITS project + users should change to use `-D Python3_EXECUTABLE=` instead, or just + remove setting `PYTHON_EXECUTABLE` or `Python3_EXECUTABLE` altogether and + just make sure that the desired `python3` executable is in the path. See + issue + [TriBITSPub/TriBITS#610](https://github.com/TriBITSPub/TriBITS/issues/610) + for more details. + ## 2023-06-22: * **Added:** Packages are now determined to be missing if their dependencies From 6fb7d5e6e078bf6b9d25e80e8c386c2000eb5723 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Wed, 9 Oct 2024 08:38:42 -0600 Subject: [PATCH 45/74] Reduce min Python version from 3.8 to 3.6 (#610) The default version of `python3` on RHEL8 machines in Python 3.6.8. (I am not sure where I got Python 3.8 from.) But note that RHEL8 machines also seem to have Python 3.11 and 3.12 installed as well. I am wondering if it would not be more wise to be pro-active and push the version of Python being required to a higher version that will be supported for longer. (Python 3.6 ended support at the end of 2021.) --- .../core/TestingFunctionMacro_UnitTests.cmake | 24 +++++++++---------- .../TribitsFindPythonInterp.cmake | 2 +- tribits/doc/guides/TribitsGuidesBody.rst | 8 +++---- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/test/core/TestingFunctionMacro_UnitTests.cmake b/test/core/TestingFunctionMacro_UnitTests.cmake index 0f0aad3ac..baabce657 100644 --- a/test/core/TestingFunctionMacro_UnitTests.cmake +++ b/test/core/TestingFunctionMacro_UnitTests.cmake @@ -195,10 +195,10 @@ function(tribits_find_python_interp_uses_python_empty) message("tribits_find_python_interp(): ${PROJECT_NAME}_USES_PYTHON=''") global_set(MESSAGE_WRAPPER_INPUT "") set(${PROJECT_NAME}_USES_PYTHON "") - set(Python3_EXECUTABLE_UNITTEST_VAL /path/to/python3.8) + set(Python3_EXECUTABLE_UNITTEST_VAL /path/to/python3.6) tribits_find_python_interp() unittest_compare_const(MESSAGE_WRAPPER_INPUT - "-- ;Python3_EXECUTABLE='/path/to/python3.8'") + "-- ;Python3_EXECUTABLE='/path/to/python3.6'") endfunction() @@ -206,12 +206,12 @@ function(tribits_find_python_interp_uses_python_true) message("tribits_find_python_interp(): ${PROJECT_NAME}_USES_PYTHON=TRUE") global_set(MESSAGE_WRAPPER_INPUT) set(${PROJECT_NAME}_USES_PYTHON TRUE) - global_set(Python3_EXECUTABLE_UNITTEST_VAL /path/to/python3.8) + global_set(Python3_EXECUTABLE_UNITTEST_VAL /path/to/python3.6) tribits_find_python_interp() unittest_compare_const(MESSAGE_WRAPPER_INPUT - "-- ;Python3_EXECUTABLE='/path/to/python3.8'") + "-- ;Python3_EXECUTABLE='/path/to/python3.6'") unittest_compare_const(FIND_Python3_ARGS - "Python3;3.8") + "Python3;3.6") endfunction() @@ -220,23 +220,23 @@ function(tribits_find_python_interp_requires_python_true) global_set(MESSAGE_WRAPPER_INPUT) set(${PROJECT_NAME}_USES_PYTHON FALSE) set(${PROJECT_NAME}_REQUIRES_PYTHON TRUE) - set(Python3_EXECUTABLE_UNITTEST_VAL /path/to/python3.8) + set(Python3_EXECUTABLE_UNITTEST_VAL /path/to/python3.6) tribits_find_python_interp() unittest_compare_const(MESSAGE_WRAPPER_INPUT - "-- ;Python3_EXECUTABLE='/path/to/python3.8'") + "-- ;Python3_EXECUTABLE='/path/to/python3.6'") unittest_compare_const(FIND_Python3_ARGS - "Python3;3.8;REQUIRED") + "Python3;3.6;REQUIRED") endfunction() function(tribits_find_python_interp_find_version_too_low) - message("tribits_find_python_interp(): ${PROJECT_NAME}_Python3_FIND_VERSION=3.7 (too low)") + message("tribits_find_python_interp(): ${PROJECT_NAME}_Python3_FIND_VERSION=3.5 (too low)") global_set(MESSAGE_WRAPPER_INPUT) - set(${PROJECT_NAME}_Python3_FIND_VERSION 3.7) + set(${PROJECT_NAME}_Python3_FIND_VERSION 3.5) set(Python3_EXECUTABLE_UNITTEST_VAL /dummy) tribits_find_python_interp() unittest_compare_const(MESSAGE_WRAPPER_INPUT - "FATAL_ERROR;Error,; ${PROJECT_NAME}_Python3_FIND_VERSION=3.7 < 3.8; is not allowed!;-- ;Python3_EXECUTABLE='/dummy'") + "FATAL_ERROR;Error,; ${PROJECT_NAME}_Python3_FIND_VERSION=3.5 < 3.6; is not allowed!;-- ;Python3_EXECUTABLE='/dummy'") endfunction() @@ -262,7 +262,7 @@ function(tribits_find_python_interp_python_executable_backward_compatible) unittest_compare_const(MESSAGE_WRAPPER_INPUT "DEPRECATION;Python3_EXECUTABLE being set by default to PYTHON_EXECUTABLE = '/path/to/python3.10.2' is deprecated!;\n\nNOTE: To Make these warnings go away, set -D; TRIBITS_HANDLE_TRIBITS_DEPRECATED_CODE=IGNORE (see the build reference guide).;-- ;Python3_EXECUTABLE='/path/to/python3.10.2'") unittest_compare_const(FIND_Python3_ARGS - "Python3;3.8") + "Python3;3.6") endfunction() diff --git a/tribits/core/package_arch/TribitsFindPythonInterp.cmake b/tribits/core/package_arch/TribitsFindPythonInterp.cmake index 4e40facf2..209fbd47e 100644 --- a/tribits/core/package_arch/TribitsFindPythonInterp.cmake +++ b/tribits/core/package_arch/TribitsFindPythonInterp.cmake @@ -42,7 +42,7 @@ endmacro() macro(tribits_find_python_set_python3_find_version) # Get minimum version of Python to find - set(${PROJECT_NAME}_Python3_FIND_VERSION_MIN "3.8") + set(${PROJECT_NAME}_Python3_FIND_VERSION_MIN "3.6") if ("${${PROJECT_NAME}_Python3_FIND_VERSION_DEFAULT}" STREQUAL "") set(${PROJECT_NAME}_Python3_FIND_VERSION_DEFAULT "${${PROJECT_NAME}_Python3_FIND_VERSION_MIN}") diff --git a/tribits/doc/guides/TribitsGuidesBody.rst b/tribits/doc/guides/TribitsGuidesBody.rst index 963755c88..18507eddb 100644 --- a/tribits/doc/guides/TribitsGuidesBody.rst +++ b/tribits/doc/guides/TribitsGuidesBody.rst @@ -7003,9 +7003,9 @@ Python Support TriBITS Core does not require anything other than raw CMake. However, Python Utils, TriBITS CI Support, and other extended TriBITS components require -Python. These extra TriBITS tools only require Python 3.8+. By default, when +Python. These extra TriBITS tools only require Python 3.6+. By default, when a TriBITS project starts to configure using CMake, it will try to find Python -3.8+ on the system (see `Full Processing of TriBITS Project Files`_). If +3.6+ on the system (see `Full Processing of TriBITS Project Files`_). If Python is found, it will set the global cache variable ``Python3_EXECUTABLE``. If it is not found, then it will print a warning and ``Python3_EXECUTABLE`` will be empty. With this default behavior, if Python is found, then the @@ -7022,9 +7022,9 @@ many TriBITS projects, some TriBITS projects need different behavior such as: can't be found. In this case, the TriBITS project would set `${PROJECT_NAME}_REQUIRES_PYTHON`_ to ``TRUE``. -3. Some TriBITS projects may require a version of Python more recent than 3.8. +3. Some TriBITS projects may require a version of Python more recent than 3.6. In this case, the TriBITS project would set - `${PROJECT_NAME}_Python3_FIND_VERSION`_ to some value higher than ``3.8``. + `${PROJECT_NAME}_Python3_FIND_VERSION`_ to some value higher than ``3.6``. For example, may newer systems have higher versions of Python installed by default, and projects developed on such a system typically require this version or higher. From 3c1e8668b03dbe5fa08c8ed2df1d2416b59f6be4 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Wed, 9 Oct 2024 09:12:02 -0600 Subject: [PATCH 46/74] Increasing timeout for TriBITS tests from 100 to 200 seconds I am not sure what is going on with these machines, but the times for some of these TriBITS tests when run in parallel has fallen off a cliff. On my RHEL7 machine last year, most of those most expensive tests would complete in 30sec or less. --- dev_testing/cee-rhel8/do-configure.mpi-debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev_testing/cee-rhel8/do-configure.mpi-debug b/dev_testing/cee-rhel8/do-configure.mpi-debug index f0fe28451..921e0cbc5 100755 --- a/dev_testing/cee-rhel8/do-configure.mpi-debug +++ b/dev_testing/cee-rhel8/do-configure.mpi-debug @@ -20,7 +20,7 @@ if [ -d "${tribits_install_test_dir}" ] ; then fi ${TRIBITS_BASE_DIR}/dev_testing/generic/do-configure-mpi-debug \ --DDART_TESTING_TIMEOUT=100 \ +-DDART_TESTING_TIMEOUT=200 \ -DCTEST_PARALLEL_LEVEL=16 \ -DTriBITS_CTEST_DRIVER_COVERAGE_TESTS=TRUE \ -DTriBITS_CTEST_DRIVER_MEMORY_TESTS=TRUE \ From 701bb484e5571cd368f04cc80ef74248f7e72959 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Wed, 9 Oct 2024 09:17:09 -0600 Subject: [PATCH 47/74] Revert "Assume standard Python3/pip3 install of docutils (#610)" This reverts commit 31bfe439037fa73c16dfa523acdae21b28f20a82. Turns out that on some RHEL8 machines, 'rst2thml' is installed, but not 'rst2html.py'. For example, for the hpws machines at SNL, /usr/bin/rst2html is installed with version: $ rst2html --version rst2html (Docutils 0.14, Python 3.6.8, on linux) So this logic looking for 'rst2thml' and 'rst2html.py' is still useful. --- tribits/python_utils/GenerateDocUtilsOutput.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tribits/python_utils/GenerateDocUtilsOutput.py b/tribits/python_utils/GenerateDocUtilsOutput.py index cb2437d7a..0eb02ef6e 100644 --- a/tribits/python_utils/GenerateDocUtilsOutput.py +++ b/tribits/python_utils/GenerateDocUtilsOutput.py @@ -39,9 +39,13 @@ def generateFile(filePath, generateCmnd, outFile=None, workingDir="", def addCmndLineOptions(clp): - # Assume standard install of docutils with Python3 - rst2html = "rst2html.py" - rst2latex = "rst2latex.py" + # Find the right default for the current system + rst2html = "rst2html" + rst2latex = "rst2latex" + rst2htmlWhich = getCmndOutput("which rst2html", True, False) + if rst2htmlWhich == "" or re.match(".+no rst2html.+", rst2htmlWhich): + rst2html = rst2html+".py" + rst2latex = rst2latex+".py" clp.add_option( "--file-base", dest="fileBase", type="string", From 83ec3e48c34a39fa0273190ca23cea98926b0f4c Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Wed, 9 Oct 2024 17:44:39 -0400 Subject: [PATCH 48/74] Fix check for Python3 (#610) When changing to find_package(Python3) (see #610), the variable PYTHON_VERSION_MAJOR no longer gets set. That caused HAS_PYTHON3 to get set to FALSE and for the test TriBITS_sphinx_rst_generator_UnitTests to not get enabled (but is actually disabled using property DISABLED). NOTE: The CDash feature that reports when tests go missing caught this problem! (I never noticed that when doing local testing). Here is what that CDash email looked like: ---- Summary: [tribits-checkins] FAILED (m=1): TriBITS/TriBITS - tribits_cmake-3.25.2_makefiles_python-3.8_g++-11 - Continuous A submission to CDash for the project TriBITS has missing tests. You have been identified as one of the authors who have checked in changes that are part of this submission or you are listed in the default contact list. Details on the submission can be found at https://my.cdash.org/build/2685504. Project: TriBITS SubProject: TriBITS Site: ubuntu-latest Build Name: tribits_cmake-3.25.2_makefiles_python-3.8_g++-11 Build Time: 2024-10-09 16:55:55 Type: Continuous Total Missing Tests: 1 *Missing Tests* TriBITS_sphinx_rst_generator_UnitTests (https://my.cdash.org/viewTest.php?buildid=2685505) -CDash ---- That is such a nice feature! --- test/doc/CMakeLists.txt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/test/doc/CMakeLists.txt b/test/doc/CMakeLists.txt index 6cc978641..26c550c0c 100644 --- a/test/doc/CMakeLists.txt +++ b/test/doc/CMakeLists.txt @@ -1,10 +1,3 @@ -if (PYTHON_VERSION_MAJOR GREATER_EQUAL 3) - set(HAS_PYTHON3 TRUE) -else() - set(HAS_PYTHON3 FALSE) -endif() - - advanced_set( ${PROJECT_NAME}_ENABLE_DOC_GENERATION_TESTS OFF CACHE BOOL "Enable testing for the build of the documentation, including using Sphinx. Requires docutils, sphinx, and sphinx-rd-theme and will blow away and rebuild the existing documentation in the source tree since the documentation builds in place. Therefore, one must be careful to not blow away non-tracked files." ) @@ -13,7 +6,7 @@ advanced_set( ${PROJECT_NAME}_ENABLE_DOC_GENERATION_TESTS OFF tribits_add_advanced_test( sphinx_rst_generator_UnitTests OVERALL_WORKING_DIRECTORY TEST_NAME OVERALL_NUM_MPI_PROCS 1 - EXCLUDE_IF_NOT_TRUE HAS_PYTHON3 + EXCLUDE_IF_NOT_TRUE Python3_EXECUTABLE TEST_0 CMND ${Python3_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/sphinx_rst_generator_UnitTests.py -v PASS_REGULAR_EXPRESSION "OK" @@ -21,7 +14,6 @@ tribits_add_advanced_test( sphinx_rst_generator_UnitTests DISABLED "Test is broken for long time, see commit c477daa1" ) - tribits_add_advanced_test( build_docs EXCLUDE_IF_NOT_TRUE ${PROJECT_NAME}_ENABLE_DOC_GENERATION_TESTS GIT_EXECUTABLE From 3e050ce8d44a936cac035ebd99d687a4a334fc26 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Thu, 10 Oct 2024 14:00:14 -0400 Subject: [PATCH 49/74] Improve Python3 changelog entry with links to more info (#610) --- tribits/CHANGELOG.md | 54 +++++++++++++++++++++++++++++--------------- 1 file changed, 36 insertions(+), 18 deletions(-) diff --git a/tribits/CHANGELOG.md b/tribits/CHANGELOG.md index ca6a8724d..d824c7810 100644 --- a/tribits/CHANGELOG.md +++ b/tribits/CHANGELOG.md @@ -4,25 +4,43 @@ ChangeLog for TriBITS ## 2024-10-08: -* **Changed:** The internal TriBITS framework find operation for Python has - been changed from calling `find_package(PythonInterp)` (using the deprecated - `FindPythonInterp.cmake` module) to calling `find_package(Python3)`, which - will find `python3` in the path automatically. The internal variable set by - this operation was changed from `PYTHON_EXECUTABLE` to `Python3_EXECUTABLE` - and TriBITS projects need make that change as well when upgrading TriBITS. - (This change can be made automatically in all of the project's CMake files - by running the script `tribits/refactoring/to-python3.sh `.) However, - backward compatibility for users of TriBITS projects that set `-D - PYTHON_EXECUTABLE=` is provided. If a TriBITS project user sets `-D +* **Changed:** The TriBITS framework find operation for + Python[†](#tribits_python_support) has been changed from + calling `find_package(PythonInterp)` (which uses the deprecated + `FindPythonInterp.cmake` module) to calling `find_package(Python3)` (which + uses [FindPython3.cmake]). In the process, the internal CMake cache + variable set by this operation was changed from `PYTHON_EXECUTABLE` to + `Python3_EXECUTABLE`, and TriBITS projects need make that change as well + when upgrading TriBITS. (This change can be made automatically in all of + the project's CMake files by running the script + `tribits/refactoring/to-python3.sh `.) However, backward compatibility + is provided for users confiugring TriBITS CMake projects which set `-D + PYTHON_EXECUTABLE=`. In this case, if user sets `-D PYTHON_EXECUTABLE=` in the cache, TriBITS will set that value `` - to `Python3_EXECUTABLE` and avoid the call to `find_package(Python3)`; - however, a deprecation warning we be issued by default. TriBITS project - users should change to use `-D Python3_EXECUTABLE=` instead, or just - remove setting `PYTHON_EXECUTABLE` or `Python3_EXECUTABLE` altogether and - just make sure that the desired `python3` executable is in the path. See - issue - [TriBITSPub/TriBITS#610](https://github.com/TriBITSPub/TriBITS/issues/610) - for more details. + to the variable `Python3_EXECUTABLE` and avoid the call to + `find_package(Python3)` (however, a deprecation warning we be issued by + default, see [tribits_deprecated()] and [adjusting CMake DEPRECATION + warnings]). TriBITS project users should change to use `-D + Python3_EXECUTABLE=` instead, or just remove setting + `PYTHON_EXECUTABLE` or `Python3_EXECUTABLE` altogether and just make sure + that the desired `python3` executable is in the path. See issue + [TriBITSPub/TriBITS#610] for more details. + +† **TriBITS Python Support**: See "Find Python" at [Full Processing of TriBITS Project Files], [Python Support] and [Setting or disabling Python] + +[FindPython3.cmake]: https://cmake.org/cmake/help/latest/module/FindPython3.html + +[Full Processing of TriBITS Project Files]: https://tribitspub.github.io/TriBITS/users_guide/index.html#full-tribits-project-configuration + +[Python Support]: https://tribitspub.github.io/TriBITS/users_guide/index.html#python-support + +[Setting or disabling Python]: https://tribitspub.github.io/TriBITS/build_ref/index.html#setting-or-disabling-python + +[tribits_deprecated()]: https://tribitspub.github.io/TriBITS/users_guide/index.html#tribits-deprecated + +[Adjusting CMake DEPRECATION warnings]: https://tribitspub.github.io/TriBITS/build_ref/index.html#adjusting-cmake-deprecation-warnings + +[TriBITSPub/TriBITS#610]: https://github.com/TriBITSPub/TriBITS/issues/610 ## 2023-06-22: From 23135a950201002e601a050a06f244b8f9555da3 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Thu, 10 Oct 2024 14:00:46 -0400 Subject: [PATCH 50/74] Add link to FindPython3.cmake and fix typo for unsetting Python3_EXECUTABLE (#610) This typo did not get discovered on the PR review that added this. --- tribits/doc/build_ref/TribitsBuildReferenceBody.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tribits/doc/build_ref/TribitsBuildReferenceBody.rst b/tribits/doc/build_ref/TribitsBuildReferenceBody.rst index c7351ebe2..b8601d6e8 100644 --- a/tribits/doc/build_ref/TribitsBuildReferenceBody.rst +++ b/tribits/doc/build_ref/TribitsBuildReferenceBody.rst @@ -2238,11 +2238,11 @@ To set which Python interpreter is used, configure with:: -D Python3_EXECUTABLE= Otherwise, Python will be found automatically by default using -``find_python(Python3)`` internally. +``find_python(Python3)`` internally (see `FindPython3.cmake`_). -To disable the finding and usage of Python, configure with:: +To disable the finding and usage of Python, configure with (empty):: - -D Python3_EXECUTABLE= + -D Python3_EXECUTABLE= Outputting package dependency information @@ -4505,4 +4505,7 @@ dashboard``. .. _xSDK Community Package Policies: https://doi.org/10.6084/m9.figshare.4495136 +.. _FindPython3.cmake: https://cmake.org/cmake/help/latest/module/FindPython3.html + + .. LocalWords: templated instantiation Makefiles CMake From 22c6ffe45727105a19a21744364c15bf92dde2b6 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Thu, 10 Oct 2024 14:10:24 -0400 Subject: [PATCH 51/74] Fix up and better document to-python3.sh (#610) Now this is safer to run on a project's entire source tree and it is documented to explain what this is for. --- tribits/refactoring/to-python3.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tribits/refactoring/to-python3.sh b/tribits/refactoring/to-python3.sh index 2a295f5f6..4c40c0d67 100755 --- a/tribits/refactoring/to-python3.sh +++ b/tribits/refactoring/to-python3.sh @@ -1,12 +1,23 @@ #!/bin/sh # +# Refactor a TriBITS project's CMake files for the change from +# find_package(PythonInterp) to find_package(Python3) (see CHANGELOG.md entry +# for 2024-10-08). +# # Usage: # # to-python3.sh # +# NOTES: +# * This is safe to run multiple times on the same set of files. +# * This is safe to run from the base project source tree. +# * This will exclude any files under '.git/' +# * This will exclude any files under 'tribits/' directories (so it will not mess up TriBITS) +# _SCRIPT_DIR=`echo $0 | sed "s/\(.*\)\/to-python3[.]sh/\1/g"` baseDir=$1 find ${baseDir} -type f \ \( -name CMakeLists.txt -or -name "*.cmake" -or -name "*.cmake.in" -or -name "*.rst" \) \ + ! -wholename "*/.git/*" ! -wholename "*/tribits/*" \ -exec $_SCRIPT_DIR/token-replace.py -t PYTHON_EXECUTABLE -r Python3_EXECUTABLE -f {} ';' From c297253b60f3a9cd8abfef84cc054967c8ff5733 Mon Sep 17 00:00:00 2001 From: "Samuel E. Browne" Date: Thu, 6 Jun 2024 15:15:44 -0600 Subject: [PATCH 52/74] Use 'python3' to access Python (#610) As per https://peps.python.org/pep-0394, it is best practice to not use 'python' in shebangs. Use the explicit `python3` entry point instead. Signed-off-by: Samuel E. Browne --- common_tools/git/cherry-pick-commits.py | 2 +- common_tools/git/commit-summary-over-periods.py | 2 +- common_tools/git/hooks/server-side/get_recipients.py | 2 +- common_tools/git/hooks/server-side/update_push_log.py | 2 +- common_tools/test/hhmmss_math.py | 2 +- common_tools/test/kill-pstree.py | 2 +- refactoring/remove_std_tribits_includes.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/common_tools/git/cherry-pick-commits.py b/common_tools/git/cherry-pick-commits.py index e3a3f2a6c..c45ec0bf0 100755 --- a/common_tools/git/cherry-pick-commits.py +++ b/common_tools/git/cherry-pick-commits.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ************************************************************************ # diff --git a/common_tools/git/commit-summary-over-periods.py b/common_tools/git/commit-summary-over-periods.py index be5dd8aea..8d5a3fe1b 100755 --- a/common_tools/git/commit-summary-over-periods.py +++ b/common_tools/git/commit-summary-over-periods.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ************************************************************************ # diff --git a/common_tools/git/hooks/server-side/get_recipients.py b/common_tools/git/hooks/server-side/get_recipients.py index 52274fea1..fbe2976ff 100755 --- a/common_tools/git/hooks/server-side/get_recipients.py +++ b/common_tools/git/hooks/server-side/get_recipients.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import commands import os diff --git a/common_tools/git/hooks/server-side/update_push_log.py b/common_tools/git/hooks/server-side/update_push_log.py index d7fa52602..8ddfc8f9e 100755 --- a/common_tools/git/hooks/server-side/update_push_log.py +++ b/common_tools/git/hooks/server-side/update_push_log.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ************************************************************************ # diff --git a/common_tools/test/hhmmss_math.py b/common_tools/test/hhmmss_math.py index 81dce2d91..a954b12cd 100644 --- a/common_tools/test/hhmmss_math.py +++ b/common_tools/test/hhmmss_math.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # This simple set of python functions makes it easy to do simple math with # times formatted as
hms. This makes it easier to analyze diff --git a/common_tools/test/kill-pstree.py b/common_tools/test/kill-pstree.py index 4fc93e9d3..3d35eedf9 100755 --- a/common_tools/test/kill-pstree.py +++ b/common_tools/test/kill-pstree.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # @HEADER # ************************************************************************ # diff --git a/refactoring/remove_std_tribits_includes.py b/refactoring/remove_std_tribits_includes.py index 29dcea3f9..5c5cba3f7 100755 --- a/refactoring/remove_std_tribits_includes.py +++ b/refactoring/remove_std_tribits_includes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 include_files_to_remove = [ "AddSubdirectories", From 3dca096437acbb7a16b88bee7d9569bccd8e6317 Mon Sep 17 00:00:00 2001 From: "Samuel E. Browne" Date: Thu, 6 Jun 2024 15:26:15 -0600 Subject: [PATCH 53/74] Add Python3 requirement to user guide (#610) Signed-off-by: Samuel E. Browne --- tribits/doc/guides/TribitsGuidesBody.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tribits/doc/guides/TribitsGuidesBody.rst b/tribits/doc/guides/TribitsGuidesBody.rst index 18507eddb..29a319fc6 100644 --- a/tribits/doc/guides/TribitsGuidesBody.rst +++ b/tribits/doc/guides/TribitsGuidesBody.rst @@ -4233,7 +4233,8 @@ repositories if specified). There are several python tools under ``tribits/ci_support/`` that read in this file and use the created data-structure for various tasks. This file and these tools are used by `checkin-test.py`_ and `tribits_ctest_driver()`_. But these tools can also be -used to construct other workflows and tools. +used to construct other workflows and tools. These tools require a Python3 +installation and for the `python3` executable to be installed. .. _TribitsDumpDepsXmlScript.cmake: From c871bc27a9ae0897639f48e915e438e2b073f063 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 11 Oct 2024 09:15:52 -0600 Subject: [PATCH 54/74] Remove space in module load command Just looks nicer Signed-off-by: Roscoe A. Bartlett --- dev_testing/cee-rhel8/load-env.gnu-10.3.0.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev_testing/cee-rhel8/load-env.gnu-10.3.0.sh b/dev_testing/cee-rhel8/load-env.gnu-10.3.0.sh index d029a4db0..8ff3a1301 100644 --- a/dev_testing/cee-rhel8/load-env.gnu-10.3.0.sh +++ b/dev_testing/cee-rhel8/load-env.gnu-10.3.0.sh @@ -2,6 +2,6 @@ module purge module load aue/cmake/3.27.7 module load aue/ninja/1.11.1 module load aue/gcc/10.3.0 -module load aue/openmpi/4.1.6-gcc-10.3.0 +module load aue/openmpi/4.1.6-gcc-10.3.0 export TribitsExMetaProj_GIT_URL_REPO_BASE=git@github.com:tribits/ From 34eccab8bf1a3da7b804e86cda763ea75af5527c Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 11 Oct 2024 09:28:30 -0600 Subject: [PATCH 55/74] Allow for group sticky bit permissions with install_perms tests On the cee-build030 machine, the group sticky bit seems to be supported (unlike other machines at SNL). Therefore, 'ls -l' replaces 'x' with 's' or 'S' in the output depending on the type of permission. This change allows these tests to pass on cee-build030. Signed-off-by: Roscoe A. Bartlett --- .../TribitsExampleProject_Tests.cmake | 46 +++++++++---------- .../TribitsHelloWorld_Tests.cmake | 8 ++-- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/test/core/ExamplesUnitTests/TribitsExampleProject_Tests.cmake b/test/core/ExamplesUnitTests/TribitsExampleProject_Tests.cmake index 67d7e611e..6004b26c4 100644 --- a/test/core/ExamplesUnitTests/TribitsExampleProject_Tests.cmake +++ b/test/core/ExamplesUnitTests/TribitsExampleProject_Tests.cmake @@ -781,12 +781,12 @@ tribits_add_advanced_test( TribitsExampleProject_install_perms install_base/install/lib install_base/install/share/WithSubpackagesB/stuff PASS_REGULAR_EXPRESSION_ALL - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base" - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/install" - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/install/bin" - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/install/include" - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/install/lib" - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/install/share/WithSubpackagesB/stuff" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/install" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/install/bin" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/install/include" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/install/lib" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/install/share/WithSubpackagesB/stuff" ALWAYS_FAIL_ON_NONZERO_RETURN TEST_6 @@ -800,10 +800,10 @@ tribits_add_advanced_test( TribitsExampleProject_install_perms install_base/install/share/WithSubpackagesB/stuff PASS_REGULAR_EXPRESSION_ALL "${mixedLangHeaderRegex}" - "[d]rwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* wsp_c" + "[d]rwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* wsp_c" "[-]rw-rw-r--.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* C.hpp" "[-]rw-rw-r--.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* libpws_c.a" - "[-]rwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* exec_script.sh" + "[-]rwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* exec_script.sh" "[-]rw-rw-r--.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* regular_file.txt" ALWAYS_FAIL_ON_NONZERO_RETURN @@ -915,13 +915,13 @@ tribits_add_advanced_test( TribitsExampleProject_install_package_by_package_perm install_base/subdir/install/lib install_base/subdir/install/share/WithSubpackagesB/stuff PASS_REGULAR_EXPRESSION_ALL - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base" - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/subdir" - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/subdir/install" - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/subdir/install/bin" - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/subdir/install/include" - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/subdir/install/lib" - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/subdir/install/share/WithSubpackagesB/stuff" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/subdir" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/subdir/install" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/subdir/install/bin" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/subdir/install/include" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/subdir/install/lib" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* install_base/subdir/install/share/WithSubpackagesB/stuff" ALWAYS_FAIL_ON_NONZERO_RETURN TEST_7 @@ -936,7 +936,7 @@ tribits_add_advanced_test( TribitsExampleProject_install_package_by_package_perm "${mixedLangHeaderRegex}" "[-]rw-rw-r--.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* B.hpp" "[-]rw-rw-r--.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* libpws_b.a" - "[-]rwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* exec_script.sh" + "[-]rwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* exec_script.sh" "[-]rw-rw-r--.* .* ${TribitsExProj_INSTALL_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* regular_file.txt" ALWAYS_FAIL_ON_NONZERO_RETURN @@ -1060,13 +1060,13 @@ tribits_add_advanced_test( TribitsExampleProject_install_perms_nonowning_base_di ${installPrefix}/lib ${installPrefix}/share/WithSubpackagesB/stuff PASS_REGULAR_EXPRESSION_ALL - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_BASE_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* ${installBaseDir}" - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} +${TribitsExProj_INSTALL_OWNING_GROUP} .* ${installPrefixBaseDir}" - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} +${TribitsExProj_INSTALL_OWNING_GROUP} .* ${installPrefix}" - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} +${TribitsExProj_INSTALL_OWNING_GROUP} .* ${installPrefix}/bin" - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} +${TribitsExProj_INSTALL_OWNING_GROUP} .* ${installPrefix}/include" - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} +${TribitsExProj_INSTALL_OWNING_GROUP} .* ${installPrefix}/lib" - "drwxrwxr-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} +${TribitsExProj_INSTALL_OWNING_GROUP} .* ${installPrefix}/share/WithSubpackagesB/stuff" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_BASE_OWNING_USER} *${TribitsExProj_INSTALL_OWNING_GROUP} .* ${installBaseDir}" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} +${TribitsExProj_INSTALL_OWNING_GROUP} .* ${installPrefixBaseDir}" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} +${TribitsExProj_INSTALL_OWNING_GROUP} .* ${installPrefix}" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} +${TribitsExProj_INSTALL_OWNING_GROUP} .* ${installPrefix}/bin" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} +${TribitsExProj_INSTALL_OWNING_GROUP} .* ${installPrefix}/include" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} +${TribitsExProj_INSTALL_OWNING_GROUP} .* ${installPrefix}/lib" + "drwxrw[xs]r-x.* .* ${TribitsExProj_INSTALL_OWNING_USER} +${TribitsExProj_INSTALL_OWNING_GROUP} .* ${installPrefix}/share/WithSubpackagesB/stuff" ALWAYS_FAIL_ON_NONZERO_RETURN ) diff --git a/test/core/ExamplesUnitTests/TribitsHelloWorld_Tests.cmake b/test/core/ExamplesUnitTests/TribitsHelloWorld_Tests.cmake index bbfb22eef..15bd7e346 100644 --- a/test/core/ExamplesUnitTests/TribitsHelloWorld_Tests.cmake +++ b/test/core/ExamplesUnitTests/TribitsHelloWorld_Tests.cmake @@ -684,10 +684,10 @@ tribits_add_advanced_test( TribitsHelloWorld_install_perms CMND ls ARGS -ld install install/include install/lib install/bin PASS_REGULAR_EXPRESSION_ALL - "drwx------.* .* install" - "drwx------.* .* install/bin" - "drwx------.* .* install/include" - "drwx------.* .* install/lib" + "drwx--[-S]---.* .* install" + "drwx--[-S]---.* .* install/bin" + "drwx--[-S]---.* .* install/include" + "drwx--[-S]---.* .* install/lib" ALWAYS_FAIL_ON_NONZERO_RETURN ) From fc817177f1339a684cb5fedef624390ebd3b89d2 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 11 Oct 2024 12:31:01 -0600 Subject: [PATCH 56/74] Add note for local script already copied and the same This makes it clear what scripts got copied and which ones did not and why. I also updated the doc some Signed-off-by: Roscoe A. Bartlett --- .../hooks/client-side/copy_hooks_scripts.sh | 13 +-- common_tools/git/hooks/client-side/pre-push | 86 +++++++++++++++++++ 2 files changed, 94 insertions(+), 5 deletions(-) create mode 100755 common_tools/git/hooks/client-side/pre-push diff --git a/common_tools/git/hooks/client-side/copy_hooks_scripts.sh b/common_tools/git/hooks/client-side/copy_hooks_scripts.sh index d56b37729..65fbca4d7 100755 --- a/common_tools/git/hooks/client-side/copy_hooks_scripts.sh +++ b/common_tools/git/hooks/client-side/copy_hooks_scripts.sh @@ -1,6 +1,8 @@ #!/bin/sh # -# Run from the base TriBITS git repo clone to install local git hooks +# Run from a base git repo clone to install local git hooks +# +# For example: # # $ cd TriBITS/ # $ ./commont_tools/git/client-side/copy_hooks_scripts.sh @@ -14,13 +16,14 @@ fi _SCRIPT_DIR=`echo $0 | sed "s/\(.*\)\/copy_hooks_scripts.sh/\1/g"` function copy_hook_script { - orig_file="$_SCRIPT_DIR/$1" - dest_file=".git/hooks/$1" + hook_file_name=$1 + orig_file="$_SCRIPT_DIR/${hook_file_name}" + dest_file=".git/hooks/${hook_file_name}" if diff ${orig_file} ${dest_file} &> /dev/null ; then - : + echo "NOTE: Local git hook script is same as installed: ${hook_file_name}" else - echo "Copy local git hook script: $1" + echo "Copy local git hook script: ${hook_file_name}" cp "${orig_file}" "${dest_file}" fi } diff --git a/common_tools/git/hooks/client-side/pre-push b/common_tools/git/hooks/client-side/pre-push new file mode 100755 index 000000000..80a261e37 --- /dev/null +++ b/common_tools/git/hooks/client-side/pre-push @@ -0,0 +1,86 @@ +#!/usr/bin/env python3 +# +# pre-push hook to check that commits are signed before pushing +# + +import os +import sys +import subprocess + + +# Functions + + +def s(x): + try: + return x.decode("utf-8") + except AttributeError: + return x + + +def getCmndOutput(cmnd): + result = subprocess.run(cmnd, stdout=subprocess.PIPE, + stderr = subprocess.STDOUT) + output = s(result.stdout) + if result.returncode != 0: + print("Error, the command "+str(cmnd)+" returned error code "+str(result.returncode)\ + +" with the stderr message:\n\n"+str(result.stderr)\ + +"\n\nReturned output was:\n\n"+output) + exit(1) + return output + + +# +# Main +# + + +# Read in command-line args +cmndLineArgs = sys.argv[1:] +remoteName = cmndLineArgs[0] +remoteURL = cmndLineArgs[1] +#print("remoteName = "+str(remoteName)) +#print("remoteURL = "+str(remoteURL)) + +# Read in data from STDIIN +stdinStr = sys.stdin.read().strip() +if stdinStr: + stdinArray = stdinStr.split(" ") + #print("stdinArray = "+str(stdinArray)) + localRef = stdinArray[0] + localObjectName = stdinArray[1] + remoteRef = stdinArray[2] + remoteObjectName = stdinArray[3] + #print("localRef = "+localRef) + #print("localObjectName = "+localObjectName) + #print("remoteRef = "+remoteRef) + #print("remoteObjectName = "+remoteObjectName) + +# Get the commits +if stdinStr: + gitCommits = getCmndOutput(["git", "rev-list", + remoteObjectName+".."+localObjectName]).strip() + #print("gitCommits = '"+gitCommits+"'") +else: + gitCommits = None + +# Loop over commits and check for the proper usage +if gitCommits: + + gitCommitsArray = str(gitCommits).split("\n") + #print("gitCommitsArray = "+str(gitCommitsArray)) + + for commit in gitCommitsArray: + commitMsg = getCmndOutput(["git", "log", "-1", "--pretty=format:\"%B\"", commit]) + if not "Signed-off-by:" in commitMsg: + print("Error: Commit "+commit+" does not have a Signed-off-by line!") + exit(1) + +# Abort if only doing testing +prePushHookTesting = os.environ.get("PRE_PUSH_HOOK_TESTING", "0") +if prePushHookTesting == "1": + print("Aborting pre-push because PRE_PUSH_HOOK_TESTING="+str(prePushHookTesting)) + exit(1) + +# If you get here, it is okay to push! +exit(0) From 66e11880b8c7275ae278dfe5e53895d917d7da66 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 11 Oct 2024 12:42:32 -0600 Subject: [PATCH 57/74] Add install of pre-push hook Signed-off-by: Roscoe A. Bartlett --- common_tools/git/hooks/client-side/copy_hooks_scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common_tools/git/hooks/client-side/copy_hooks_scripts.sh b/common_tools/git/hooks/client-side/copy_hooks_scripts.sh index 65fbca4d7..a3a2b1fd8 100755 --- a/common_tools/git/hooks/client-side/copy_hooks_scripts.sh +++ b/common_tools/git/hooks/client-side/copy_hooks_scripts.sh @@ -31,4 +31,4 @@ function copy_hook_script { #echo "_SCRIPT_DIR = '$_SCRIPT_DIR'" copy_hook_script commit-msg - +copy_hook_script pre-push From 2653ea49ea7a248bca99e87039d1a89e49d69b9e Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 11 Oct 2024 13:03:51 -0600 Subject: [PATCH 58/74] Factor out getVersionInfoFromStdinStr() Signed-off-by: Roscoe A. Bartlett --- common_tools/git/hooks/client-side/pre-push | 38 +++++++++++++-------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/common_tools/git/hooks/client-side/pre-push b/common_tools/git/hooks/client-side/pre-push index 80a261e37..713d6b57f 100755 --- a/common_tools/git/hooks/client-side/pre-push +++ b/common_tools/git/hooks/client-side/pre-push @@ -30,6 +30,27 @@ def getCmndOutput(cmnd): return output +def getVersionInfoFromStdinStr(stdinStr): + if stdinStr: + stdinArray = stdinStr.split(" ") + #print("stdinArray = "+str(stdinArray)) + localRef = stdinArray[0] + localObjectName = stdinArray[1] + remoteRef = stdinArray[2] + remoteObjectName = stdinArray[3] + #print("localRef = "+localRef) + #print("localObjectName = "+localObjectName) + #print("remoteRef = "+remoteRef) + #print("remoteObjectName = "+remoteObjectName) + localCommit = localObjectName + remoteCommit = remoteObjectName + else: + localCommit = None + remoteCommit = None + # + return (localCommit, remoteCommit) + + # # Main # @@ -44,22 +65,11 @@ remoteURL = cmndLineArgs[1] # Read in data from STDIIN stdinStr = sys.stdin.read().strip() -if stdinStr: - stdinArray = stdinStr.split(" ") - #print("stdinArray = "+str(stdinArray)) - localRef = stdinArray[0] - localObjectName = stdinArray[1] - remoteRef = stdinArray[2] - remoteObjectName = stdinArray[3] - #print("localRef = "+localRef) - #print("localObjectName = "+localObjectName) - #print("remoteRef = "+remoteRef) - #print("remoteObjectName = "+remoteObjectName) +(localCommit, remoteCommit) = getVersionInfoFromStdinStr(stdinStr) # Get the commits -if stdinStr: - gitCommits = getCmndOutput(["git", "rev-list", - remoteObjectName+".."+localObjectName]).strip() +if remoteCommit: + gitCommits = getCmndOutput(["git", "rev-list", remoteCommit+".."+localCommit]).strip() #print("gitCommits = '"+gitCommits+"'") else: gitCommits = None From d4bcfc0c181113099957929759dd31b3ed6d0cac Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 11 Oct 2024 13:42:20 -0600 Subject: [PATCH 59/74] Add allowToFail argument to getCmndOutput() Signed-off-by: Roscoe A. Bartlett --- common_tools/git/hooks/client-side/pre-push | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common_tools/git/hooks/client-side/pre-push b/common_tools/git/hooks/client-side/pre-push index 713d6b57f..04415c48e 100755 --- a/common_tools/git/hooks/client-side/pre-push +++ b/common_tools/git/hooks/client-side/pre-push @@ -18,11 +18,11 @@ def s(x): return x -def getCmndOutput(cmnd): +def getCmndOutput(cmnd, allowToFail=False): result = subprocess.run(cmnd, stdout=subprocess.PIPE, stderr = subprocess.STDOUT) output = s(result.stdout) - if result.returncode != 0: + if result.returncode != 0 and not allowToFail: print("Error, the command "+str(cmnd)+" returned error code "+str(result.returncode)\ +" with the stderr message:\n\n"+str(result.stderr)\ +"\n\nReturned output was:\n\n"+output) From 513feb21d0d0a596d5612cebc782e60b042a0b7b Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 11 Oct 2024 13:44:05 -0600 Subject: [PATCH 60/74] Adjust reference version when there is no remote commit When there is no remote commit, you need some reference version. I have added support for that (see documentation). Signed-off-by: Roscoe A. Bartlett --- common_tools/git/hooks/client-side/pre-push | 26 +++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/common_tools/git/hooks/client-side/pre-push b/common_tools/git/hooks/client-side/pre-push index 04415c48e..202756548 100755 --- a/common_tools/git/hooks/client-side/pre-push +++ b/common_tools/git/hooks/client-side/pre-push @@ -49,7 +49,27 @@ def getVersionInfoFromStdinStr(stdinStr): remoteCommit = None # return (localCommit, remoteCommit) - + + +def getUpstreamRemoteBranch(): + upstreamRemoteBranchPropName = "user.upstreamremotebranch" + upstreamRemoteBranch = getCmndOutput(["git", "config", "--get", + upstreamRemoteBranchPropName], allowToFail=True).strip() + if not upstreamRemoteBranch: + print("Error: The git repo config var '"+upstreamRemoteBranchPropName+"'"\ + +" is not set!\n\n"\ + +"Please set it in your local repo with:\n\n"\ + +" git config "+upstreamRemoteBranchPropName+" /") + exit(1) + return upstreamRemoteBranch + + +def getAdjustedReferenceVersion(remoteCommit): + if remoteCommit == "0000000000000000000000000000000000000000": + #print("Adjusted remote ref for remote commit: "+remoteCommit) + return getUpstreamRemoteBranch() + return remoteCommit + # # Main @@ -66,10 +86,12 @@ remoteURL = cmndLineArgs[1] # Read in data from STDIIN stdinStr = sys.stdin.read().strip() (localCommit, remoteCommit) = getVersionInfoFromStdinStr(stdinStr) +remoteReferenceVersion = getAdjustedReferenceVersion(remoteCommit) # Get the commits if remoteCommit: - gitCommits = getCmndOutput(["git", "rev-list", remoteCommit+".."+localCommit]).strip() + gitCommits = getCmndOutput(["git", "rev-list", + remoteReferenceVersion+".."+localCommit]).strip() #print("gitCommits = '"+gitCommits+"'") else: gitCommits = None From 3248abdfe52e1e112d92e2748dfc3258cf7fee20 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 11 Oct 2024 13:49:55 -0600 Subject: [PATCH 61/74] Print all bad commits Signed-off-by: Roscoe A. Bartlett --- common_tools/git/hooks/client-side/pre-push | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/common_tools/git/hooks/client-side/pre-push b/common_tools/git/hooks/client-side/pre-push index 202756548..366173c4f 100755 --- a/common_tools/git/hooks/client-side/pre-push +++ b/common_tools/git/hooks/client-side/pre-push @@ -97,16 +97,15 @@ else: gitCommits = None # Loop over commits and check for the proper usage +foundBadCommit = False if gitCommits: - gitCommitsArray = str(gitCommits).split("\n") #print("gitCommitsArray = "+str(gitCommitsArray)) - for commit in gitCommitsArray: commitMsg = getCmndOutput(["git", "log", "-1", "--pretty=format:\"%B\"", commit]) if not "Signed-off-by:" in commitMsg: print("Error: Commit "+commit+" does not have a Signed-off-by line!") - exit(1) + foundBadCommit = True # Abort if only doing testing prePushHookTesting = os.environ.get("PRE_PUSH_HOOK_TESTING", "0") @@ -114,5 +113,7 @@ if prePushHookTesting == "1": print("Aborting pre-push because PRE_PUSH_HOOK_TESTING="+str(prePushHookTesting)) exit(1) -# If you get here, it is okay to push! +# Final return pass/fail +if foundBadCommit: + exit(1) exit(0) From 558e6d13f20a6e47812ba437002f71c68dc8d24d Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 11 Oct 2024 13:53:52 -0600 Subject: [PATCH 62/74] Factor out getVersionRangeInfoFromStdinStr() Signed-off-by: Roscoe A. Bartlett --- common_tools/git/hooks/client-side/pre-push | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/common_tools/git/hooks/client-side/pre-push b/common_tools/git/hooks/client-side/pre-push index 366173c4f..60db1487e 100755 --- a/common_tools/git/hooks/client-side/pre-push +++ b/common_tools/git/hooks/client-side/pre-push @@ -71,6 +71,12 @@ def getAdjustedReferenceVersion(remoteCommit): return remoteCommit +def getVersionRangeInfoFromStdinStr(stdinStr): + (localCommit, remoteCommit) = getVersionInfoFromStdinStr(stdinStr) + remoteReferenceVersion = getAdjustedReferenceVersion(remoteCommit) + return (localCommit, remoteReferenceVersion) + + # # Main # @@ -83,13 +89,12 @@ remoteURL = cmndLineArgs[1] #print("remoteName = "+str(remoteName)) #print("remoteURL = "+str(remoteURL)) -# Read in data from STDIIN stdinStr = sys.stdin.read().strip() -(localCommit, remoteCommit) = getVersionInfoFromStdinStr(stdinStr) -remoteReferenceVersion = getAdjustedReferenceVersion(remoteCommit) + +(localCommit, remoteReferenceVersion) = getVersionRangeInfoFromStdinStr(stdinStr) # Get the commits -if remoteCommit: +if remoteReferenceVersion: gitCommits = getCmndOutput(["git", "rev-list", remoteReferenceVersion+".."+localCommit]).strip() #print("gitCommits = '"+gitCommits+"'") From bce0f95841ecd62e74b5e77ad000fcf21b8920d4 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 11 Oct 2024 14:01:45 -0600 Subject: [PATCH 63/74] Print how to sign off on all of the commits Signed-off-by: Roscoe A. Bartlett --- common_tools/git/hooks/client-side/pre-push | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common_tools/git/hooks/client-side/pre-push b/common_tools/git/hooks/client-side/pre-push index 60db1487e..f939f266d 100755 --- a/common_tools/git/hooks/client-side/pre-push +++ b/common_tools/git/hooks/client-side/pre-push @@ -81,6 +81,8 @@ def getVersionRangeInfoFromStdinStr(stdinStr): # Main # +# Get the branch name at the top in case it is not set! +upstreamRemoteBranch = getUpstreamRemoteBranch() # Read in command-line args cmndLineArgs = sys.argv[1:] @@ -111,6 +113,9 @@ if gitCommits: if not "Signed-off-by:" in commitMsg: print("Error: Commit "+commit+" does not have a Signed-off-by line!") foundBadCommit = True +if foundBadCommit: + print("\nNOTE: These commits can be signed off by running:\n\n"\ + " git rebase --signoff "+upstreamRemoteBranch+"\n") # Abort if only doing testing prePushHookTesting = os.environ.get("PRE_PUSH_HOOK_TESTING", "0") From 791d254817f2bfe7168dd71e0adbff392b51d029 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 11 Oct 2024 14:11:37 -0600 Subject: [PATCH 64/74] Factor out getCommitsListToBeTested() Signed-off-by: Roscoe A. Bartlett --- common_tools/git/hooks/client-side/pre-push | 29 ++++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/common_tools/git/hooks/client-side/pre-push b/common_tools/git/hooks/client-side/pre-push index f939f266d..65bd3466b 100755 --- a/common_tools/git/hooks/client-side/pre-push +++ b/common_tools/git/hooks/client-side/pre-push @@ -77,6 +77,19 @@ def getVersionRangeInfoFromStdinStr(stdinStr): return (localCommit, remoteReferenceVersion) +def getCommitsListToBeTested(localCommit, remoteReferenceVersion): + if remoteReferenceVersion: + gitCommitsStr = getCmndOutput(["git", "rev-list", + remoteReferenceVersion+".."+localCommit]).strip() + #print("gitCommits = '"+gitCommits+"'") + else: + gitCommitsStr = None + # Return an array of the commits + if gitCommitsStr: + return str(gitCommitsStr).split("\n") + return [] + + # # Main # @@ -92,23 +105,13 @@ remoteURL = cmndLineArgs[1] #print("remoteURL = "+str(remoteURL)) stdinStr = sys.stdin.read().strip() - (localCommit, remoteReferenceVersion) = getVersionRangeInfoFromStdinStr(stdinStr) - -# Get the commits -if remoteReferenceVersion: - gitCommits = getCmndOutput(["git", "rev-list", - remoteReferenceVersion+".."+localCommit]).strip() - #print("gitCommits = '"+gitCommits+"'") -else: - gitCommits = None +gitCommitsList = getCommitsListToBeTested(localCommit, remoteReferenceVersion) # Loop over commits and check for the proper usage foundBadCommit = False -if gitCommits: - gitCommitsArray = str(gitCommits).split("\n") - #print("gitCommitsArray = "+str(gitCommitsArray)) - for commit in gitCommitsArray: +if gitCommitsList: + for commit in gitCommitsList: commitMsg = getCmndOutput(["git", "log", "-1", "--pretty=format:\"%B\"", commit]) if not "Signed-off-by:" in commitMsg: print("Error: Commit "+commit+" does not have a Signed-off-by line!") From 4fe8f450e7c96827ab86ce1d6c6041452207c69e Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 11 Oct 2024 14:16:39 -0600 Subject: [PATCH 65/74] Factor out getCmndLineArgsFrmSysArgv() Signed-off-by: Roscoe A. Bartlett --- common_tools/git/hooks/client-side/pre-push | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/common_tools/git/hooks/client-side/pre-push b/common_tools/git/hooks/client-side/pre-push index 65bd3466b..2d07789ab 100755 --- a/common_tools/git/hooks/client-side/pre-push +++ b/common_tools/git/hooks/client-side/pre-push @@ -30,6 +30,15 @@ def getCmndOutput(cmnd, allowToFail=False): return output +def getCmndLineArgsFrmSysArgv(sysArgv): + cmndLineArgs = sysArgv[1:] + remoteName = cmndLineArgs[0] + remoteURL = cmndLineArgs[1] + #print("remoteName = "+str(remoteName)) + #print("remoteURL = "+str(remoteURL)) + return (remoteName, remoteURL) + + def getVersionInfoFromStdinStr(stdinStr): if stdinStr: stdinArray = stdinStr.split(" ") @@ -97,13 +106,8 @@ def getCommitsListToBeTested(localCommit, remoteReferenceVersion): # Get the branch name at the top in case it is not set! upstreamRemoteBranch = getUpstreamRemoteBranch() -# Read in command-line args -cmndLineArgs = sys.argv[1:] -remoteName = cmndLineArgs[0] -remoteURL = cmndLineArgs[1] -#print("remoteName = "+str(remoteName)) -#print("remoteURL = "+str(remoteURL)) - +# Get input and set of commits to check +(remoteName, remoteURL) = getCmndLineArgsFrmSysArgv(sys.argv) stdinStr = sys.stdin.read().strip() (localCommit, remoteReferenceVersion) = getVersionRangeInfoFromStdinStr(stdinStr) gitCommitsList = getCommitsListToBeTested(localCommit, remoteReferenceVersion) From 8878d29b1fad1a1f4b28e5e0b67b581c205dc4c1 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 11 Oct 2024 14:19:57 -0600 Subject: [PATCH 66/74] Factor out checkCommitOkay() Signed-off-by: Roscoe A. Bartlett --- common_tools/git/hooks/client-side/pre-push | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/common_tools/git/hooks/client-side/pre-push b/common_tools/git/hooks/client-side/pre-push index 2d07789ab..6e398381b 100755 --- a/common_tools/git/hooks/client-side/pre-push +++ b/common_tools/git/hooks/client-side/pre-push @@ -99,6 +99,14 @@ def getCommitsListToBeTested(localCommit, remoteReferenceVersion): return [] +def checkCommitOkay(commit): + commitMsg = getCmndOutput(["git", "log", "-1", "--pretty=format:\"%B\"", commit]) + if not "Signed-off-by:" in commitMsg: + print("Error: Commit "+commit+" does not have a Signed-off-by line!") + return False + return True + + # # Main # @@ -116,9 +124,7 @@ gitCommitsList = getCommitsListToBeTested(localCommit, remoteReferenceVersion) foundBadCommit = False if gitCommitsList: for commit in gitCommitsList: - commitMsg = getCmndOutput(["git", "log", "-1", "--pretty=format:\"%B\"", commit]) - if not "Signed-off-by:" in commitMsg: - print("Error: Commit "+commit+" does not have a Signed-off-by line!") + if not checkCommitOkay(commit): foundBadCommit = True if foundBadCommit: print("\nNOTE: These commits can be signed off by running:\n\n"\ From b9b1d560f49cd141369cc3f9c12dc339eafa6147 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 11 Oct 2024 14:25:49 -0600 Subject: [PATCH 67/74] Factor out checkCommitsAreOkay() Signed-off-by: Roscoe A. Bartlett --- common_tools/git/hooks/client-side/pre-push | 26 ++++++++++++--------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/common_tools/git/hooks/client-side/pre-push b/common_tools/git/hooks/client-side/pre-push index 6e398381b..d3043a6a6 100755 --- a/common_tools/git/hooks/client-side/pre-push +++ b/common_tools/git/hooks/client-side/pre-push @@ -107,6 +107,18 @@ def checkCommitOkay(commit): return True +def checkCommitsAreOkay(gitCommitsList, upstreamRemoteBranch): + foundBadCommit = False + if gitCommitsList: + for commit in gitCommitsList: + if not checkCommitOkay(commit): + foundBadCommit = True + if foundBadCommit: + print("\nNOTE: These commits can be signed off by running:\n\n"\ + " git rebase --signoff "+upstreamRemoteBranch+"\n") + return False + return True + # # Main # @@ -114,21 +126,13 @@ def checkCommitOkay(commit): # Get the branch name at the top in case it is not set! upstreamRemoteBranch = getUpstreamRemoteBranch() -# Get input and set of commits to check (remoteName, remoteURL) = getCmndLineArgsFrmSysArgv(sys.argv) + stdinStr = sys.stdin.read().strip() (localCommit, remoteReferenceVersion) = getVersionRangeInfoFromStdinStr(stdinStr) gitCommitsList = getCommitsListToBeTested(localCommit, remoteReferenceVersion) -# Loop over commits and check for the proper usage -foundBadCommit = False -if gitCommitsList: - for commit in gitCommitsList: - if not checkCommitOkay(commit): - foundBadCommit = True -if foundBadCommit: - print("\nNOTE: These commits can be signed off by running:\n\n"\ - " git rebase --signoff "+upstreamRemoteBranch+"\n") +allCommitsAreOkay = checkCommitsAreOkay(gitCommitsList, upstreamRemoteBranch) # Abort if only doing testing prePushHookTesting = os.environ.get("PRE_PUSH_HOOK_TESTING", "0") @@ -137,6 +141,6 @@ if prePushHookTesting == "1": exit(1) # Final return pass/fail -if foundBadCommit: +if not allCommitsAreOkay: exit(1) exit(0) From 1d2b90ccb4bfc3066c4594d9eab8bbfabed887e6 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 11 Oct 2024 14:28:58 -0600 Subject: [PATCH 68/74] Factor out abortIfOnlyDoingTesting() Signed-off-by: Roscoe A. Bartlett --- common_tools/git/hooks/client-side/pre-push | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/common_tools/git/hooks/client-side/pre-push b/common_tools/git/hooks/client-side/pre-push index d3043a6a6..5a3d5880c 100755 --- a/common_tools/git/hooks/client-side/pre-push +++ b/common_tools/git/hooks/client-side/pre-push @@ -119,6 +119,14 @@ def checkCommitsAreOkay(gitCommitsList, upstreamRemoteBranch): return False return True + +def abortIfOnlyDoingTesting(): + prePushHookTesting = os.environ.get("PRE_PUSH_HOOK_TESTING", "0") + if prePushHookTesting == "1": + print("Aborting pre-push because PRE_PUSH_HOOK_TESTING="+str(prePushHookTesting)) + exit(1) + + # # Main # @@ -134,13 +142,8 @@ gitCommitsList = getCommitsListToBeTested(localCommit, remoteReferenceVersion) allCommitsAreOkay = checkCommitsAreOkay(gitCommitsList, upstreamRemoteBranch) -# Abort if only doing testing -prePushHookTesting = os.environ.get("PRE_PUSH_HOOK_TESTING", "0") -if prePushHookTesting == "1": - print("Aborting pre-push because PRE_PUSH_HOOK_TESTING="+str(prePushHookTesting)) - exit(1) +abortIfOnlyDoingTesting() # Final return pass/fail -if not allCommitsAreOkay: - exit(1) +if not allCommitsAreOkay: exit(1) exit(0) From f5f58fb7e1bf2561eb161beb29fbed4db23ae9ab Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 1 Nov 2024 10:56:09 -0600 Subject: [PATCH 69/74] Complete renaming of PythonInterp_FIND_VERSION to _Python3_FIND_VERSION (#610) I somehow missed this in the previous commit: 3e5471dc "Change to find_package(Python3), set Python3_EXECUTABLE to PYTHON_EXECUTABLE (#610)" Author: Roscoe A. Bartlett Date: Thu Oct 3 12:03:52 2024 -0600 (4 weeks ago) Signed-off-by: Roscoe A. Bartlett --- .../guides/TribitsCoreDetailedReference.rst | 35 ++++++++++--------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/tribits/doc/guides/TribitsCoreDetailedReference.rst b/tribits/doc/guides/TribitsCoreDetailedReference.rst index aa443415c..1f07e959e 100644 --- a/tribits/doc/guides/TribitsCoreDetailedReference.rst +++ b/tribits/doc/guides/TribitsCoreDetailedReference.rst @@ -86,6 +86,7 @@ a given TriBITS project are: * `${PROJECT_NAME}_MAKE_INSTALL_GROUP_WRITABLE`_ * `${PROJECT_NAME}_MAKE_INSTALL_WORLD_READABLE`_ * `${PROJECT_NAME}_MUST_FIND_ALL_TPL_LIBS`_ +* `${PROJECT_NAME}_Python3_FIND_VERSION`_ * `${PROJECT_NAME}_REQUIRES_PYTHON`_ * `${PROJECT_NAME}_SET_INSTALL_RPATH`_ * `${PROJECT_NAME}_SHOW_GIT_COMMIT_PARENTS`_ @@ -99,7 +100,6 @@ a given TriBITS project are: * `DART_TESTING_TIMEOUT`_ * `CMAKE_INSTALL_RPATH_USE_LINK_PATH`_ * `MPI_EXEC_MAX_NUMPROCS`_ -* `PythonInterp_FIND_VERSION`_ * `TRIBITS_HANDLE_TRIBITS_DEPRECATED_CODE`_ These options are described below. @@ -625,6 +625,23 @@ These options are described below. in the `/ProjectName.cmake`_ file. +.. _${PROJECT_NAME}_Python3_FIND_VERSION: + +**${PROJECT_NAME}_Python3_FIND_VERSION** + + Determines the version of Python that is looked for. TriBITS requires at + least version "3.6". A particular TriBITS project can require a higher + version of TriBITS and this is set using, for example: + + set(${PROJECT_NAME}_Python3_FIND_VERSION_DEFAULT "3.8") + + in the `/ProjectName.cmake`_ file (See `Python Support`_). The + user can force a more recent version of Python by configuring with, for + example:: + + -D _Python3_FIND_VERSION="3.8" + + .. _${PROJECT_NAME}_REQUIRES_PYTHON: **${PROJECT_NAME}_REQUIRES_PYTHON** @@ -877,22 +894,6 @@ These options are described below. has 64 cores, a reasonable number for ``MPI_EXEC_MAX_NUMPROCS_DEFAULT`` is 64. -.. _PythonInterp_FIND_VERSION: - -**PythonInterp_FIND_VERSION** - - Determines the version of Python that is looked for. TriBITS requires at - least version "2.7". A particular TriBITS project can require a higher - version of TriBITS and this is set using, for example: - - set(PythonInterp_FIND_VERSION_DEFAULT "3.5.2") - - in the `/ProjectName.cmake`_ file (See `Python Support`_). The - default is version "2.7". The user can force a more recent version of - Python by configuring with, for example:: - - -D PythonInterp_FIND_VERSION="3.6.2" - .. _TRIBITS_HANDLE_TRIBITS_DEPRECATED_CODE: **TRIBITS_HANDLE_TRIBITS_DEPRECATED_CODE** From 3bc6bcd1619890e4b71afb2b8f227bb574810a5c Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 1 Nov 2024 06:56:13 -0600 Subject: [PATCH 70/74] Explicitly set vars to empty "" I just noticed this when looking over this code. Signed-off-by: Roscoe A. Bartlett --- .../package_arch/TribitsTplFindIncludeDirsAndLibraries.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tribits/core/package_arch/TribitsTplFindIncludeDirsAndLibraries.cmake b/tribits/core/package_arch/TribitsTplFindIncludeDirsAndLibraries.cmake index 54f08d60f..3ac3bdd66 100644 --- a/tribits/core/package_arch/TribitsTplFindIncludeDirsAndLibraries.cmake +++ b/tribits/core/package_arch/TribitsTplFindIncludeDirsAndLibraries.cmake @@ -425,7 +425,7 @@ function(tribits_tpl_find_include_dirs_and_libraries TPL_NAME) message( "-- Searching for libs in ${TPL_NAME}_LIBRARY_DIRS='${${TPL_NAME}_LIBRARY_DIRS}'") - set(LIBRARIES_FOUND) + set(LIBRARIES_FOUND "") foreach(LIBNAME_SET ${REQUIRED_LIBS_NAMES}) @@ -438,7 +438,7 @@ function(tribits_tpl_find_include_dirs_and_libraries TPL_NAME) set(LIBNAME_LIST ${LIBNAME_SET}) separate_arguments(LIBNAME_LIST) - set(LIBNAME_SET_LIB) + set(LIBNAME_SET_LIB "") foreach(LIBNAME ${LIBNAME_LIST}) From 44df3a4b60d53d4286217a0a23bac0639e92810c Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 1 Nov 2024 10:35:34 -0600 Subject: [PATCH 71/74] Update doc for REQUIRED_LIBS_NAMES Signed-off-by: Roscoe A. Bartlett --- ...ribitsTplFindIncludeDirsAndLibraries.cmake | 36 ++++++++++++++++--- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/tribits/core/package_arch/TribitsTplFindIncludeDirsAndLibraries.cmake b/tribits/core/package_arch/TribitsTplFindIncludeDirsAndLibraries.cmake index 3ac3bdd66..722d0710a 100644 --- a/tribits/core/package_arch/TribitsTplFindIncludeDirsAndLibraries.cmake +++ b/tribits/core/package_arch/TribitsTplFindIncludeDirsAndLibraries.cmake @@ -141,7 +141,7 @@ endfunction() # # [REQUIRED_HEADERS ...] # [MUST_FIND_ALL_HEADERS] -# [REQUIRED_LIBS_NAMES ...] +# [REQUIRED_LIBS_NAMES " ..." ...] # [MUST_FIND_ALL_LIBS] # [NO_PRINT_ENABLE_SUCCESS_FAIL] # ) @@ -165,11 +165,36 @@ endfunction() # If set, then all of the header files listed in ``REQUIRED_HEADERS`` must # be found (unless ``TPL__INCLUDE_DIRS`` is already set). # -# ``REQUIRED_LIBS_NAMES`` +# ``REQUIRED_LIBS_NAMES " ..." ...`` # # List of libraries that are searched for when looking for the TPL's -# libraries using ``find_library()``. This list can be overridden by the -# user by setting ``_LIBRARY_NAMES`` (see below). +# libraries using ``find_library()``. A single list of library names of +# the form: +# +# `` ...`` +# +# are searched for and must all be found and will define the libraries for +# this TPL on the link line in that order. However, a library name along +# with alternate library names can be provided using outer quotes with +# inner spaces: +# +# ``" ..."`` +# +# In this case, first, ```` is looked for and used if it is +# found. If not found, then the next alternate library name +# ```` is looked for and is used if found. This continues +# with each successive alternate library name in the set until one is +# found. If none of the libraries in the set alternative names are found, +# then this is an error. Providing a set of alternate library names (in +# order of preference) allows the default find operation to look for +# different library names for different situations and implementations. +# For example, the BLAS library can be called ``blas``, ``openblas`` or +# ``atlas`` for different BLAS implementations and can be specified as: +# +# ``"blas openblas atlas"`` +# +# The list of required library names can be overridden by the user by +# setting ``_LIBRARY_NAMES`` (see below). # # ``MUST_FIND_ALL_LIBS`` # @@ -206,7 +231,8 @@ endfunction() # ``_LIBRARY_NAMES`` (type ``STRING``) # # List of library names to be looked for instead of what is specified in -# ``REQUIRED_LIBS_NAMES ...``. +# ``REQUIRED_LIBS_NAMES ...``. If set, only a +# single set of libraries can be specified of which all need to be found. # # ``_LIB_ENABLED_DEPENDENCIES`` # From 410ffb3df49eb10a0387ec7d802e113cc6a48786 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 1 Nov 2024 11:45:22 -0600 Subject: [PATCH 72/74] Add hyperlinks to TriBITS FindTPL.cmake impl functions I was noticing that there was no hyperlinks to get from the documentation for FindTPL.cmake to these functions and I had to resort to dumb browser searches. Signed-off-by: Roscoe A. Bartlett --- tribits/doc/guides/TribitsGuidesBody.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tribits/doc/guides/TribitsGuidesBody.rst b/tribits/doc/guides/TribitsGuidesBody.rst index 29a319fc6..b002cbc80 100644 --- a/tribits/doc/guides/TribitsGuidesBody.rst +++ b/tribits/doc/guides/TribitsGuidesBody.rst @@ -2006,7 +2006,9 @@ FindTPL.cmake modules`_). The form of a simple ``FindTPL.cmake`` file that uses an internal call to ``find_package()`` which provides modern IMPORTED CMake -targets looks like:: +targets can use the +`tribits_extpkg_create_imported_all_libs_target_and_config_file()`_ function +and looks like:: find_package( REQUIRED) tribits_extpkg_create_imported_all_libs_target_and_config_file( @@ -2014,7 +2016,7 @@ targets looks like:: INNER_FIND_PACKAGE_NAME IMPORTED_TARGETS_FOR_ALL_LIBS ... ) -In this case, the purpose for the ``FindTPL.cmake`` file (as apposed +In this case, the purpose for the ``FindTPL.cmake`` file (as opposed to a direct call to ``find_package()``) is to ensure the definition of the complete target ``::all_libs`` which contains all usage requirements for the external package/TPL (i.e. all of the libraries, @@ -2023,7 +2025,8 @@ file ``Config.cmake``. The form of a simple ``FindTPL.cmake`` file that just provides a list of required header files and libraries that does **not** use an internal call -to ``find_package()`` looks like:: +to ``find_package()`` and instead uses the function +`tribits_tpl_find_include_dirs_and_libraries()`_ looks like:: tribits_tpl_find_include_dirs_and_libraries( REQUIRED_HEADERS ... From ca6ea52e3293bbc6b637fbf7d4aadce75e6648d1 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 1 Nov 2024 11:46:17 -0600 Subject: [PATCH 73/74] Update howto with alternative lib names with tribits_tpl_find_include_dirs_and_libraries() Signed-off-by: Roscoe A. Bartlett --- tribits/doc/guides/TribitsGuidesBody.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tribits/doc/guides/TribitsGuidesBody.rst b/tribits/doc/guides/TribitsGuidesBody.rst index b002cbc80..bcd68bed1 100644 --- a/tribits/doc/guides/TribitsGuidesBody.rst +++ b/tribits/doc/guides/TribitsGuidesBody.rst @@ -5942,6 +5942,22 @@ header files and libraries that must be found. A simple MUST_FIND_ALL_LIBS ) +Note that a set of alternate names for each library can be specified using +quotes around the set of alternative library names using the syntax:: + + tribits_tpl_find_include_dirs_and_libraries( + ... + REQUIRED_LIBS_NAMES " ..." ... + ... + ) + +This is most commonly used for simple single-library TPLs like BLAS that has +different potential implementations like:: + + tribits_tpl_find_include_dirs_and_libraries( BLAS + REQUIRED_LIBS_NAMES "blas openblas atlas" + ... + ) Requirements for FindTPL.cmake modules +++++++++++++++++++++++++++++++++++++++++++++++ From ade2bbbb57767f38b1e6efd464d50753717403fa Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 15 Nov 2024 12:55:45 -0500 Subject: [PATCH 74/74] Some updates to the overview doc Signed-off-by: Roscoe A. Bartlett --- README.rst | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 012202970..9b298c384 100644 --- a/README.rst +++ b/README.rst @@ -6,12 +6,18 @@ TriBITS: Tribal Build, Integrate, and Test System ================================================= -The Tribal Build, Integrate, and Test System (TriBITS) is a framework designed -to handle large software development projects involving multiple independent -development teams and multiple source repositories which is built on top of -the open-source CMake set of tools. TriBITS also defines a complete software -development, testing, and deployment system supporting processes consistent -with modern agile software development best practices. +The Tribal Build, Integrate, and Test System (TriBITS) provides a set of tools +and approaches designed to better handle large software development projects +involving multiple independent development teams and multiple source +repositories which are built on top of the open-source CMake set of tools. + +TriBITS provides the following core feature sets: + +* Package Architecture and Dependency Handling +* Package CMake targets and export files +* Uniform handling of external packages +* Large-scale test suite management + Documentation =============