summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-06-22Add support for configuration files. Fix SPACK-24.Todd Gamblin5-1/+598
2014-06-22Proper exiting for forked process in do_install()Todd Gamblin1-11/+15
2014-06-22Move globals to spack's __init__.pyTodd Gamblin2-37/+7
2014-06-22Move globals to spack's __init__.pyTodd Gamblin3-145/+172
2014-06-22Adding per-compiler python filesTodd Gamblin4-0/+16
2014-06-22Initial ability to swap compilers.Todd Gamblin19-118/+231
Fixes SPACK-16 and forces compiler script to build using compiler wrappers. - works with gcc and clang on laptop.
2014-06-22Better satisfies: e.g., v4.7.3 now satisfies v4.7Todd Gamblin5-13/+118
- Changed how satisfies() is defined for the various version classes - Can't just use overlaps() with version lists -- need to account for more and less specific versions. If the version is more specific than the constriant (e.g., 4.7.3 is more specific than 4.7), then it should satisfy the constraint, because if a user asks for 4.7 they likely do not care about the minor version. If they do, they can specify it. New Version.satisfies() takes this into account.
2014-06-22Add CompilerSpec class and loading capability.Todd Gamblin11-92/+177
- spack.spec.Compiler is now spack.spec.CompilerSpec - Can load a spack.compilers.* module for a particular spec - e.g. load Gcc module for gcc@4.7 spec.
2014-06-22Implemented compiler concretization policy.Todd Gamblin5-41/+91
2014-06-22Sorted out spack.compilers vs var/spack/compilersTodd Gamblin8-53/+118
2014-06-22Make Compiler constructor behave like Spec constructor.Todd Gamblin6-27/+47
2014-06-22partial checkinTodd Gamblin1-0/+57
2014-06-05Merge pull request #11 in SCALE/spack from features/tmux to developGeorge Todd Gamblin3-0/+76
# By David Beckingsale # Via David Beckingsale * commit 'e402a2e27cc2942a20916615c8eb06999c0320e6': Added tmux and supporting packages (ncurses and libevent)
2014-06-05Merge pull request #12 in SCALE/spack from features/samrai to developGeorge Todd Gamblin5-0/+130
# By David Beckingsale (1) and Todd Gamblin (1) # Via David Beckingsale * commit '2632bd97459e48404fe3fad0695219bf5bbb6f3f': Package builds and installs SAMRAI and deps with GNU and OpenMPI Preliminary SAMRAI package
2014-06-05Merge pull request #13 in SCALE/spack from features/vim to developGeorge Todd Gamblin1-0/+34
# By David Beckingsale # Via David Beckingsale * commit '2cb06155a7c5767accc0f6027b4805c9ab459bd4': Added package for vim
2014-06-02Added package for vimDavid Beckingsale1-0/+34
2014-06-02Package builds and installs SAMRAI and deps with GNU and OpenMPIDavid Beckingsale5-22/+108
2014-05-30Added tmux and supporting packages (ncurses and libevent)David Beckingsale3-0/+76
2014-05-29Preliminary SAMRAI packageTodd Gamblin1-0/+44
2014-05-27Merge pull request #10 in SCALE/spack from ~SHRADER3/spack:develop to developGeorge Todd Gamblin1-2/+2
# By David Shrader # Via David Shrader * commit '1c1e7295f02b123310efe88b0a23a9cb95cce2f4': Fix bug in checksum reporting
2014-05-27Fix for SPACK-28: truncated output in docs.Todd Gamblin1-1/+0
2014-05-27Add index_by function to llnl.util.langTodd Gamblin1-0/+58
2014-05-20added patch to STAT to find MPICXXGregory L. Lee2-0/+21
2014-05-20Fix bug in checksum reportingDavid Shrader1-2/+2
The number of variables in the string printed for a checksum failure was not correct. Now a useful error message is printed instead of a stack trace and a TypeError.
2014-05-17Better version substitution and wildcard URLs.Todd Gamblin6-63/+156
- Previously, URLs like this wouldn't work with spack create: http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.13.tar.bz2 The '5' in hdf5 would interfere with version wildcard substitution beacuse the wildcard regex would subsume it. We now take the name of the package OUT of the URL before splitting it up and adding version wildcards. This prevents names with numbers from breaking url.wildcard_version. Also added a package sanity check test that ensures all builtin packages work with wildcard_version.
2014-05-16Bugfix in error message.Todd Gamblin1-1/+1
2014-05-07added mrnet-4.1.0 and stat-2.1.0Gregory L. Lee2-7/+2
2014-05-04Allow widths in spec format strings.Todd Gamblin2-9/+30
2014-05-01Make mrnet depend on boost.Todd Gamblin1-2/+6
2014-05-01Merge branch 'features/launchmon' into developTodd Gamblin1-7/+6
2014-05-01Add Dong's 1.0.1 release URL to the launchmon package.Todd Gamblin1-6/+3
2014-04-29Merge pull request #8 in SCALE/spack from features/boost to developGeorge Todd Gamblin9-28/+108
# By Todd Gamblin # Via Todd Gamblin * commit 'a0c91791c5ac995b80111a92c94d8fb760caa6e3': SPACK-25: Add package for boost. Works on Linux currently. Better temp directory selection. Status messages now show install and stage directories. Better version wildcard handling, better spidering
2014-04-29Merge pull request #9 in SCALE/spack from ↵Adam T. Moody5-29/+36
bugfix/SPACK-17-delete-install-dir-on-error to develop # By Todd Gamblin # Via Todd Gamblin * commit 'b813b40c4fdccd593118024083f1e42b472f4e32': Clean up commands and get rid of inconsistent --dirty options Fix SPACK-17: Remove install prefix if install() fails
2014-04-29SPACK-25: Add package for boost. Works on Linux currently.Todd Gamblin2-0/+61
2014-04-25Clean up commands and get rid of inconsistent --dirty optionsTodd Gamblin5-26/+30
- checksum --dirty and create --dirty now changed to --keep-stage - install --dirty is now --keep-prefix - uninstall --force now works properly - commands use keyword args instead of package instance vars where possible (less weird package state)
2014-04-25Fix SPACK-17: Remove install prefix if install() failsTodd Gamblin1-3/+6
- except clause now catches anything, not just exception - sys.exit() changed to os._exit() to avoid interfering with unit tests and to avoid raising SystemExit exception when child processes quit.
2014-04-25Better temp directory selection.Todd Gamblin1-3/+6
- Prefer tempfile.gettempdir(), then LC dirs like /nfs/tmp2
2014-04-25Status messages now show install and stage directories.Todd Gamblin1-2/+3
2014-04-25Better version wildcard handling, better spideringTodd Gamblin5-23/+38
- Allow version wildcards to match [_-.] instead of the exact separators the version was constructed with. - Handles the fact that boost versions are written both 1.55.0 and 1_55_0. - Update spidering to handle parse errors and warn that Python < 2.7.3 has less robust HTML parsing abilities.
2014-04-24Merge pull request #7 in SCALE/spack from bugfix/SPACK-10-fork-on-install to ↵George Todd Gamblin3-35/+90
develop # By Todd Gamblin # Via Todd Gamblin * commit 'b4fddad7eff448adf701fc9e88cf02cd6e582f15': Fix for SPACK-10: Spack now forks before install()
2014-04-24Merge pull request #6 in SCALE/spack from ↵George Todd Gamblin4-126/+181
bugfix/SPACK-20-bin-directories-in-path to develop # By Todd Gamblin # Via Todd Gamblin * commit '554ae9b3552a40ed253250bdebf548e4d8b01976': bugfix for SPACK-20: add dependency bin directories to PATH
2014-04-16Fix for SPACK-10: Spack now forks before install()Todd Gamblin3-35/+90
- this allows each install to have full control over its environment, and over spack. - build process can do whatever it wants and doesn't affect main Spack process.
2014-04-16Default SYS_TYPE should just be an unknown architecture.Todd Gamblin1-1/+1
2014-04-15bugfix for SPACK-20: add dependency bin directories to PATHTodd Gamblin4-126/+181
- Consolidated build environment stuff from package.py into build_environment.py - package.py calls build_environment.py functions just before calling install(), in do_install() - Organization is better b/c SPACK_xxxx environment variables are now in build_environment, the only place they're used. Were previously cluttering globals.py.
2014-04-15Starting to get launchmon working.Todd Gamblin1-5/+7
2014-04-14use installed property to check package existenceGregory L. Lee1-1/+1
2014-04-14fixed installed dependents and uninstall error messageGregory L. Lee1-5/+3
2014-04-14copy config header files to prefix/includeGregory L. Lee1-0/+6
2014-04-14Fix for SPACK-22: Consistent dependency hashing.Todd Gamblin1-14/+15
The dependency hash wasn't being generated in a consistent way: when read from .spec file in the install directory, the spec DAG was not normalized, but when generated on install, it was. Thus the same spec can have two possible hashes, which is obviously not good. In this commit: - Added a dep_hash function to spec, which should be used to get the dependency hash in all cases. This function normalizes the spec before generating the hash. - removed sha1 functions from Spec and DependencyHash. The one on Spec is not needed and is confusing (it hashed the whole spec, not just hash the deps) and the one on DependencyHash wasn't guaranteed to be safe because it can't normalize its parent spec before hashing. Hopefully this makes things consistent and easy.
2014-04-14Print compiler correctly.Todd Gamblin1-1/+1