-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[clazy] Add package #26040
base: master
Are you sure you want to change the base?
[clazy] Add package #26040
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Some comments, but looks mostly good :)
recipes/clazy/all/conanfile.py
Outdated
def validate(self): | ||
if not str(self.settings.compiler).endswith("clang"): | ||
raise ConanInvalidConfiguration(f"{self.ref} support only clang compiler") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a build restriction as this is an application, so this check should be done inside def validate_build()
recipes/clazy/all/conanfile.py
Outdated
raise ConanInvalidConfiguration(f"{self.ref} support only clang compiler") | ||
|
||
def build_requirements(self): | ||
self.tool_requires("llvm-core/13.0.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we not expect users that already have clang to have the tools necessary to compile this app?
Co-authored-by: Abril Rincón Blanco <[email protected]>
This is still a work in progress.
Summary
Changes to recipe: lib/[version]
Motivation
Details