Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Geant4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container registry
Model registry
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Ryan Bernard Calladine
Geant4
Commits
72670bbf
Commit
72670bbf
authored
8 years ago
by
Marco Clemencic
Browse files
Options
Downloads
Patches
Plain Diff
Updated toolchain.cmake to work with latest LbScripts
parent
899a3579
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
toolchain.cmake
+14
-9
14 additions, 9 deletions
toolchain.cmake
with
14 additions
and
9 deletions
toolchain.cmake
+
14
−
9
View file @
72670bbf
# Special wrapper to load the declared version of the heptools toolchain.
set
(
heptools_version 79
)
# Set the version of HEPTools to use
set
(
heptools_version 84
)
# this check is needed because the toolchain is called when checking the
# compiler (without the proper cache)
if
(
NOT CMAKE_SOURCE_DIR MATCHES
"CMakeTmp"
)
find_file
(
default_toolchain NAMES GaudiDefaultToolchain.cmake
HINTS
${
CMAKE_SOURCE_DIR
}
/cmake
)
if
(
default_toolchain
)
include
(
${
default_toolchain
}
)
else
()
message
(
FATAL_ERROR
"Cannot find GaudiDefaultToolchain.cmake"
)
endif
()
find_file
(
use_heptools_module UseHEPTools.cmake
HINTS
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake
)
# this check is needed because the toolchain seem to be called a second time
# without the proper cache
if
(
use_heptools_module
)
include
(
${
use_heptools_module
}
)
use_heptools
(
${
heptools_version
}
)
endif
()
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