Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fabrizio Salvatore
athena
Commits
c320297a
Commit
c320297a
authored
6 years ago
by
Frank Winklmeier
Browse files
Options
Downloads
Patches
Plain Diff
Delete obsolete HLT/HLToks package
Former-commit-id:
8dfa8e1c
parent
2218c0c7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
HLT/HLToks/CMakeLists.txt
+0
-92
0 additions, 92 deletions
HLT/HLToks/CMakeLists.txt
Projects/Athena/package_filters.txt
+0
-1
0 additions, 1 deletion
Projects/Athena/package_filters.txt
with
0 additions
and
93 deletions
HLT/HLToks/CMakeLists.txt
deleted
100644 → 0
+
0
−
92
View file @
2218c0c7
# $Id: CMakeLists.txt 728987 2016-03-10 16:51:52Z krasznaa $
################################################################################
# Package: HLToks
################################################################################
# Declare the package name:
atlas_subdir
(
HLToks
)
# Declare the package's dependencies:
atlas_depends_on_subdirs
(
PUBLIC
HLT/HLTUtils
)
# We need the tdaq python modules for the following to work:
find_package
(
tdaq
)
# HLT-Environment generation. First, set up the rules to generate this file
# after all the other packages in the project are done.
set
(
_hlt_env_xml
${
CMAKE_DATA_OUTPUT_DIRECTORY
}
/daq/segments/HLT-Environment.data.xml
)
add_custom_command
(
OUTPUT
${
_hlt_env_xml
}
COMMAND
${
CMAKE_COMMAND
}
-E make_directory
${
CMAKE_DATA_OUTPUT_DIRECTORY
}
/daq/segments
COMMAND
${
CMAKE_BINARY_DIR
}
/atlas_build_run.sh make_hlt_env.py
${
_hlt_env_xml
}
DEPENDS
"Package_$<JOIN:$<TARGET_PROPERTY:ATLAS_PACKAGES_TARGET,ATLAS_PACKAGES>,;Package_>"
)
add_custom_target
(
HLToks_build_env ALL SOURCES
${
_hlt_env_xml
}
)
# This rule makes sure that if the generation of the environment file failed,
# because some other package in the project failed, that we would attempt
# generating this file at least in the installation step.
install
(
CODE
"if( NOT EXISTS
${
_hlt_env_xml
}
)
message( WARNING
\"
Generating
${
_hlt_env_xml
}
as part of
\"
\"
the installation step
\"
)
execute_process( COMMAND
${
CMAKE_COMMAND
}
-E make_directory
${
CMAKE_DATA_OUTPUT_DIRECTORY
}
/daq/segments )
execute_process( COMMAND
${
CMAKE_BINARY_DIR
}
/atlas_build_run.sh
make_hlt_env.py
${
_hlt_env_xml
}
)
endif()"
)
# Note that this installation command is only attempted after the previous
# one is already done. So it should only fail if the file generation has
# *really* failed.
install
(
FILES
${
_hlt_env_xml
}
DESTINATION
${
CMAKE_INSTALL_DATADIR
}
/daq/segments
OPTIONAL
)
# HLT_SW_Repository generation. First, set up the rules to generate this file
# after all the other packages in the project are done.
set
(
_hlt_rep_xml
${
CMAKE_DATA_OUTPUT_DIRECTORY
}
/daq/sw/HLT_SW_Repository.data.xml
)
add_custom_command
(
OUTPUT
${
_hlt_rep_xml
}
COMMAND
${
CMAKE_COMMAND
}
-E make_directory
${
CMAKE_DATA_OUTPUT_DIRECTORY
}
/daq/sw
COMMAND
${
CMAKE_COMMAND
}
-E chdir
${
CMAKE_DATA_OUTPUT_DIRECTORY
}
${
CMAKE_BINARY_DIR
}
/atlas_build_run.sh make_hlt_rep.py
COMMAND
${
CMAKE_COMMAND
}
-E rename
${
CMAKE_DATA_OUTPUT_DIRECTORY
}
/HLT_SW_Repository.data.xml
${
_hlt_rep_xml
}
)
add_custom_target
(
HLToks_build_swrep ALL SOURCES
${
_hlt_rep_xml
}
)
add_dependencies
(
HLToks_build_swrep HLToks_build_env
)
# This rule makes sure that if the generation of the software repository file
# failed, because some other package in the project failed, that we would
# attempt generating this file at least in the installation step.
install
(
CODE
"if( NOT EXISTS
${
_hlt_rep_xml
}
)
message( WARNING
\"
Generating
${
_hlt_rep_xml
}
as part of
\"
\"
the installation step
\"
)
execute_process( COMMAND
${
CMAKE_COMMAND
}
-E make_directory
${
CMAKE_DATA_OUTPUT_DIRECTORY
}
/daq/sw )
execute_process( COMMAND
${
CMAKE_COMMAND
}
-E chdir
${
CMAKE_DATA_OUTPUT_DIRECTORY
}
${
CMAKE_BINARY_DIR
}
/atlas_build_run.sh
make_hlt_rep.py )
execute_process( COMMAND
${
CMAKE_COMMAND
}
-E rename
${
CMAKE_DATA_OUTPUT_DIRECTORY
}
/HLT_SW_Repository.data.xml
${
_hlt_rep_xml
}
)
endif()"
)
# Note that this installation command is only attempted after the previous
# one is already done. So it should only fail if the file generation has
# *really* failed.
install
(
FILES
${
_hlt_rep_xml
}
DESTINATION
${
CMAKE_INSTALL_DATADIR
}
/daq/sw
OPTIONAL
)
# Create a custom target that prints the right message when everything
# succeeded:
add_custom_target
(
HLToksMain ALL
COMMAND
${
CMAKE_COMMAND
}
-E echo
"HLToks: Package build succeeded"
)
add_dependencies
(
HLToksMain HLToks_build_env HLToks_build_swrep
)
This diff is collapsed.
Click to expand it.
Projects/Athena/package_filters.txt
+
0
−
1
View file @
c320297a
...
...
@@ -13,7 +13,6 @@
#+ HLT/Trigger/TrigTransforms/TrigTransform
#- HLT/.*
#- Trigger/TrigValidation/TrigP1Test
- HLT/HLToks
# Offload service has build problems
- Offloading/.*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment