forked from acts-project/acts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: setup covfie, detray, traccc, and shared libraries (acts-proje…
…ct#3099) Updated cmake files to fetch covfie, detray, traccc, thrust, algebra-plugins and set the cmake options in the projects to use shared libraries instead of setting them up for themselves. Update dfelibs version to v20211029, vecmem version to v1.4.0, and nlohmanjson to v3.10.5. Added new cmake options: - added ACTS_SETUP_<name> and ACTS_USE_SYSTEM_<name> for covfie, detray, tracc, thrust, algebra-plugins, and dfelibs. - added ACTS_BUILD_PLUGIN_COVFIE and ACTS_BUILD_PLUGIN_TRACCC for building plugins that would allow acts to easily make use of covfie and traccc (future work) Added tests for covfie and traccc to check if the libraries and plugins are available.
- Loading branch information
Showing
21 changed files
with
340 additions
and
97 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,52 @@ | ||
set( ACTS_ACTSVG_SOURCE | ||
"URL;https://github.com/acts-project/actsvg/archive/refs/tags/v0.4.40.tar.gz;URL_MD5;c8f3a7ac47db7f39cd4f215a5bbf148d" CACHE STRING "Source to take ACTSVG from") | ||
mark_as_advanced( ACTS_ACTSVG_SOURCE ) | ||
|
||
set( ACTS_VECMEM_SOURCE | ||
"URL;https://github.com/acts-project/vecmem/archive/refs/tags/v1.4.0.tar.gz;URL_MD5;af5434e34ca9c084678c2c043441f174" CACHE STRING "Source to take VECMEM from") | ||
mark_as_advanced( ACTS_VECMEM_SOURCE ) | ||
|
||
set( ACTS_ALGEBRAPLUGINS_SOURCE | ||
"URL;https://github.com/acts-project/algebra-plugins/archive/refs/tags/v0.22.0.tar.gz;URL_MD5;42bcaad8d19a2c773993a974816dfdf5" CACHE STRING "Source to take ALGEBRAPLUGINS from") | ||
mark_as_advanced( ACTS_ALGEBRAPLUGINS_SOURCE ) | ||
|
||
set( ACTS_COVFIE_SOURCE | ||
"URL;https://github.com/acts-project/covfie/archive/refs/tags/v0.10.0.tar.gz;URL_MD5;af59c6e2a1eebfa765b29f0af9fc70f7" CACHE STRING "Source to take COVFIE from") | ||
mark_as_advanced( ACTS_COVFIE_SOURCE ) | ||
|
||
set( ACTS_DETRAY_SOURCE | ||
"URL;https://github.com/acts-project/detray/archive/refs/tags/v0.65.1.tar.gz;URL_MD5;fbf57a881565fa6019d79d13409b588f" CACHE STRING "Source to take DETRAY from") | ||
mark_as_advanced( ACTS_DETRAY_SOURCE ) | ||
|
||
set( ACTS_TRACCC_SOURCE | ||
"URL;https://github.com/acts-project/traccc/archive/refs/tags/v0.10.0.tar.gz;URL_MD5;131399d26e3280c4d7f7ca2995efd256" CACHE STRING "Source to take TRACCC from") | ||
mark_as_advanced( ACTS_TRACCC_SOURCE ) | ||
|
||
set( ACTS_DFELIBS_SOURCE | ||
"URL;https://github.com/acts-project/dfelibs/archive/refs/tags/v20211029.tar.gz;URL_MD5;87fb09c5a11b98250f5e266e9cd501ea" CACHE STRING "Source to take dfelibs from") | ||
mark_as_advanced( ACTS_DFELIBS_SOURCE ) | ||
|
||
set( ACTS_FRNN_SOURCE | ||
"GIT_REPOSITORY;https://github.com/lxxue/FRNN;GIT_TAG;3e370d8d9073d4e130363faf87d2370598b5fbf2" CACHE STRING "Source to take FRNN from") | ||
mark_as_advanced( ACTS_FRNN_SOURCE ) | ||
|
||
set( ACTS_GEOMODEL_SOURCE | ||
"GIT_REPOSITORY;https://gitlab.cern.ch/GeoModelDev/GeoModel;GIT_TAG;4.6.0;PATCH_COMMAND;git am ${CMAKE_CURRENT_SOURCE_DIR}/0001-Add-option-to-skip-setting-up-json-completely.patch" CACHE STRING "Source to take GeoModel from") | ||
mark_as_advanced( ACTS_GEOMODEL_SOURCE ) | ||
|
||
set( ACTS_NLOHMANNJSON_SOURCE | ||
"URL;https://github.com/nlohmann/json/archive/refs/tags/v3.10.5.tar.gz;URL_HASH;SHA1=8969f5ad1a422e01f040ff48dcae9c0e6ad0811d" CACHE STRING "Source to take nlohmann_json from") | ||
mark_as_advanced( ACTS_NLOHMANN_JSON_SOURCE ) | ||
|
||
string(REPLACE "." "_" _acts_boost_recommended_version_ ${_acts_boost_recommended_version}) | ||
set( ACTS_BOOST_SOURCE | ||
"URL;https://boostorg.jfrog.io/artifactory/main/release/${_acts_boost_recommended_version}/source/boost_${_acts_boost_recommended_version_}.tar.gz" CACHE STRING "Source to take boost from") | ||
mark_as_advanced( ACTS_BOOST_SOURCE ) | ||
|
||
set( ACTS_EIGEN3_SOURCE | ||
"URL;https://gitlab.com/libeigen/eigen/-/archive/${_acts_eigen3_version}/${_acts_eigen3_version}.tar.gz" CACHE STRING "Source to take eigen3 from") | ||
mark_as_advanced( ACTS_EIGEN3_SOURCE ) | ||
|
||
set( ACTS_PYBIND11_SOURCE | ||
"GIT_REPOSITORY;https://github.com/pybind/pybind11.git;GIT_TAG;v2.10.1" CACHE STRING "Source to take pybind11 from") | ||
mark_as_advanced( ACTS_PYBIND11_SOURCE ) |
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
Oops, something went wrong.