-
Notifications
You must be signed in to change notification settings - Fork 38
fix ci2 #722
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
Merged
fix ci2 #722
Changes from 21 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
1f7ce04
jinja2
AlexInLog b160606
Update ci v2.yml
AlexInLog f1f5f46
Update ci v2.yml
AlexInLog 4a8849f
Update ci v2.yml
AlexInLog 1d72546
Update ci v2.yml
AlexInLog 097f3b9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 960d5b1
Update ci v2.yml
AlexInLog 71da089
Update ci v2.yml
AlexInLog 2273c54
Update ci v2.yml
AlexInLog af82c9a
Update ci v2.yml
AlexInLog 5833f8b
Update ci v2.yml
AlexInLog ac42aa6
Update ci v2.yml
AlexInLog b13606c
Update conanfile.py
AlexInLog b477668
Update ci v2.yml
AlexInLog 394508d
Update conanfile.py
AlexInLog c063a95
Update conanfile.py
AlexInLog aa66073
Update CMakePresets.json
AlexInLog 260b921
Update conanfile.py
AlexInLog 939f91f
Update conanfile.py
AlexInLog 6ced3b4
Update conanfile.py
AlexInLog 3bcdd0f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 7fc86ec
Update conanfile.py
AlexInLog b9c1264
Update conanfile.py
AlexInLog a2c0ce7
Update conanfile.py
AlexInLog a933311
Update conanfile.py
AlexInLog 7a75fbb
Update conanfile.py
AlexInLog 5c1f160
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a8ffbec
Update conanfile.py
AlexInLog ddbe8db
sfml
AlexInLog ed57cf5
disable windows for now
AlexInLog bef3e69
Update analyzers.yml
AlexInLog File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,6 +23,15 @@ class RppConan(ConanFile): | |
| "with_asio" : False | ||
| } | ||
|
|
||
| def configure(self): | ||
| self.options["grpc/*"].with_libsystemd = False | ||
| self.options["grpc/*"].csharp_plugin = False | ||
| self.options["grpc/*"].node_plugin = False | ||
| self.options["grpc/*"].objective_c_plugin = False | ||
| self.options["grpc/*"].php_plugin = False | ||
| self.options["grpc/*"].python_plugin = False | ||
| self.options["grpc/*"].ruby_plugin = False | ||
|
|
||
| def requirements(self): | ||
| if self.options.with_tests: | ||
| self.requires("trompeloeil/48") | ||
|
|
@@ -44,3 +53,12 @@ def requirements(self): | |
|
|
||
| if self.options.with_cmake: | ||
| self.tool_requires("cmake/3.29.3") | ||
|
|
||
| def generate(self): | ||
| deps = CMakeDeps(self) | ||
| deps.generate() | ||
| tc = CMakeToolchain(self) | ||
|
|
||
| if self.settings.compiler == "clang": | ||
| tc.extra_cxxflags.extend(['-Wno-missing-template-arg-list-after-template-kw']) | ||
| tc.generate() | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Fix NameError for CMakeDeps/CMakeToolchain and avoid double-generation
Apply within this hunk: - if self.settings.compiler == "clang":
+ if self.settings.get_safe("compiler") == "clang":
tc.extra_cxxflags.extend(['-Wno-missing-template-arg-list-after-template-kw'])And elsewhere in the file (outside this hunk): # top-level imports
from conan.tools.cmake import CMakeDeps, CMakeToolchain
# remove the attribute to avoid double-generation
# generators = "CMakeDeps", "CMakeToolchain"🧰 Tools🪛 Ruff (0.12.2)58-58: Undefined name (F821) 60-60: Undefined name (F821) 🤖 Prompt for AI Agents |
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🛠️ Refactor suggestion
Gate gRPC option overrides behind with_grpc to avoid global graph side-effects
Unconditionally overriding dependency options can leak into consumer graphs and fail builds even when gRPC is off. Guard these settings.
Apply this diff:
📝 Committable suggestion
🤖 Prompt for AI Agents