summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-08-10Add Python 2.7 functools.total_ordering to external modules.Todd Gamblin3-1/+33
- removing dependence on 2.7 - added it to pyqver2 ads well
2014-08-10Fix minor warning about Exception.message being deprecated.Todd Gamblin1-1/+2
2014-08-10Change dict comprehensions to dict() constructors.Todd Gamblin4-4/+4
2014-08-10Fix SPACK-27 & remove dependence on check_outputTodd Gamblin1-8/+17
- subprocess.check_output is python 2.7 only - Spack checks for existence of requested prefix, creates it if it does not exist.
2014-08-10Remvoe dependence on v2.7 argparse by including argparse.Todd Gamblin21-20/+2401
2014-08-10Add a test case to ensure that Spack is v2.6 compliant.Todd Gamblin2-1/+98
2014-08-10Add external package with pyqver2 toolTodd Gamblin2-0/+425
2014-08-09Merge pull request #21 in SCALE/spack from features/directory-layout-test to ↵George Todd Gamblin11-176/+594
develop # By Todd Gamblin # Via Todd Gamblin * commit '98797459f343c400f4f6fe988bae47d4bab9116b': Minor tweaks after spec update. More spec improvements Add postorder traversal to specs Clean up specs, spec comparison, and spec hashing.
2014-08-09Minor tweaks after spec update.Todd Gamblin4-3/+29
- spack find -p works properly (get path from spec, not package) - directory layout and PackageDB normalize things automatically unless they're unknown packages (need to do this for spack find -l) - install test made robust to mock/main package conflicts
2014-08-09More spec improvementsTodd Gamblin5-63/+131
- Spec.copy() does not create superfluous nodes and preserves DAG connections. - Spec.normalize() doesn't create extra dependency nodes or throw out old ones like before. - Added better test cases for above changes. Minor things: - Fixed bug waiting to happen in PackageDB.get() - instances was keyed by name, not by spec, so caching wasn't really working at all. - removed unused PackageDB.compute_dependents function. - Fixed PackageDB.graph_dependencies() so that spack graph works again.
2014-08-08Add postorder traversal to specsTodd Gamblin3-61/+137
- Spec.preorder_traversal() is now Spec.traverse(). - Caller can supply order='pre' or order='post'
2014-08-08Clean up specs, spec comparison, and spec hashing.Todd Gamblin6-64/+312
- Spec comparison is now less strict - compares based on sorted list of dependencies but not their structure - Makes comparison easy when a spec is not normalized. - This makes the dep_hash consistent for specs read in from a directory layout. - Can now reliably read in a spec for which the package has gone away, and still be able to delete its install. - easy switching between git branches - Fixed latent bug in Spec.flat_dependencies() (was including root) - added a test for the directory layout so that this code will get more exercise.
2014-08-04Merge pull request #20 in SCALE/spack from openss to developGeorge Todd Gamblin3-4/+83
# By Matthew LeGendre (2) and Todd Gamblin (1) # Via Todd Gamblin * commit 'd7a3c7e555bfd93fbf93ec55608d7fc6aa8052f8': Fix up Matt's openss packages. Add sqlite to spack Add libmonitor to spack. Still needs svn support for checkout
2014-08-04find and uninstall work when installed package is no longer in spack.Todd Gamblin4-14/+54
- Make switching between git branches easier. - Make future removal of packages easier.
2014-08-03Fix up Matt's openss packages.Todd Gamblin3-5/+13
2014-08-01Add sqlite to spackMatthew LeGendre1-0/+35
2014-08-01Add libmonitor to spack. Still needs svn support for checkoutMatthew LeGendre1-0/+36
2014-07-31Merge pull request #18 in SCALE/spack from develop_add_ompss to developGeorge Todd Gamblin55-211/+545
* commit 'e011b767fafc1c7287db1cfd254266171e4e382f': Converting Luc's packages to the new version format. Addind missing dependency nanos->extrae necessary for traces Added Paraver and dependencies, restricted Extrae to OpenMPI 1.6 Adding Extrae and OmpSs with some of their dependencies, hwloc and PAPI. Extrae does not compile for latest versions of any MPI implementation. first try for ompss build script Allow per-version URLs instead of one single URL per package.
2014-07-31Converting Luc's packages to the new version format.Todd Gamblin7-22/+63
2014-07-31Addind missing dependency nanos->extrae necessary for tracesLuc Jaulmes1-1/+2
2014-07-31Added Paraver and dependencies, restricted Extrae to OpenMPI 1.6Luc Jaulmes5-3/+80
2014-07-31Adding Extrae and OmpSs with some of their dependencies, hwloc and PAPI.Luc Jaulmes5-12/+82
Extrae does not compile for latest versions of any MPI implementation.
2014-07-31first try for ompss build scriptLuc Jaulmes1-0/+41
2014-07-30Allow per-version URLs instead of one single URL per package.Todd Gamblin48-209/+313
2014-07-09Fix Jeff Keasler's issues and add parmetis package.v0.8Todd Gamblin4-7/+31
2014-07-09Fix for SPACK-35: Fortran not working properlyTodd Gamblin7-3/+10
- Spack needed symlinks in env for fortran compilers. - 'fc' is a bash bulitin, so can't use it for fortran compiler. - switched to 'f90' for this. - mpich 3 builds with fortran now. - enabled shared libs in mpich package
2014-07-08Fix typos.Todd Gamblin2-19/+20
Thanks Adam!
2014-07-08Fix for finding dependent packagesTodd Gamblin1-3/+4
2014-07-08Fix for dependent package detection.Todd Gamblin1-0/+46
2014-07-08Merge pull request #17 in SCALE/spack from features/dotkit to developGeorge Todd Gamblin14-21/+552
# By Todd Gamblin # Via Todd Gamblin * commit '295ffd8c506821ed079d2151fb21cd27979d7387': Adding dotkit support to TAU.
2014-07-08Adding dotkit support to TAU.Todd Gamblin14-21/+552
- New spack.hooks package - contains modules with pre and post install hooks - New dotkit hook module - generates/removes dotkits on install/uninstall - New spack use, spack unuse commands - use same syntax as install/uninstall - New setup-env.bash script - Sets up path, dotkit support - new spack dotkit command - used by script to parse specs, generate specs of installed pckages for dotkit file names
2014-07-02Add TAU package and routines to filter files, fix sed calls.Todd Gamblin4-2/+96
- TAU doesn't install to directories with '@' in the name. - Need to fix up its scripts. - routines to filter files as sed would, but using python regular expressions. - TAU package uses this.
2014-07-02Some fixes for spack-python interpreter mode.Todd Gamblin1-6/+12
2014-06-24Reordered site configuration docs.Todd Gamblin1-50/+51
2014-06-24Updated docs.Todd Gamblin3-87/+232
2014-06-24Bugfix for mirror commandTodd Gamblin1-1/+1
2014-06-24Merge pull request #16 in SCALE/spack from features/mirror to developGeorge Todd Gamblin8-66/+227
# By Todd Gamblin # Via Todd Gamblin * commit '3c3f272280c530553322142d9d836c91b1b01137': spack mirror now checksums fetched archives. New spack mirror command, configuration. Add more output; don't re-add existing compilers
2014-06-24spack mirror now checksums fetched archives.Todd Gamblin4-25/+42
2014-06-24New spack mirror command, configuration.Todd Gamblin6-49/+184
- Mirrors now appear in ~/.spackconfig, can be edited in that file. - spack mirror command allows adding, listing, removing mirrors - Also still creates mirror directories.
2014-06-24Add more output; don't re-add existing compilersTodd Gamblin1-2/+11
2014-06-23import & namespace fixesTodd Gamblin2-3/+1
- Fix Boost issue reported in SPACK-16
2014-06-23Simplified compiler finding logic and caching.Todd Gamblin4-66/+39
2014-06-22Merge pull request #14 in SCALE/spack from features/compilers to developGeorge Todd Gamblin46-415/+2208
# By Todd Gamblin # Via Todd Gamblin * commit '33a11f32fdaea48192ecb13a85af11f85aa6b8bf': (21 commits) Multi-compiler support feature-complete. Fix SPACK-3, SPACK-4, SPACK-12. Executables can optionally ignore error output. Enable allow_no_value for config parser. Make tests use mock compiler configuration. Set default editor to vi if EDITOR is not set. Add working_dir, Version back into package build namespace. Compiler support now uses configuration files. Make debug and verbose output work properly. Minor cleanup and bug fixes. Add support for configuration files. Fix SPACK-24. Proper exiting for forked process in do_install() Move globals to spack's __init__.py Move globals to spack's __init__.py Adding per-compiler python files Initial ability to swap compilers. Better satisfies: e.g., v4.7.3 now satisfies v4.7 Add CompilerSpec class and loading capability. Implemented compiler concretization policy. Sorted out spack.compilers vs var/spack/compilers Make Compiler constructor behave like Spec constructor. ...
2014-06-22Multi-compiler support feature-complete. Fix SPACK-3, SPACK-4, SPACK-12.Todd Gamblin11-150/+519
- Fast compiler finding in path and for other directories - first time spack runs, it searches path. - user can add more compilers with 'spack compiler add' - Finds intel, gcc, clang, and pgi compilers with custom version args. - Builds can plug in alternate compilers with ease (e.g. %intel@12.1)
2014-06-22Executables can optionally ignore error output.Todd Gamblin1-6/+24
2014-06-22Enable allow_no_value for config parser.Todd Gamblin1-19/+53
- Will be useful for, e.g., mirror lists. - Previously didn't properly override regex used when no-value fields are allowed.
2014-06-22Make tests use mock compiler configuration.Todd Gamblin4-2/+25
- makes sure tests don't fail on systems that don't have some compilers (e.g. clang). - more control over specific test cases for compilers.
2014-06-22Set default editor to vi if EDITOR is not set.Todd Gamblin1-1/+1
2014-06-22Add working_dir, Version back into package build namespace.Todd Gamblin1-1/+7
2014-06-22Compiler support now uses configuration files.Todd Gamblin15-84/+286
- no more need for compiler python files. - Default compilers are found in user's environment and added to ~/.spackconfig automatically - User can add new compilers by editing configuration file