Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Automatic download and build of MOAB #969
base: develop
Are you sure you want to change the base?
Automatic download and build of MOAB #969
Changes from 13 commits
861807f
a5e83e3
b28d951
26e03af
0908fdd
83ca15e
c6df67a
853b3b9
612893a
b012285
bbe4828
ef5a2e0
6675cef
19da17b
bf4ecff
ef2c3e5
e7a03fd
5907867
8a8597d
9d4ccc0
445aab9
b1232be
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Have we thought about whether we put this condition up one level? That is, if we are going to PULL_INSTALL, then we don't call
FindPackage
at all and just do this macro instead? Then we don't need to mess with theFindMOAB
file. I think that will work???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.
This method may work here for now, but may create trouble while working with scikit-build-core depended project. However, I am not sure here.
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 have no experience about
scikit-build-core
, maybe we shall fix it, if the problem occurs ?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 believe MOAB master branch now has scikit-build core while version 5.5.1 does not.
Perhaps changing the moab version to master would provide a quick way of checking if this continues to work
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.
Trying it now.
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.
Just to mention @bam241 tried this with the master branch of MOAB (which has scikit build core) and reported that it works
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.
have a doubt about what I did, I'll try one more time
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.
Any final resolution on this?
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 have tested this against MOAB master, this works.
Test on 5fe643b
checked the proper work of this against MOAB Master branch
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'm curious as to why these lines are needed now when they weren't before.
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.
The goal is to allow if asked for, the possibility to pull and compile MOAB at the DAGMC build time
This variable has been added to detect if such auto download and compilation of MOAB is requested.
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 @pshriwise has a different question: why does this method explicitly require adding the dependencies? As I recall from a conversation last month, since the MOAB libraries are not built until build time, CMake can't add them implicitly. They are not found by CMake and added to the linked library list, so we have to tell it to happend.