-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
199 changed files
with
4,858 additions
and
5,151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
{ | ||
"configurePresets" : [ | ||
{ | ||
"cacheVariables" : { | ||
"CMAKE_BUILD_TYPE" : { | ||
"type" : "STRING", | ||
"value" : "RelWithDebInfo" | ||
}, | ||
"CMAKE_CXX_COMPILER" : { | ||
"type" : "STRING", | ||
"value" : "clang++" | ||
}, | ||
"CMAKE_CXX_EXTENSIONS" : { | ||
"type" : "BOOL", | ||
"value" : "OFF" | ||
}, | ||
"CMAKE_CXX_STANDARD" : { | ||
"type" : "STRING", | ||
"value" : "17" | ||
}, | ||
"CMAKE_CXX_STANDARD_REQUIRED" : { | ||
"type" : "BOOL", | ||
"value" : "ON" | ||
}, | ||
"CMAKE_C_COMPILER" : { | ||
"type" : "STRING", | ||
"value" : "clang" | ||
}, | ||
"CMAKE_Fortran_COMPILER" : { | ||
"type" : "STRING", | ||
"value" : "gfortran" | ||
}, | ||
"art_ADD_NOARCH_DIRS_INIT" : { | ||
"type" : "INTERNAL", | ||
"value" : "PERLLIB_DIR" | ||
}, | ||
"art_FHICL_DIR_INIT" : { | ||
"type" : "STRING", | ||
"value" : "" | ||
} | ||
}, | ||
"description" : "Configuration settings translated from ups/product_deps", | ||
"displayName" : "Configuration from product_deps", | ||
"hidden" : true, | ||
"name" : "from_product_deps" | ||
}, | ||
{ | ||
"cacheVariables" : { | ||
"UPS_CXX_COMPILER_ID" : { | ||
"type" : "STRING", | ||
"value" : "Clang" | ||
}, | ||
"UPS_CXX_COMPILER_VERSION" : { | ||
"type" : "STRING", | ||
"value" : "7.0.0" | ||
}, | ||
"UPS_C_COMPILER_ID" : { | ||
"type" : "STRING", | ||
"value" : "Clang" | ||
}, | ||
"UPS_C_COMPILER_VERSION" : { | ||
"type" : "STRING", | ||
"value" : "7.0.0" | ||
}, | ||
"UPS_Fortran_COMPILER_ID" : { | ||
"type" : "STRING", | ||
"value" : "GNU" | ||
}, | ||
"UPS_Fortran_COMPILER_VERSION" : { | ||
"type" : "STRING", | ||
"value" : "8.2.0" | ||
}, | ||
"WANT_UPS" : { | ||
"type" : "BOOL", | ||
"value" : true | ||
}, | ||
"art_EXEC_PREFIX_INIT" : { | ||
"type" : "STRING", | ||
"value" : "$env{CETPKG_FQ_DIR}" | ||
}, | ||
"art_UPS_BUILD_ONLY_DEPENDENCIES_INIT" : { | ||
"type" : "STRING", | ||
"value" : "catch;cetmodules;range" | ||
}, | ||
"art_UPS_PRODUCT_FLAVOR_INIT" : { | ||
"type" : "STRING", | ||
"value" : "$env{CETPKG_FLAVOR}" | ||
}, | ||
"art_UPS_PRODUCT_NAME_INIT" : { | ||
"type" : "STRING", | ||
"value" : "art" | ||
}, | ||
"art_UPS_QUALIFIER_STRING_INIT" : { | ||
"type" : "STRING", | ||
"value" : "$env{CETPKG_QUALSPEC}" | ||
}, | ||
"art_UPS_USE_TIME_DEPENDENCIES_INIT" : { | ||
"type" : "STRING", | ||
"value" : "canvas" | ||
} | ||
}, | ||
"description" : "Extra configuration for UPS package generation", | ||
"displayName" : "UPS extra configuration", | ||
"hidden" : true, | ||
"name" : "extra_for_UPS" | ||
}, | ||
{ | ||
"description" : "Default configuration including settings from ups/product_deps", | ||
"displayName" : "Default configuration", | ||
"inherits" : "from_product_deps", | ||
"name" : "default" | ||
}, | ||
{ | ||
"description" : "Default configuration for UPS package generation", | ||
"displayName" : "Default configuration for UPS", | ||
"inherits" : [ | ||
"default", | ||
"extra_for_UPS" | ||
], | ||
"name" : "for_UPS" | ||
} | ||
], | ||
"version" : 3 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#ifndef art_Framework_Art_detail_ExitCodePrinter_h | ||
#define art_Framework_Art_detail_ExitCodePrinter_h | ||
|
||
#include "art/Framework/Art/detail/info_success.h" | ||
#include <iostream> | ||
|
||
namespace art::detail { | ||
class ExitCodePrinter { | ||
public: | ||
ExitCodePrinter& | ||
operator=(int exitcode) noexcept | ||
{ | ||
code_ = exitcode; | ||
return *this; | ||
} | ||
|
||
~ExitCodePrinter() noexcept | ||
{ | ||
if (code_ != info_success()) { | ||
std::cout << "Art has completed and will exit with status " << code_ | ||
<< "." << std::endl; | ||
} | ||
} | ||
|
||
int | ||
exitcode() const noexcept | ||
{ | ||
return code_ == info_success() ? 0 : code_; | ||
} | ||
|
||
private: | ||
int code_{}; | ||
}; | ||
} | ||
|
||
#endif /* art_Framework_Art_detail_ExitCodePrinter_h */ | ||
|
||
// Local Variables: | ||
// mode: c++ | ||
// End: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.