-
Notifications
You must be signed in to change notification settings - Fork 845
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 Eigen to ExternalProject and automatically download if RDK_BUILD_DESCRIPTORS3D #3075
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a good idea, but it is hard to test as our current builds already have Eigen installed. Perhaps we should add a non-eigen installed entry to the build matrix?
8119896
to
edf80a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@bp-kelley @ptosco @ricrogz : This PR adds a hard dependency on eigen, but it does download a copy if eigen isn't already installed. Do any of you see a problem with this? |
I am fine with this. Also, isn't the dependency enforced only if |
I'm also ok with this. |
Ah, right. Maybe we should just add the dependency globally so that eigen can be used in other bits of the code without concern/complication? |
The RDKitJS build currently sets |
9939c28
to
357fb6b
Compare
@ptosco : I'm fine with merging this as is. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, as the build scripts will look for Eigen3 first, and only in case it is not found and RDK_BUILD_DESCRIPTORS3D=ON
it will download Eigen3 from GitLab, otherwise it will use what was previously found (e.g., in /usr/include
or in the conda
environment).
Thanks for the contribution @e-kwsm! |
What does this implement/fix? Explain your changes.
Even if
RDK_BUILD_DESCRIPTORS3D
isON
, 3D descriptors calculators are not built if Eigen is not found.This PR resolves the dependency.