-
Notifications
You must be signed in to change notification settings - Fork 0
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
protoc: simplify recipe #1
Conversation
zyre: add shared/static + do not override shared in options
recipes/protoc/3.9.x/conanfile.py
Outdated
@@ -26,6 +28,10 @@ def _build_subfolder(self): | |||
def _cmake_base_path(self): | |||
return os.path.join("lib", "cmake", "protoc") | |||
|
|||
def configure(self): | |||
if self.settings.os_build != self.settings.os and self.settings.arch_build != self.settings.arch: |
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.
Nope, we need to support it.
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.
The new crossbuilding pr by jsgogo will fix this.
(so this recipe should be modified again to use arch and os instead of arch_build and os_build)
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.
Yes! 👏
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.
So let's wait with this pr until that pr lands?
Because that might take some time.
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.
well, we can push it forward, and update once that feature is available.
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.
Ok. Can you review and merge it?
(and maybe rebase on top of CCI's master since this branch is quite old)
os.path.join(self._cmake_base_path, "protoc-module.cmake"), | ||
os.path.join(self._cmake_base_path, "protoc-options.cmake"), | ||
os.path.join(self._cmake_base_path, "protoc-targets.cmake"), | ||
os.path.join(self._cmake_base_path, "protoc-targets-noconfig.cmake") | ||
os.path.join(self._cmake_base_path, "protoc-generate.cmake"), |
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.
what is that protoc-generate.cmake ?
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.
It's protobuf-config.cmake
renamed and with all package finding stuff disabled.
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.
sounds pretty interesting :D
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.
I named it generate because it contains the protobuf_generate_cpp
functions.
Use external patch for geos
jwt-cpp: test_package needs cmake generator
Adapt for Conan Center Index
Signed-off-by: Uilian Ries <uilianries@gmail.com>
google-guetzli: set correct cflags (for other archs) + lint code
Build simdjson 0.4.7 on Linux
volk: use fixed commit hash
Update cmake version to cbor
elfutils: patch automake scripts to fix static + simplify Werror patch
* Add ignition-math * Formatting * Change version_mejor approach * Address review comments * Add import ConanInvalidConfiguration * del fPIC in Windows * Add shared and static support * Add import glob * Unconditially remove files * Address review comments * Remove fPIC option since it's always true * Change test_package.cpp * Change test CMakeLists * Add regex patch * Add friends function Angle definition patch * Revert "Add friends function Angle definition patch" This reverts commit 4e68918. * Explicitly link libc++ * Revert "Explicitly link libc++" This reverts commit f659367. * Don't run git clone + support fPIC + create components (#1) * Add cmake_wrapper * Update recipes/ignition-math/all/CMakeLists.txt Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com> * ignition-math: use ignition-cmake (#2) * bump to 6.7.0 * bump 6.7.0 * Apply suggestions from code review Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com> * remove pkgconf * Apply suggestions from code review Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com> Co-authored-by: Juan Oxoby <me@jmoxo.by> Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com> Co-authored-by: Juan Oxoby <49600381+joxoby@users.noreply.github.com> Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>
* Initial support for wasmtime package * Fixed build package on Linux * Updates according the comments in review #0 * Update recipes/wasmtime/all/conanfile.py Update license type Co-authored-by: Chris Mc <prince.chrismc@gmail.com> * Updates according the comments in review #1 * Updates according the comments in review #2 * Updates according the comments in review #3 * Updates according the comments in review #4 * Updates according the comments in review #5 * Next iteration of fixes * Fixed cmake variable C_STANDARD -> CMAKE_C_STANDARD * Added check on minimal version of conan * Used copytree instead of copy individual files * Fixed the build * Added checking for architechure in validate(...) * Updated receipt for new comments from @madebr * Fixed calling method tools.cross_building(...) * Update def package(self) according the comments in review * Updated versions of wasmtime * Updated forgot version ugrade * Fixed sha256sum for macos * Fixed SHA256 for Linux * Updated all SHA256 to proer values Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
* wip patch for Visual Studio 2019 * Conan v2 compat * Conan v2 compat * rollback to v1 code * rollback to v1 code * self.copy replacement * fix * fix * wip * wip * wip * wip * wip * wip * wip * fixed paths * adds support for vc17 * Use new Conan tools (#1) * Use new Conan tools Signed-off-by: Uilian Ries <uilianries@gmail.com> * Fix is_msvc Signed-off-by: Uilian Ries <uilianries@gmail.com> Signed-off-by: Uilian Ries <uilianries@gmail.com> * Update recipes/mpir/all/conanfile.py * Fix license source path Signed-off-by: Uilian Ries <uilianries@gmail.com> Co-authored-by: Uilian Ries <uilianries@gmail.com>
B64 - use cmake and new repo
* Add `loguru/2.1.0` recipe Loguru: a lightweight and flexible C++ logging library. Website: https://emilk.github.io/loguru/index.html Source code: https://github.com/emilk/loguru Closes conan-io#14542 * Simplify CMake and native features usage (#1) Simplifications and Conan v2 fixes * Update recipes/loguru/all/conanfile.py * Update recipes/loguru/all/conanfile.py * Update recipes/loguru/all/conanfile.py * loguru: use latest commit with CMake support * fixup: missing comma * fixup: typo * chore: rm config files * fixup: clean up defines * add includedirs, simplify test_package * add suffix * add m * fix windows shared * remove pdbs --------- Co-authored-by: Uilian Ries <uilianries@gmail.com> Co-authored-by: Chris Mc <prince.chrismc@gmail.com> Co-authored-by: czoido <mrgalleta@gmail.com>
Apart from a warning about cmake modules, this builds on Windows.
For conan-io#65