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

add lerc/2.1 #1159

Merged
merged 1 commit into from
Apr 30, 2020
Merged

add lerc/2.1 #1159

merged 1 commit into from
Apr 30, 2020

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Mar 22, 2020

Specify library name and version: lerc/2.1

  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

@SpaceIm SpaceIm mentioned this pull request Mar 22, 2020
@conan-center-bot
Copy link
Collaborator

All green in build 1 (cfba53f5279db94639d8bbfd1e5a6527d0191e11)! 😊

@conan-center-bot
Copy link
Collaborator

All green in build 2 (c9002fa44a000112311740d33fbd6eb361891dfe)! 😊

recipes/lerclib/all/conanfile.py Outdated Show resolved Hide resolved
+)
+
+add_library(LercLib ${SOURCES})
+set_property(TARGET LercLib PROPERTY CXX_STANDARD 11)
Copy link
Contributor

Choose a reason for hiding this comment

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

The upstream cmake script requires the c++ 17 standard.
Is upstream too stringent?
Should self.settings.compiler.cppstd be checked in configure()?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

C++17 is not required, it's a mistake in their CMakeLists, or maybe they have introduced C++17 features in latest commits.

+
+add_library(LercLib ${SOURCES})
+set_property(TARGET LercLib PROPERTY CXX_STANDARD 11)
+if(BUILD_SHARED_LIBS)
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be nice if these things would be upstreamed.
The upstream cmake script has none of these options.
That way, we won't need patches in future releases.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

It doesn't look like upstream will answer soon.
If you're finished, ask for a final review so this can get merged.

@conan-center-bot
Copy link
Collaborator

All green in build 3 (2cbb8a10f903f18ed2ac455fcb6ed1ac1e110ae1)! 😊

@conan-center-bot
Copy link
Collaborator

All green in build 4 (b4b4d0c855e05c9546b3d69b98cc7886add6ce20)! 😊

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.

If we have a problem in the future we can update this recipe. This PR is 1 month old, because we need an answer from the upstream

@uilianries uilianries requested a review from SSE4 April 27, 2020 20:27
@danimtb danimtb merged commit 63f0e8d into conan-io:master Apr 30, 2020
@SpaceIm SpaceIm deleted the lerclib/2.1 branch April 30, 2020 10:06
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.

None yet

6 participants