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

Consolidate the usage of conan profiles (such as cppstd value). #5

Open
Adnn opened this issue Jan 18, 2023 · 0 comments
Open

Consolidate the usage of conan profiles (such as cppstd value). #5

Adnn opened this issue Jan 18, 2023 · 0 comments

Comments

@Adnn
Copy link
Contributor

Adnn commented Jan 18, 2023

Currently, the value of cppstd is present in the profile, but is overriden (to the same value) by the main_build.yml workflow.
Maybe, the profile could be a single source of truth for the build settings, and the workflow should use them from the profile.

Also, we would imagine the conan profiles becoming a build-matrix dimension (potentially handling Debug vs Release, several cppstd versions, several compilers, ...)

Also, currently we define the C and CXX env vars, and let the default profile be generated with the compiler version automatically extracted from there. Should the compiler version become part of the host profile?

  • It would give a natural place to change compiler versions, by committing to conan-config
  • Drawbacks:
    • the profile should become the single source of truth for compiler version too
    • there would be no more "tolerance" on the actual compiler used to build (currently, the profile is generated with the currently active compiler, so it is very tolerant in this regard).
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

No branches or pull requests

1 participant