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

Support Eigen3 external dependency #1890

Merged
merged 1 commit into from
Jul 1, 2022
Merged

Conversation

vincentchabannes
Copy link
Member

  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes?
  • Have you successfully run the Feel++ testsuite with your changes locally?
  • Have you written Doxygen comments in your contribution ?

the cmake option FEELPP_USE_EXTERNAL_EIGEN3=ON allow to use an eigen3 as an external dependency.
@prudhomm enable this option fix tests on debian11 because Gmsh is compiled with Eigen3 on system and there is a conflict)

…e with debian11 (no use OUTPUT_NAME with interface lib)
@@ -693,7 +701,7 @@ if ( FEELPP_ENABLE_TASKFLOW )
message(STATUS "[feelpp-taskflow] cmake dir: ${CMAKE_INSTALL_DATADIR}/feel/cmake/modules")
FetchContent_MakeAvailable(taskflow)
add_library(feelpp_taskflow INTERFACE)
set_target_properties(Taskflow PROPERTIES OUTPUT_NAME "feelpp_taskflow")
#set_target_properties(Taskflow PROPERTIES OUTPUT_NAME "feelpp_taskflow")
Copy link
Member

Choose a reason for hiding this comment

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

why is it related to the eigen3 dependency issue ?

Copy link
Member

Choose a reason for hiding this comment

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

I usually rename the libraries to avoid conflicts on the filesystem if there is also an installation of the library

Copy link
Member Author

Choose a reason for hiding this comment

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

it's not related. I worked on debian11 and cmake give an error because target Taskflow is an interface lib (and so no OUTPUT_NAME)

@prudhomm prudhomm added this to the v110 milestone Jul 1, 2022
@prudhomm prudhomm merged commit d761f36 into develop Jul 1, 2022
@prudhomm prudhomm deleted the feature/external_eigen3 branch July 1, 2022 22:01
@vincentchabannes vincentchabannes restored the feature/external_eigen3 branch July 13, 2022 13:11
@vincentchabannes vincentchabannes deleted the feature/external_eigen3 branch October 18, 2023 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants