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

[clazy] Add package #26040

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

Conversation

MartinDelille
Copy link
Contributor

This is still a work in progress.

Summary

Changes to recipe: lib/[version]

Motivation

Details


AbrilRBS
AbrilRBS previously approved these changes Nov 28, 2024
Copy link
Member

@AbrilRBS AbrilRBS left a 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 :)

Comment on lines 28 to 30
def validate(self):
if not str(self.settings.compiler).endswith("clang"):
raise ConanInvalidConfiguration(f"{self.ref} support only clang compiler")
Copy link
Member

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()

raise ConanInvalidConfiguration(f"{self.ref} support only clang compiler")

def build_requirements(self):
self.tool_requires("llvm-core/13.0.0")
Copy link
Member

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?

recipes/clazy/all/conanfile.py Outdated Show resolved Hide resolved
recipes/clazy/all/test_package/conanfile.py Outdated Show resolved Hide resolved
Co-authored-by: Abril Rincón Blanco <[email protected]>
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.

2 participants