Add a mechanism for Spack to bootstrap clingo#20068
Closed
Conversation
Contributor
|
I'd prefer to have this version available. I'm currently trying to merge us to the current upstream state. In particular we also hope to get the new concretizer to work (with fewer constrain hints) and setting up clingo right now requires a number of manual steps |
Member
Author
|
@healther This PR will be superseded by another approach which boils down to have binaries available for clingo in mirrors and have logic in Spack to fetch and install them if needed. We are still figuring out a few details for that, in the meanwhile you can use: spack:
specs:
- clingo@spack+python
config:
concretizer: original
install_tree:
root: store
view: viewin some directory of your choice to setup a proper clingo. Then add |
3 tasks
Contributor
Member
Author
|
Superseded by #20207 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR adds the ability to bootstrap clingo for any interpreter that is used to run Spack:
At the moment the process is interactive, to avoid starting a ~15 mins. build without the user being aware of it, but ideally it should be automated (if made fast enough) or be interactive only for command line use of Spack. A Spack environment is used to bootstrap the software and install it at a fixed location.
Improvements that can be made on top of this:
clingo(e.g. compiler with support for C++14)Submitting as draft to get some early feedback.
@becker33 @tgamblin @cosmicexplorer