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

Update recipe for Conan 2.0 compat. Update packages. #30

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tarc
Copy link

@tarc tarc commented Apr 3, 2024

This PR updates the Conan recipe and CMake script to conform to Conan 2 — cf. Conan migration guide to 2.0.

It also fixes a build issue when compiling without GNU extensions.

I'm sorry this PR seems a bit random and without purpose. I was playing with concore a while ago and then changed jobs and I completely forgot about it. As I was browsing my repos the other day I noticed those changes here may be handy for someone willing to package it or tweak dependency versions, build systems, etc.

tarc added 4 commits November 16, 2023 15:52
The `concept_wrapper` test case:

- "as_scheduler produces a good scheduler"

was failing to compile in the absense of gnu extensions due to the use
of `typeof`. As this was inside a `static_assert`, `typeof` is replaced
with `decltype`.
The packages already required are updated to the closest supported
version found in Conan Center.

An option is added to not require TBB, mapping the `concore.no_tbb` CMake
option. As only the new OneTBB has supported packages in Conan Center,
the most recent OneTBB package is chosen:

- onetbb/2021.10.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant