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

eastl: add Conan v2 support #17414

Merged
merged 11 commits into from
Jul 2, 2023
Merged

eastl: add Conan v2 support #17414

merged 11 commits into from
Jul 2, 2023

Conversation

valgur
Copy link
Contributor

@valgur valgur commented May 5, 2023

Specify library name and version: eastl/3.18.00

Depends on #17413 (eabase).


@valgur valgur marked this pull request as draft May 5, 2023 21:23
@conan-center-bot

This comment has been minimized.

@valgur valgur closed this May 9, 2023
@valgur valgur reopened this May 9, 2023
@valgur valgur marked this pull request as ready for review May 9, 2023 15:07
@conan-center-bot

This comment has been minimized.

@valgur valgur marked this pull request as draft May 9, 2023 18:42
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@CLAassistant
Copy link

CLAassistant commented May 18, 2023

CLA assistant check
All committers have signed the CLA.

memsharded
memsharded previously approved these changes May 25, 2023
recipes/eastl/all/conanfile.py Outdated Show resolved Hide resolved
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

uilianries
uilianries previously approved these changes Jun 7, 2023
Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@memsharded memsharded left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks very much for your contribution. However, I think there might be some misunderstading regarding this lib being header-only, I think it is not. I am not sure why this passes, maybe because the test_package contains eastl::max_element only, and that is implemented in the headers and doesn't require any linkage?

recipes/eastl/all/conanfile.py Outdated Show resolved Hide resolved
recipes/eastl/all/conanfile.py Outdated Show resolved Hide resolved
recipes/eastl/all/conanfile.py Outdated Show resolved Hide resolved
@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit 416b745
eastl/3.16.01
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libEASTL.so' links to system library 'm' but it is not in cpp_info.system_libs.
eastl/3.16.05
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libEASTL.so' links to system library 'm' but it is not in cpp_info.system_libs.
eastl/3.16.07
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libEASTL.so' links to system library 'm' but it is not in cpp_info.system_libs.
eastl/3.15.00
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libEASTL.so' links to system library 'm' but it is not in cpp_info.system_libs.
eastl/3.18.00
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libEASTL.so' links to system library 'm' but it is not in cpp_info.system_libs.
eastl/3.17.06
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libEASTL.so' links to system library 'm' but it is not in cpp_info.system_libs.
eastl/3.17.03
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libEASTL.so' links to system library 'm' but it is not in cpp_info.system_libs.

@conan-center-bot

This comment has been minimized.

@uilianries
Copy link
Member

@memsharded good catch! thanks for reviewing it!

@conan-center-bot

This comment has been minimized.

@SSE4
Copy link
Contributor

SSE4 commented Jun 27, 2023

max_element

@memsharded max_element is template function, thus it's implemented in header file (it obviously cannot be implemented in .cpp, because of template parameter). therefore, it only needs a header file and doesn't require any linkage.
now with your question answered, could you possibly unblock review?

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 11 (4a6561eec40a507fa39af10fbf9149fba992be91):

  • eastl/3.18.00@:
    All packages built successfully! (All logs)

  • eastl/3.16.05@:
    All packages built successfully! (All logs)

  • eastl/3.16.07@:
    All packages built successfully! (All logs)

  • eastl/3.15.00@:
    All packages built successfully! (All logs)

  • eastl/3.17.06@:
    All packages built successfully! (All logs)

  • eastl/3.17.03@:
    All packages built successfully! (All logs)

  • eastl/3.16.01@:
    All packages built successfully! (All logs)


Conan v2 pipeline ✔️

Note: Conan v2 builds may be required once they are on the v2 ready list

All green in build 8 (4a6561eec40a507fa39af10fbf9149fba992be91):

  • eastl/3.18.00@:
    All packages built successfully! (All logs)

  • eastl/3.16.01@:
    All packages built successfully! (All logs)

  • eastl/3.17.06@:
    All packages built successfully! (All logs)

  • eastl/3.17.03@:
    All packages built successfully! (All logs)

  • eastl/3.16.05@:
    All packages built successfully! (All logs)

  • eastl/3.16.07@:
    All packages built successfully! (All logs)

  • eastl/3.15.00@:
    All packages built successfully! (All logs)

@SSE4
Copy link
Contributor

SSE4 commented Jun 30, 2023

@memsharded ping

@uilianries uilianries self-assigned this Jun 30, 2023
Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


def requirements(self):
self.requires("eabase/2.09.06")
self.requires("eabase/2.09.12", transitive_headers=True)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, we will have the follow error in case is not exposed:

p/include/EASTL/internal/config.h:61:11: fatal error: 'EABase/eabase.h' file not found
        #include <EABase/eabase.h>

@uilianries
Copy link
Member

I just started a new CI job for Conan v2, as it failed but was an internal error.

@AbrilRBS AbrilRBS removed the request for review from memsharded June 30, 2023 10:11
@jcar87 jcar87 dismissed memsharded’s stale review June 30, 2023 10:17

question resolved

@conan-center-bot conan-center-bot merged commit c565c30 into conan-io:master Jul 2, 2023
5 checks passed
@valgur valgur deleted the eastl branch July 2, 2023 15:10
tannerbitz pushed a commit to tannerbitz/conan-center-index that referenced this pull request Jul 8, 2023
* eastl: add Conan v2 support

* eastl: specify supported minimum compiler versions

* eastl: fix copying of licenses

* eastl: remove unnecessary transitive_*=True

* eastl: drop test_v1_package

* eastl: set CMAKE_CXX_STANDARD

Co-authored-by: Uilian Ries <[email protected]>

* eastl: revert minimum compiler versions

* eastl: test against the non-header-only part of eastl

* eastl: convert recipe from header-only to library

* eastl: add required `operator new[]()` to test_package.cpp

* eastl: add 'm' to system_libs

---------

Co-authored-by: Uilian Ries <[email protected]>
pezy pushed a commit to pezy/conan-center-index that referenced this pull request Jul 15, 2023
* eastl: add Conan v2 support

* eastl: specify supported minimum compiler versions

* eastl: fix copying of licenses

* eastl: remove unnecessary transitive_*=True

* eastl: drop test_v1_package

* eastl: set CMAKE_CXX_STANDARD

Co-authored-by: Uilian Ries <[email protected]>

* eastl: revert minimum compiler versions

* eastl: test against the non-header-only part of eastl

* eastl: convert recipe from header-only to library

* eastl: add required `operator new[]()` to test_package.cpp

* eastl: add 'm' to system_libs

---------

Co-authored-by: Uilian Ries <[email protected]>
This pull request was closed.
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.

7 participants