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

Use Conan for External Dependencies #41

Merged
merged 40 commits into from
Jun 20, 2024
Merged

Use Conan for External Dependencies #41

merged 40 commits into from
Jun 20, 2024

Conversation

johannes-wolf
Copy link
Contributor

@johannes-wolf johannes-wolf commented Nov 8, 2023

See #40.

HUGE CI build performance increase on Windows!
Using conan for dependencies is still optional! The CI uses conan for faster builds.

  • Pull RocksDB via Conan
  • Get Conan running on the CI
  • Pull dependencies via Conan
  • Speed up the CI build
  • Provide a conan package

This PR improves the build times by using Ninja instead of make (with -j1) + sccache
(with filled caches, build takes < 10min).

EDIT:
RocksDB (6.*) Conan 2 support got merged… let's wait for a more recent version and add it in a follow-up PR, see #46.

EDIT 2:
RocksDB (8.8.1) got merged to conan.io.

EDIT 3:
Uses RocksDB 9.1.0.

NOTE
We can not use Catch2 from conan.io because it is broken: conan-io/conan-center-index#13993

@johannes-wolf
Copy link
Contributor Author

@josephbirkner Do you know which version of OpenSSL is needed (and why it worked without pulling any before)?

@johannes-wolf johannes-wolf added the enhancement New feature or request label Nov 14, 2023
@josephbirkner
Copy link
Contributor

@johannes-wolf OpenSSL 1.1.1 or 3.0 (probably better) is needed. They are currently installed as part of the cmake github action workflow...

@johannes-wolf johannes-wolf force-pushed the use-conan branch 7 times, most recently from 1e0b379 to 05db7b9 Compare November 16, 2023 18:05
@ndsev ndsev deleted a comment from github-actions bot Nov 16, 2023
@johannes-wolf johannes-wolf force-pushed the use-conan branch 8 times, most recently from c7fa903 to 5f4c9cd Compare November 16, 2023 22:23
@johannes-wolf
Copy link
Contributor Author

Rebased (+ simfil 0.2.1)

johannes-wolf and others added 3 commits June 20, 2024 00:26
Copy link

Package Line Rate Branch Rate Health
libs.http-datasource.src 79% 41%
libs.http-service.src 80% 44%
libs.logging.include.mapget 71% 33%
libs.model.include.mapget.model 73% 33%
libs.model.src 65% 38%
libs.service.include.mapget.service 50% 0%
libs.service.src 74% 42%
Summary 68% (2652 / 3886) 39% (2482 / 6334)

Minimum allowed line rate is 50%

Copy link

Copy link

Package Line Rate Branch Rate Health
libs.http-datasource.src 78% 41%
libs.http-service.src 80% 44%
libs.logging.include.mapget 71% 33%
libs.model.include.mapget.model 73% 33%
libs.model.src 65% 38%
libs.service.include.mapget.service 50% 0%
libs.service.src 74% 42%
Summary 68% (2651 / 3886) 39% (2481 / 6334)

Minimum allowed line rate is 50%

@josephbirkner josephbirkner merged commit 23fd588 into main Jun 20, 2024
14 checks passed
@josephbirkner josephbirkner deleted the use-conan branch June 20, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants