summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-11-28Fix spack.db -> spack.repo in bin/spackTodd Gamblin1-2/+2
2015-11-26Add tests for importing packages directly.Todd Gamblin1-2/+40
Added test for, e.g.: import spack.pkg.builtin.mock.mpich import spack.pkg.builtin.mock.mpich as mpich from spack.pkg.builtin.mock.mpich import Mpich Among others. These ensure that direct package imports work so that packages can be extended.
2015-11-26New, cleaner package repository structure.Todd Gamblin285-65/+138
Package repositories now look like this: top-level-dir/ repo.yaml packages/ libelf/ package.py mpich/ package.py ... This leaves room at the top level for additional metadata, source, per-repo configs, indexes, etc., and it makes it easy to see that something is a spack repo (just look for repo.yaml and packages).
2015-11-25Rename spack.db -> spack.repoTodd Gamblin43-103/+103
Making distinction between install database and package repositories clearer.
2015-11-25Rename packages.py to repository.py, PackageFinder to RepoPath.Todd Gamblin9-128/+25
2015-11-22Working PackageFinder / RepoTodd Gamblin10-160/+331
2015-11-12Fix and move NamespaceTrie to spack.util.namingTodd Gamblin4-42/+154
- fix up routines in namespace trie. - trie can now hold intermediate elements. - trie now has a test case.
2015-11-12Small fix to prevent this test from interfering with others.Todd Gamblin1-17/+22
2015-11-12Merge branch 'develop' into mplegendre-multi_pkgsrc_rootsTodd Gamblin93-280/+2985
Conflicts: lib/spack/spack/__init__.py lib/spack/spack/directives.py lib/spack/spack/packages.py
2015-11-04Add Sphinx packageTodd Gamblin1-0/+13
2015-11-04Fix SPACK-93, SPACK-94, GitHub #150Todd Gamblin4-21/+18
- `remove_prefix` was modified to remove from the DB, but the package may not have been added to the DB yet when `remove_prefix` is called from `cleanup`. - Made `remove_prefix` a pure utility function (it just removes the prefix) - Added `installed_db.remove()` call only after the `remove_prefix` in `uninstall`.
2015-11-04Make architecture reflect OS *and* machine. Use Python's platform module.Todd Gamblin1-11/+8
2015-10-29Merge pull request #147 from epfl-scitas/bugfixes/db_context_managerTodd Gamblin3-3/+3
Fixed typo : write_lock() -> write_transaction()
2015-10-30Fixed typo : write_lock() -> write_transaction()Massimiliano Culpo3-3/+3
2015-10-29Merge Greg Becker's build database support into develop.Todd Gamblin22-139/+1641
2015-10-29Merge pull request #124 from scheibelp/features/testinstall-cmdTodd Gamblin6-3/+350
Features/testinstall cmd
2015-10-29Merge pull request #142 from mathstuf/dbus-disable-systemdTodd Gamblin1-1/+3
dbus: disable systemd
2015-10-29Merge pull request #141 from epfl-scitas/packages/clangTodd Gamblin2-13/+17
clang : updated versions + depends_on(python)
2015-10-29Merge pull request #143 from mathstuf/update-ncursesTodd Gamblin1-0/+2
ncurses: update package
2015-10-29Merge pull request #144 from mathstuf/add-paraviewTodd Gamblin1-0/+72
paraview: add package
2015-10-29Merge pull request #145 from markcmiller86/v-char-bugfixTodd Gamblin1-2/+2
generalize one of the cases to handle many more kinds of formatting o…
2015-10-29Merge pull request #139 from mathstuf/use-uname-for-archTodd Gamblin1-10/+10
architecture: use uname if available
2015-10-28Merge pull request #121 from epfl-scitas/issues/gccTodd Gamblin1-29/+39
GCC : added variant to packages for binutils, solve linking time error
2015-10-27generalize one of the cases to handle many more kinds of formatting optionsmiller861-2/+2
2015-10-27Build database working with simple transaction support; all tests passing.Todd Gamblin12-230/+645
2015-10-27Fix stupid lock bug.Todd Gamblin3-41/+53
- Code simplification ignored case where exception was raised. - If LockError was raised, read and write counts were incremented erroneously. - updated lock test.
2015-10-27Not all package stages have an archive file (e.g. source code repos) but all ofPeter Scheibel1-1/+1
them do have a source_path: use this instead to check whether the package resources were successfully retrieved.
2015-10-27Merge pull request #140 from PaulDapolito/add-xz-versionTodd Gamblin1-2/+6
Added v5.2.2 for xz library
2015-10-27paraview: add packageBen Boeckel1-0/+72
A first attempt; builds successfully. Some dependencies have hard-coded dependencies where they shouldn't (e.g., hdf5 -> mpi, libxml -> python), but that's a different rabbit hole.
2015-10-27dbus: disable systemdBen Boeckel1-1/+3
Not necessary in spack. Also forcefully installs outside of the prefix.
2015-10-27ncurses: update packageBen Boeckel1-0/+2
2015-10-27Lock acquires return True/False depending on whether they got POSIX lock.Todd Gamblin1-4/+15
2015-10-27clang : updated versions and dependenciesMassimiliano Culpo2-7/+12
llvm : added dependency on 'python@2.7:' for better portability
2015-10-27llvm : updated versionsMassimiliano Culpo1-6/+5
2015-10-26architecture: remove custom mac_type methodBen Boeckel1-13/+0
2015-10-26architecture: use uname if availableBen Boeckel1-1/+14
2015-10-26Fetch errors were also terminating runs of test-install with system exit, soPeter Scheibel3-1/+10
stage.fetch() was updated to raise a FetchError instead of calling tty.die(). Output is the same for spack install in case of a fetch error.
2015-10-26Merge pull request #127 from mathstuf/use-dict.setdefaultTodd Gamblin3-16/+7
python: use the setdefault method on dict
2015-10-26python: use the setdefault method on dictBen Boeckel3-16/+7
It allows more concise code and skips some key lookups.
2015-10-26Added v5.2.2 for xz libraryPaul Dapolito1-2/+6
2015-10-26Making SpackError reference consistent.Peter Scheibel1-2/+1
2015-10-26Automatically create a 'test-output' directory in the current directory if noPeter Scheibel1-1/+4
output path is specified. Test output files are placed in this directory. Furthermore the filenames now have the prefix "test" (but otherwise are the string representation of the spec ID as before).
2015-10-24Working Lock class, now uses POSIX fcntl locks, extensive unit test.Todd Gamblin3-84/+350
- llnl.util.lock now uses fcntl.lockf instead of flock - purported to have more NFS compatibility. - Added an extensive test case for locks. - tests acquiring, releasing, upgrading, timeouts, shared, & exclusive cases.
2015-10-24Add a multiprocess Barrier class to use for testing parallel code.Todd Gamblin1-1/+49
2015-10-23The HTML number conversion regex operating against a byte string will onlyPeter Scheibel1-1/+2
convert individual bytes, so therefore incorrectly converts utf-8 encoded characters. Decoding byte strings to unicode objects results in correct HTML number encodings.
2015-10-231. Rename CommandError -> InstallErrorPeter Scheibel2-5/+7
2. InstallError now subclasses SpackError vs. StandardError (so it is now handled by the spack shell script)
2015-10-23GCC : removed binutils variantMassimiliano Culpo1-10/+6
2015-10-221. Added CommandError exception to build_environmentPeter Scheibel2-15/+28
2. The parent of a failed child process in build_environment.fork no longer calls sys.exit - instead it raises a CommandError (from [1]) 3. test-install command now attempts to install all packages even if one fails
2015-10-22Generate test results (designated as skipped) for parents of failed dependenciesPeter Scheibel2-24/+45
2015-10-22Merge pull request #137 from davidbeckingsale/features/ompi-wrappersTodd Gamblin1-0/+64
Filter wrapper data to use correct compilers in OpenMPI