Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Remove bundled dependencies in favor of CMake FetchContent #1177

Merged
merged 12 commits into from
Mar 21, 2022

Conversation

paulgessinger
Copy link
Member

As discussed in the past and also already implemented for vecmem, this PR removes the bundled copies of

  • nlohmann_json
  • pybind11
  • dfelibs
  • autodiff

and uses CMake's FetchContent to grab a copy. Also added is an option ACTS_USE_SYSTEM_PYBIND11 to allow using an already installed copy. For nlohmann_json and autodiff this was already present, and I don't think it's necessary for dfelibs.

@paulgessinger paulgessinger added this to the next milestone Mar 1, 2022
@codecov
Copy link

codecov bot commented Mar 1, 2022

Codecov Report

Merging #1177 (048772c) into main (c30bcf8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1177   +/-   ##
=======================================
  Coverage   47.77%   47.77%           
=======================================
  Files         360      360           
  Lines       18608    18608           
  Branches     8770     8770           
=======================================
  Hits         8890     8890           
  Misses       3666     3666           
  Partials     6052     6052           

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@paulgessinger
Copy link
Member Author

@krasznaa maybe you could have a look at this?

@paulgessinger
Copy link
Member Author

Files of relevance should be

  • CMakeLists.txt
  • README.md
  • docs/getting_started.md
  • thirdparty/README.md
  • thirdparty/autodiff/CMakeLists.txt
  • thirdparty/dfelibs/CMakeLists.txt
  • thirdparty/nlohmann_json/CMakeLists.txt
  • thirdparty/pybind11/CMakeLists.txt

Everything else is deleted files. You should be able to click on "File filter" to hide deleted files:

grafik

@paulgessinger
Copy link
Member Author

@niermann999 could you review this maybe?

Copy link
Contributor

@asalzburger asalzburger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, approving it - thanks for updating the documentation in the same PR.

@asalzburger asalzburger added Infrastructure Changes to build tools, continous integration, ... automerge labels Mar 21, 2022
@kodiakhq kodiakhq bot merged commit c9a5b53 into acts-project:main Mar 21, 2022
@paulgessinger paulgessinger modified the milestones: next, v18.0.0 Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Infrastructure Changes to build tools, continous integration, ...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants