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

Feature/add ofeli #8375

Merged
merged 13 commits into from
Jan 5, 2022
Merged

Feature/add ofeli #8375

merged 13 commits into from
Jan 5, 2022

Conversation

Kr4is
Copy link
Contributor

@Kr4is Kr4is commented Dec 8, 2021

Specify library name and version: ofeli/4.1.2

This is also a good place to share with all of us why you are submitting this PR (specially if it is a new addition to ConanCenter): is it a dependency of other libraries you want to package? Are you the author of the library? Thanks!


  • 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.

@CLAassistant
Copy link

CLAassistant commented Dec 8, 2021

CLA assistant check
All committers have signed the CLA.

@conan-center-bot

This comment has been minimized.

@Kr4is
Copy link
Contributor Author

Kr4is commented Dec 8, 2021

This PR solves #8333

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@Kr4is
Copy link
Contributor Author

Kr4is commented Dec 9, 2021

This PR resolve #8333

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

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

This comment has been minimized.

@ericLemanissier
Copy link
Contributor

@madebr the test fails for compiler.libcxx=libstdc++ but not for compiler.libcxx=libstdc++11, conan's AutoToolsBuildEnvironment should honor the libcxx setting right ? Do you have an idea ?

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

uilianries
uilianries previously approved these changes Dec 28, 2021
recipes/ofeli/all/test_package/CMakeLists.txt Outdated Show resolved Hide resolved
recipes/ofeli/all/test_package/CMakeLists.txt Outdated Show resolved Hide resolved
recipes/ofeli/all/conanfile.py Show resolved Hide resolved
recipes/ofeli/all/test_package/conanfile.py Outdated Show resolved Hide resolved
@conan-center-bot
Copy link
Collaborator

All green in build 11 (a7cb9ec14a3dfcb33d12183840527a6e42fd038a):

  • ofeli/4.1.2@:
    All packages built successfully! (All logs)

@conan-center-bot conan-center-bot requested a review from SSE4 January 5, 2022 12:00
Comment on lines +11 to +12
topics = ("ofeli", "finite element", "finite element library",
"finite element analysis", "finite element solver")
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
topics = ("ofeli", "finite element", "finite element library",
"finite element analysis", "finite element solver")
topics = ("finite-element", "finite-element-library",
"finite-element-analysis", "finite-element-solver")

Search engine interprets space as different topics.

"Ofeli is just supported for GCC")
if self.settings.compiler.cppstd:
tools.check_min_cppstd(self, 11)
if self.settings.compiler.libcxx != "libstdc++11":
Copy link
Member

Choose a reason for hiding this comment

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

Which scenario it doesn't work? I'm able to with gcc and libstdc++ without any error.

Copy link
Contributor

Choose a reason for hiding this comment

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

cf #8375 (comment)
The failure is the one happening in https://c3i.jfrog.io/c3i/misc/summary.html?json=https://c3i.jfrog.io/c3i/misc/logs/pr/8375/8-configs/linux-gcc/ofeli/4.1.2//summary.json for example
This is expected, because the upstream project ovewrites CPPFLAGS passed by conan, so it does not respect the profile regarding the cpp standard used, or libstdc++'s abi, so it ends up using the deafult, which is libstdc++11

Copy link
Member

Choose a reason for hiding this comment

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

Thank you for these details!

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

@conan-center-bot conan-center-bot merged commit 65a250b into conan-io:master Jan 5, 2022
Comment on lines +71 to +72
self.cpp_info.names["cmake_find_package"] = "Ofeli"
self.cpp_info.names["cmake_find_package_multi"] = "Ofeli"
Copy link
Contributor

Choose a reason for hiding this comment

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

where does it come from?

Copy link
Member

Choose a reason for hiding this comment

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

Good catch. Master branch offers cmake support, but still is all lowercase.

Copy link
Member

Choose a reason for hiding this comment

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

Fix available on #9050

miklelappo pushed a commit to miklelappo/conan-center-index that referenced this pull request Feb 9, 2022
* add ofeli library

* follow pep8

* follow conan hooks

* set compiler to c++11

* add c++ 11 standard to test_package

* set supported compiler

* check os for setting compiler

* remove stdc++11 from conanfiles

* check min cppstd and add debug or release build type choose

* test with config_options

* remote stdc++11 cppstd_flag and update license

* check libstdc++ ABI support
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