summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-08-09Properly re-raise exceptions from lock context handler.Todd Gamblin1-4/+6
2016-08-09Flake8 fixesTodd Gamblin16-330/+294
2016-08-09Move provider cache to home directory and refactor TransactionsTodd Gamblin18-113/+600
Major stuff: - Created a FileCache for managing user cache files in Spack. Currently just handles virtuals. - Moved virtual cache from the repository to the home directory so that users do not need write access to Spack repositories to use them. - Refactored `Transaction` class in `database.py` -- moved it to `LockTransaction` in `lock.py` and made it reusable by other classes. Other additions: - Added tests for file cache and transactions. - Added a few more tests for database - Fixed bug in DB where writes could happen even if exceptions were raised during a transaction. - `spack uninstall` now attempts to repair the database when it discovers that a prefix doesn't exist but a DB record does.
2016-08-08Fix bugs with sparse spec printing.Todd Gamblin3-10/+34
- Make namespace, arch, and dependnecies show up in spec yaml only if they're set. - Lost some of this functionality with deptypes
2016-08-08Restore text output in verbose mode.Todd Gamblin1-0/+4
2016-08-08Make compiler command test last until caching is fixed.Todd Gamblin1-2/+3
- global compiler cache breaks tests that come after this one.
2016-08-08Fix issues with import order in tests.Todd Gamblin1-15/+30
- modules weren't set properly as attributes in parent modules
2016-08-08WIPTodd Gamblin3-27/+117
2016-08-08Fix iterator invalidation issues.Todd Gamblin1-10/+19
2016-08-08fix scoping issue.Todd Gamblin1-1/+1
2016-08-08rename `virtual` module to `provider_index`Todd Gamblin5-12/+16
2016-08-08Fix namespace support in Repo.get_pkg_class()Todd Gamblin2-2/+8
2016-08-08Faster key in FlagMap._cmp_keyTodd Gamblin1-2/+1
2016-08-08Remove vestigial methods from Package.Todd Gamblin1-38/+0
2016-08-08Add a ProviderIndex cache.Todd Gamblin3-13/+143
- Spack will check if the index needs updating, and will only parse all package files if it does. - Spack tries to parse as few package files as necessary.
2016-08-08Make ProviderIndexes mergeable, so we can cache them per-repo.Todd Gamblin3-8/+57
2016-08-08Make ProviderIndex yaml-izable.Todd Gamblin4-13/+138
- allow a provider index to be stored and re-read.
2016-08-08More compact YAML formatting for abstract specs.Todd Gamblin2-26/+27
- Don't add empty/absent fields to Spec YAML when they're not there.
2016-08-08Lazily evaluate all_package_names in repository.pyTodd Gamblin1-10/+17
- Don't need to list all packages unless we have to. - Only use the list of all packages for existence checks if we have generated it for some other purpose.
2016-08-08Merge pull request #1472 from adamjstewart/fixes/rstripbecker331-1/+1
Only strip newline chars, not spaces
2016-08-08Only strip newline chars, not spacesAdam J. Stewart1-1/+1
2016-08-08Merge pull request #1345 from hartzell/feature/add-perl-dependency-to-gitbecker331-6/+6
Add depends_on('perl'), depends_on('pcre') to git package
2016-08-07Merge pull request #1449 from hartzell/feature/add-package-for-prankTodd Gamblin7-0/+304
Add package for prank and supporting tools
2016-08-07Merge pull request #1463 from davydden/pkg/opiumTodd Gamblin1-0/+55
opium: add new package
2016-08-07Merge pull request #1464 from hartzell/feature/update-lmodTodd Gamblin1-3/+5
No need to patch Lmod after 6.4.4
2016-08-07Merge pull request #1465 from glennpj/pango_urlTodd Gamblin1-0/+2
Add list_url to pango package
2016-08-07Merge pull request #1466 from pramodk/developTodd Gamblin1-3/+5
PDT should download full installer package
2016-08-07tar: fix 1.28 on macOS; add 1.29 (#1462)Denis Davydov2-2/+494
2016-08-07Fix erroneously stripped trailing whitespace in patch (#1467)Adam J. Stewart1-4/+5
2016-08-07PDT should download full installer package pdtoolkit-X.tar.gz (default ↵Pramod Kumbhar1-3/+5
pdt-X.tar.gz is only for x86 and cray)
2016-08-06Add list_url to pango packageGlenn Johnson1-0/+2
Added a `list_url` so the updated pango tar file can be retrieved.
2016-08-06No need to patch Lmod after 6.4.4George Hartzell1-3/+5
The Lmod author changed the src so that it uses the tclsh (and shared libraries) discovered at configure time. He did it differently that I did in this patch, but he changes solve our problem too, so...
2016-08-06Make configure use our gettext libraryGeorge Hartzell1-0/+1
The configure script needs extra encouragement to link against our gettext/libintl library.
2016-08-06Clean up rebase problemsGeorge Hartzell1-1/+1
My rebase duplicated the depends_on('zlib') and dropped the --with-curl from the configure. This fixes those.
2016-08-06[Whitespace] Gather the depends_on's together.George Hartzell1-0/+1
2016-08-06Call configure `--with-libpcre=...` to use our pcreGeorge Hartzell1-1/+1
An earlier commit claimed that this package depends_on('pcre') but I didn't fix the call to configure that enabled it. This fixes that.
2016-08-06Enable depends_on('pcre') alsoGeorge Hartzell1-3/+1
While I have the patient on the operating table, @adamjstewart asked me to uncomment and test the depends_on('pcre'). Did it and it Works For Me(tm).
2016-08-06Add depends_on('perl') to git packageGeorge Hartzell1-3/+3
This commit changes the git package to depend_on('perl'). The system perl is not always sufficient to install git (e.g. a CentOS7 system with the development tools group installed has perl but not the ExtUtils::MakeMaker package that git needs) and one can't always update the system's perl. This PR depends_on PR #1339, which adds a perl package to spack.
2016-08-06Switch to using *std_cmake_argsGeorge Hartzell4-7/+4
2016-08-06Flake8 whitespace cleanupGeorge Hartzell4-4/+8
2016-08-06Add Bio++ tool suite and supporting libsGeorge Hartzell4-0/+173
Add the Bio++ suite and its supporting libraries.
2016-08-06Add package for mafftGeorge Hartzell1-0/+42
2016-08-06Add package for exonerateGeorge Hartzell1-0/+44
2016-08-06Fix name of bpp-suite (missing -...)George Hartzell1-1/+1
2016-08-06Add package for prankGeorge Hartzell1-0/+44
2016-08-06opium: add new packageDenis Davydov1-0/+55
2016-08-05Merge pull request #1451 from hartzell/feature/add-package-for-fastx_toolkitbecker332-0/+83
Add package for fastx toolkit
2016-08-05Merge pull request #1452 from hartzell/feature/add-package-for-samtoolsbecker334-29/+101
Add package for samtools
2016-08-05Remove lingering FIXME commentaryGeorge Hartzell1-3/+0
2016-08-05Samtools depends on htslib from 1.3.1 onwardGeorge Hartzell1-2/+2
Samtools used to (before 1.3.1) include it's own copy of htslib. Going forward, it needs to use the standalone htslib.