summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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
2014-04-14Clean up find command, move code to utils.Todd Gamblin5-58/+99
2014-04-14Fix broken calls into colify.Todd Gamblin1-2/+2
2014-04-13Fix SPACK-21: stage names are too longTodd Gamblin3-16/+16
Stage names now hash dependencies like install prefixes.
2014-04-13Make SSL verification failures recommend spack -kTodd Gamblin4-13/+30
- Adds optional long message to SpackError - tty now wraps long message text.
2014-03-16Update docs for new package structure.Todd Gamblin2-133/+109
2014-03-16Move packages and mock packages to /var/spackTodd Gamblin38-1600/+11
2014-03-16Add a test for package namesTodd Gamblin1-1/+12
2014-03-16Modify create and edit to work with new package format.Todd Gamblin2-4/+10
2014-03-16New, more consistent package directory structure.Todd Gamblin63-483/+550
- Packages now live in <package_name>/package.py - spack.packages refactored to use a PackageDB object instead of monolithic module. - Implementation of mock_packages_test.py is greatly simplified - Added test to exercise install/uninstall code because that wasn't covered by existing tests and kept breaking.
2014-03-15Integrate & clean up packages from LLNL hackathon.Todd Gamblin5-15/+23
2014-03-15Merge branch 'openmpi' into nextTodd Gamblin3-0/+191
2014-03-15Merge branch 'scr' into nextTodd Gamblin1-0/+39
2014-03-15Merge branch 'spindle' into nextTodd Gamblin2-2/+48
- Fixed conflicting changes to env/cc - TODO: get rid of small hack in cc for machines with no CC
2014-03-15Merge branch 'stat' into nextTodd Gamblin4-0/+68
2014-03-15Merge branch 'launchmon' into nextTodd Gamblin3-0/+199
2014-03-15patches for openmpi 1.6.5Adam Moody3-0/+191
2014-03-15adding scrAdam Moody1-0/+39
2014-03-14Moving utilities to a common LLNL package.Todd Gamblin50-226/+228
2014-03-14cleaned up fixmes in packageGregory L. Lee3-58/+2
2014-03-14launchmon dependency added as comment, need Jira SPACK-21 fixedGregory L. Lee1-3/+3
2014-03-14launchmon dependency added as comment, need Jira SPACK-20 fixedGregory L. Lee1-0/+6
2014-03-14Merge branch 'launchmon' of ssh://cz-stash.llnl.gov:7999/scale/spack into statGregory L. Lee3-0/+199
2014-03-14fixes for launchmon buildGregory L. Lee2-1/+23
2014-03-14Fix spindle launchmon dependencyMatthew LeGendre1-2/+2
2014-03-14Merge branch 'version_opt' into spindleMatthew LeGendre1-1/+4
2014-03-14Fix issue when compiler wrappers ran gcc -VMatthew LeGendre1-1/+4
2014-03-14added workaround to libtool bug + config using non-spack launchmonGregory L. Lee1-1/+8
2014-03-14initial stat creationGregory L. Lee1-0/+40
2014-03-14removed curl -k hack after rebase with spack -k fixGregory L. Lee1-1/+0
2014-03-14workarounds for bugsGregory L. Lee2-1/+7
2014-03-14adding pmgr_collectiveAdam Moody1-0/+38
2014-03-14Add str() calls around messages in ttyTodd Gamblin1-5/+5
2014-03-14Use unzip to unpackage .zip filesMatthew LeGendre1-0/+3
2014-03-14Support github URLsTodd Gamblin1-0/+4
2014-03-14change rename to move in mirror creationAdam Moody1-1/+2
2014-03-14added mrnet and graphlibGregory L. Lee3-0/+66
2014-03-13Change spindle package to use hardcoded LaunchMON pathMatthew LeGendre1-2/+2
2014-03-13Merge branch 'master' into spindleMatthew LeGendre5-6/+52
2014-03-13Add build fix patch to launchmonMatthew LeGendre2-0/+132