-
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
libtomcrypt: added v1.18.2 #9066
Conversation
This comment has been minimized.
This comment has been minimized.
…o runtime dependency
This comment has been minimized.
This comment has been minimized.
… library builds on Windows
This comment has been minimized.
This comment has been minimized.
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.
LGTM
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 really good! Just one nit picky thing to future proof
Included changes suggested during review to prepare for conan v2 Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
Included changes suggested during review to prepare for conan v2 Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
Thanks for reviewing! |
This comment has been minimized.
This comment has been minimized.
Trying to fix the suggested change...
This comment has been minimized.
This comment has been minimized.
Why does windows fail? 😖 https://github.com/conan-io/conan-center-index/pull/9066/files/e1070dab2d8d247aa8fd1689dc818ee383d57591..c76a50df9d9863e19d358fbf61b4931d4e3265c2 should have changes anything... Looking at it seems like a one off random Maybe retrigger CI, close the pr wait 10s and then re-open it 🔁 if not I'll ask for help |
This comment has been minimized.
This comment has been minimized.
I have found similar error issue. #9285 |
Sadly no, the test package does not use CMake, it seems there's more work required to get the windows shared exports to work correctly 😢 the |
@jowr diff --git a/recipes/libtomcrypt/all/test_package/CMakeLists.txt b/recipes/libtomcrypt/all/test_package/CMakeLists.txt
index c13db6494..6c6db0de2 100644
--- a/recipes/libtomcrypt/all/test_package/CMakeLists.txt
+++ b/recipes/libtomcrypt/all/test_package/CMakeLists.txt
@@ -2,11 +2,10 @@ cmake_minimum_required(VERSION 3.1)
project(test_package C)
include("${CMAKE_BINARY_DIR}/conanbuildinfo.cmake")
-conan_basic_setup(TARGETS)
+conan_basic_setup()
-include(FindPkgConfig)
-pkg_check_modules(LibTomCrypt REQUIRED IMPORTED_TARGET libtomcrypt)
+find_package(LibTomCrypt REQUIRED)
add_executable(${PROJECT_NAME} test_package.c)
-target_link_libraries(${PROJECT_NAME} PRIVATE PkgConfig::LibTomCrypt)
+target_link_libraries(${PROJECT_NAME} PRIVATE ${CONAN_LIBS})
target_compile_definitions(${PROJECT_NAME} PRIVATE LTC_NO_PROTOTYPES)
diff --git a/recipes/libtomcrypt/all/test_package/conanfile.py b/recipes/libtomcrypt/all/test_package/conanfile.py
index 9e09e219f..3da371b66 100644
--- a/recipes/libtomcrypt/all/test_package/conanfile.py
+++ b/recipes/libtomcrypt/all/test_package/conanfile.py
@@ -4,10 +4,7 @@ import os
class TestPackageConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
- generators = "cmake", "pkg_config"
-
- def build_requirements(self):
- self.build_requires("pkgconf/1.7.4")
+ generators = "cmake", "cmake_find_package"
def build(self):
cmake = CMake(self) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This comment has been minimized.
This comment has been minimized.
5d2f057
to
c76a50d
Compare
Failure in build 10 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions. |
libtomcrypt/1.18.2
This is an established cryptographic library and I have several projects that use it. I am sure that others also find this package useful given the popularity this library. See https://github.com/libtom/libtomcrypt for details.
conan-center hook activated.