-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
do_install : allow for an arbitrary number of phases #1186
Merged
tgamblin
merged 50 commits into
spack:develop
from
epfl-scitas:features/install_with_phases
Oct 25, 2016
+1,252
−682
Merged
Changes from 37 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
a36f376
package : added hooks for generic phases
alalazo 8ed028e
package : introduced InstallPhase, added decorators for prerequisites…
alalazo 8f75d34
package : added a stub for AutotoolsPackage, examples in szip and swi…
alalazo a43c63f
package : added EditableMakefile
alalazo 857d7bf
do_install : can stop at an arbitrary phase
alalazo 440e71f
build_environment : moved from os.fork to multiprocessing.Process
alalazo 9af964a
log_output : moved from os.fork to multiprocessing.Process
alalazo 513cdd5
do_install : can stop at an arbitrary phase
alalazo 813cb03
package.py : updated logic to log.py rework
alalazo 97c2224
package.py : extra arguments, fixed inheritance issue
alalazo 5cc5950
package.py : hdf5 and lzo have examples of run_tests
alalazo 468a643
package.py : workaround for a known bug that was not fixed in python 2.6
alalazo ad16830
log : added timeout to avoid deadlocks on daemon join
alalazo 7cedd62
package.py : added CMakePackage, changed qhull, ibmisc, openjpeg to w…
alalazo 90b1312
log : changed semantic for start / join (now it's explicit)
alalazo 9d66b85
log : changed semantic for start / join (now it's explicit)
alalazo 00b8e0b
package.py : joined and simplified try/except blocks in do_install
alalazo 1ecea4c
log : refactored acquire and release semantic to meet the context man…
alalazo b8fccb5
CMakePackage : added hook for roo CmakeLists.txt, removed duplicated …
alalazo 893a556
Merge branch 'develop' of https://github.com/LLNL/spack into features…
alalazo 833b0ac
Merge branch 'develop' of https://github.com/LLNL/spack into features…
alalazo 6c00a13
Merge branch 'develop' of https://github.com/LLNL/spack into features…
alalazo 40cb314
Merge branch 'develop' of https://github.com/LLNL/spack into features…
alalazo b92deda
spack setup : work as in documentation for openjpeg
alalazo b4b9ebe
Merge branch 'develop' of https://github.com/LLNL/spack into features…
alalazo f543347
qa : flake8 issues
alalazo 47f6a6d
Merge branch 'develop' of https://github.com/LLNL/spack into features…
alalazo 7a26c60
Merge branch 'develop' of https://github.com/LLNL/spack into features…
alalazo ab995df
Merge branch 'develop' of https://github.com/LLNL/spack into features…
alalazo c7a5dd3
qa : flake8 issues
alalazo dd56784
qa : flake8 issues
alalazo 213e3f0
Merge branch 'develop' of https://github.com/LLNL/spack into features…
alalazo 5ce3071
do_install : removed install_self from the list of arguments (leftov…
alalazo 2251428
CMakePackage : changed `list()` to []
alalazo 04821c7
spack create : now creates packages that are derived from AutotoolsPa…
alalazo fd2b72f
qa : flake8 issues
alalazo 715e029
spack info : added phases
alalazo e8dafd1
Removed space before colon in `FIXME:`, added one line description of…
alalazo 012da99
spack create : fixed typo
alalazo 482f60d
packages : moved decorators into AutotoolsPackage and CMakePackage
alalazo c84123d
spack info : shows the build-system class used
alalazo 8091a3d
do_install : use build_system_class attribute instead of `type(self).…
alalazo 484aaf5
CMakePackage : changed method name from `wdir` to `build_directory`
alalazo bdf4832
spack build, spack configure : added commands
alalazo 284ed13
spack.error : fixed pickling and representation to permit to pass Fet…
alalazo ebbbed1
Merge branch 'develop' of https://github.com/LLNL/spack into features…
alalazo fa3f07c
CMakePackage, AutotoolsPackage : added default behavior on check
alalazo e0f3188
spack setup : improved error message
alalazo 7bd7354
package.py : moved each specialized package to its own module file
alalazo c1ad4bd
Rename EditableMakefile to MakefilePackage
tgamblin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
__del__
is only called when the systemgc
decides to destroy the instance. It would be better to have cleanup like this in__exit__
so that you can be assured that it happens when thewith
block closes. Is there a reason to put it indel
?