Skip to content
Snippets Groups Projects
Commit 796e1a6d authored by Ewelina Maria Lobodzinska's avatar Ewelina Maria Lobodzinska Committed by Graeme Stewart
Browse files

version 7.0.3 rel. 20+ (Herwig7-07-00-03)

Former-commit-id: 2fc4fd3c
parent bc326fe5
No related branches found
No related tags found
No related merge requests found
# $Id$
#
# Package installing files from the Herwig 7 generator into the offline
# release.
#
# The name of the package:
atlas_subdir( Herwig7 )
# In release recompilation mode stop here:
if( ATLAS_RELEASE_MODE )
return()
endif()
# Find the Herwig7 package. Note that LCG now calls the 7.0.1
# version "herwig3". LCG should call the package "herwig7"
# beginning with 7.0.3.
find_package( Herwig3 )
# Make sure that it was found:
if( NOT HERWIG3_FOUND )
message( WARNING "Couldn't find the Herwig3 package" )
return()
endif()
# Install files from the package:
set( herwig7_datadir "${HERWIG3_ROOT}/share/Herwig" )
if( NOT IS_DIRECTORY ${herwig7_datadir} )
message( WARNING "Can't access directory ${herwig7_datadir}" )
return()
endif()
atlas_install_generic( ${herwig7_datadir}/*.rpo ${herwig7_datadir}/*.in
${herwig7_datadir}/MSSM.model
DESTINATION share
TYPENAME Herwig7Data )
package Herwig7
author Daniel Rauch <daniel.rauch@desy.de>
use AtlasPolicy AtlasPolicy-*
use LCG_Configuration
use AtlasExternalArea AtlasExternalArea-* External
use ThePEG ThePEG-* External
use AtlasHepMC AtlasHepMC-* External
## setup for release 19
#macro my_LCG_config_version "67c"
#macro Herwig7_home "$(LCG_ROOT)/external/MCGenerators_lcgcmt$(my_LCG_config_version)/herwig++"
## setup for release 20
macro Herwig7_home "$(LCG_external)/MCGenerators/herwig++"
macro Herwig7_version "7.0.3"
# note small modification of the native_version ("a" added) to be removed with version update
macro Herwig7_native_version "$(Herwig7_version)a_lcgcmt$(my_LCG_config_version)"
macro Herwig7_system "$(LCG_ext_system)"
macro Herwig7_installdir "$(Herwig7_home)/$(Herwig7_version)/$(Herwig7_system)"
macro Herwig7_inc "$(Herwig7_installdir)/include"
macro Herwig7_lib "$(Herwig7_installdir)/lib/Herwig"
macro Herwig7_moduledir "$(Herwig7_lib)"
macro Herwig7_datadir "$(Herwig7_installdir)/share/Herwig"
# Paths are specified separately so they get packed even if any is symlink
macro Herwig7_export_paths "$(Herwig7_installdir)/include $(Herwig7_installdir)/lib $(Herwig7_installdir)/bin $(Herwig7_installdir)/share"
apply_pattern declare_installed_libraries dir=$(Herwig7_lib)
#apply_pattern declare_runtime files="$(Herwig7_datadir)/*.rpo $(Herwig7_datadir)/*.in"
apply_pattern generic_declare_for_link kind=runtime prefix=$(tag)/share files="$(Herwig7_datadir)/*.rpo $(Herwig7_datadir)/*.in $(Herwig7_datadir)/MSSM.model "
#path_prepend PATH "$(Herwig7_datadir)"
include_path none
include_dirs "$(Herwig7_inc)"
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