Skip to content
Snippets Groups Projects
Commit 8c5938be authored by Attila Krasznahorkay's avatar Attila Krasznahorkay
Browse files

Merge branch 'ExternalsSetupUpdate_20170302' into 'master'

Generator setup removal

See merge request !5
parents 100105b9 ff06762f
No related branches found
Tags 1.0.3
No related merge requests found
Showing
with 0 additions and 173 deletions
......@@ -33,19 +33,6 @@ set( LCG_VERSION_POSTFIX "" )
set( LCG_VERSION_NUMBER 87 )
find_package( LCG ${LCG_VERSION_NUMBER} REQUIRED EXACT )
# Load all the files from the externals/ subdirectory:
file( GLOB _externals "${CMAKE_CURRENT_SOURCE_DIR}/externals/*.cmake" )
foreach( _external ${_externals} )
include( ${_external} )
get_filename_component( _extName ${_external} NAME_WE )
string( TOUPPER ${_extName} _extNameUpper )
message( STATUS "Taking ${_extName} from: ${${_extNameUpper}_ROOT}" )
unset( _extName )
unset( _extNameUpper )
endforeach()
unset( _external )
unset( _externals )
# Set up CTest:
atlas_ctest_setup()
......@@ -72,10 +59,6 @@ install( FILES ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/PostConfig.cmake
install( FILES ${CMAKE_SOURCE_DIR}/atlas_export_sanitizer.cmake.in
DESTINATION ${CMAKE_INSTALL_CMAKEDIR}/modules/skeletons )
# Install the external configurations:
install( DIRECTORY ${CMAKE_SOURCE_DIR}/externals
DESTINATION ${CMAKE_INSTALL_CMAKEDIR} USE_SOURCE_PERMISSIONS )
# Install the Gaudi CPack configuration module:
install( FILES ${CMAKE_SOURCE_DIR}/GaudiCPackSettings.cmake
DESTINATION ${CMAKE_INSTALL_CMAKEDIR}/modules )
......
......@@ -16,23 +16,6 @@ set( ATLAS_PLATFORM @ATLAS_PLATFORM@ )
set( CMTCONFIG @ATLAS_PLATFORM@ )
set( ENV{CMTCONFIG} ${CMTCONFIG} )
# Load all the files from the externals/ subdirectory:
get_filename_component( _thisdir ${CMAKE_CURRENT_LIST_FILE} PATH )
file( GLOB _externals "${_thisdir}/externals/*.cmake" )
unset( _thisdir )
foreach( _external ${_externals} )
include( ${_external} )
get_filename_component( _extName ${_external} NAME_WE )
string( TOUPPER ${_extName} _extNameUpper )
if( NOT AthenaExternals_FIND_QUIETLY )
message( STATUS "Taking ${_extName} from: ${${_extNameUpper}_ROOT}" )
endif()
unset( _extName )
unset( _extNameUpper )
endforeach()
unset( _external )
unset( _externals )
# Add all custom compilation options:
set( CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard used for the build" )
add_definitions( -DGAUDI_V20_COMPAT )
......
#
# File specifying the location of Crmc to use.
#
set( CRMC_VERSION 1.5.4 )
set( CRMC_ROOT
${LCG_RELEASE_DIR}/MCGenerators/crmc/${CRMC_VERSION}/${ATLAS_PLATFORM} )
#
# File specifying the location of EvtGen to use.
#
set( EVTGEN_VERSION 1.4.0 )
set( EVTGEN_ROOT
${LCG_RELEASE_DIR}/MCGenerators/evtgen/${EVTGEN_VERSION}/${ATLAS_PLATFORM} )
#
# File specifying the location of HEPUtils to use.
#
set( HEPUTILS_VERSION 1.1.0 )
set( HEPUTILS_ROOT
${LCG_RELEASE_DIR}/MCGenerators/heputils/${HEPUTILS_VERSION}/${ATLAS_PLATFORM} )
#
# File specifying the location of Herwig to use.
#
set( HERWIG_VERSION 6.520.2 )
set( HERWIG_ROOT
${LCG_RELEASE_DIR}/MCGenerators/herwig/${HERWIG_VERSION}/${ATLAS_PLATFORM} )
#
# File specifying the location of Hydjet to use.
#
set( HYDJET_VERSION 1.6 )
set( HYDJET_ROOT
${LCG_RELEASE_DIR}/MCGenerators/hydjet/${HYDJET_VERSION}/${ATLAS_PLATFORM} )
#
# File specifying the location of Lhapdf to use.
#
set( LHAPDF_VERSION 6.1.5 )
set( LHAPDF_ROOT
${LCG_RELEASE_DIR}/MCGenerators/lhapdf/${LHAPDF_VERSION}/${ATLAS_PLATFORM} )
#
# File specifying the location of MCUtils to use.
#
set( MCUTILS_VERSION 1.2.1 )
set( MCUTILS_ROOT
${LCG_RELEASE_DIR}/MCGenerators/mcutils/${MCUTILS_VERSION}/${ATLAS_PLATFORM} )
#
# File specifying the location of MadGraph to use.
#
set( MADGRAPH5AMC_VERSION 2.4.3.atlas )
set( MADGRAPH5AMC_ROOT
${LCG_RELEASE_DIR}/MCGenerators/madgraph5amc/${MADGRAPH5AMC_VERSION}/${ATLAS_PLATFORM} )
#
# File specifying the location of Photos++ to use.
#
set( PHOTOSPP_VERSION 3.56 )
set( PHOTOSPP_ROOT
${LCG_RELEASE_DIR}/MCGenerators/photos++/${PHOTOSPP_VERSION}/${ATLAS_PLATFORM} )
#
# File specifying the location of Pythia 6 to use.
#
set( PYTHIA6_VERSION 428.2 )
set( PYTHIA6_ROOT
${LCG_RELEASE_DIR}/MCGenerators/pythia6/${PYTHIA6_VERSION}/${ATLAS_PLATFORM} )
#
# File specifying the location of Pythia 8 to use.
#
set( PYTHIA8_VERSION 212 )
set( PYTHIA8_ROOT
${LCG_RELEASE_DIR}/MCGenerators/pythia8/${PYTHIA8_VERSION}/${ATLAS_PLATFORM} )
Directory collecting external package declarations
==================================================
This directory is used to collect simple CMake files that get included by
`AthenaExternals` to set up the locations of all the externals used for the
offline release build.
Each external should be defined by its own CMake file. The files should
have a name <Bla> corresponding to the Find<Bla> module name used to find
the external in question.
The files should define all the variables expected by the Find<Bla> modules,
which normally boil down to the folloeing variables:
* `EXTNAME_ROOT`
* `EXTNAME_VERSION`
But some modules may require other ones. In which case the `_ROOT`
variable should still be set, to get a nice printout from the AthenaExternals
code during the build about the location of the used external.
#
# File specifying the location of Rivet to use.
#
set( RIVET_VERSION 2.5.1 )
set( RIVET_ROOT
${LCG_RELEASE_DIR}/MCGenerators/rivet/${RIVET_VERSION}/${ATLAS_PLATFORM} )
#
# File specifying the location of Sherpa to use.
#
set( SHERPA_VERSION 2.2.1 )
set( SHERPA_ROOT
${LCG_RELEASE_DIR}/MCGenerators/sherpa/${SHERPA_VERSION}/${ATLAS_PLATFORM} )
#
# File specifying the location of Starlight to use.
#
set( STARLIGHT_VERSION r193 )
set( STARLIGHT_ROOT
${LCG_RELEASE_DIR}/MCGenerators/starlight/${STARLIGHT_VERSION}/${ATLAS_PLATFORM} )
#
# File specifying the location of Tauola++ to use.
#
set( TAUOLAPP_VERSION 1.1.1a )
set( TAUOLAPP_ROOT
${LCG_RELEASE_DIR}/MCGenerators/tauola++/${TAUOLAPP_VERSION}/${ATLAS_PLATFORM} )
#
# File specifying the location of ThePEG to use.
#
set( THEPEG_VERSION 2.0.3 )
set( THEPEG_ROOT
${LCG_RELEASE_DIR}/MCGenerators/thepeg/${THEPEG_VERSION}/${ATLAS_PLATFORM} )
#
# File specifying the location of YODA to use.
#
set( YODA_VERSION 1.6.3 )
set( YODA_ROOT
${LCG_RELEASE_DIR}/MCGenerators/yoda/${YODA_VERSION}/${ATLAS_PLATFORM} )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment