-
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
aws-c-s3: add missing interface definition if shared + modernize more for conan v2 #17117
Conversation
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.
I detected other pull requests that are modifying aws-c-s3/all recipe: This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@jcar87 Please take a look |
In aws-c-s3/0.1.29, if apple-clang with conan v2:
I've not tested locally, but shared build of 0.1.49 works fine for me. |
The diff --git a/recipes/aws-c-s3/all/conanfile.py b/recipes/aws-c-s3/all/conanfile.py
index b63b926fa..f63d8e59f 100644
--- a/recipes/aws-c-s3/all/conanfile.py
+++ b/recipes/aws-c-s3/all/conanfile.py
@@ -43,10 +43,12 @@ class AwsCS3(ConanFile):
self.requires("aws-c-common/0.8.2", transitive_headers=True, transitive_libs=True)
if Version(self.version) < "0.1.49":
self.requires("aws-c-auth/0.6.11", transitive_headers=True)
+ self.requires("aws-c-cal/0.5.13")
self.requires("aws-c-http/0.6.13")
self.requires("aws-c-io/0.10.20", transitive_headers=True)
else:
self.requires("aws-c-auth/0.6.17", transitive_headers=True)
+ self.requires("aws-c-cal/0.5.13")
self.requires("aws-c-http/0.6.22")
self.requires("aws-c-io/0.13.4", transitive_headers=True)
if Version(self.version) >= "0.1.36": |
Relaunched CI jobs for this PR, will check later to complete the review. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There is no dependency to |
Conan v1 pipeline ✔️All green in build 7 (
Conan v2 pipeline ✔️
All green in build 7 ( |
… + modernize more for conan v2 * add AWS_S3_USE_IMPORT_EXPORT interface definition if shared * modernize more * more elegant way to define target for legacy generators * aws-c-common, aws-c-auth & aws-c-io are public dependencies * aws-c-s3: add direct dependency on aws-c-cal * aws-c-s3: fix requirement on aws-c-cal * aws-c-s3: drop older version --------- Co-authored-by: Luis Caro Campos <3535649+jcar87@users.noreply.github.com>
see https://github.com/awslabs/aws-c-s3/blob/v0.2.8/include/aws/s3/exports.h