summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-07-24Split 'spack module' into multiple commandsMassimiliano Culpo10-194/+413
'spack module' has been split into multiple commands, each one tied to a specific module type. This permits the specialization of the new commands with features that are module type specific (e.g. set the default module file in lmod when multiple versions of the same package are installed at the same time).
2018-07-24bugfix: fix spack spec --yamlTodd Gamblin3-1/+58
- repo membership test was broken by the refactor of spack/__init__.py - refactor singleton so that 'spec in repo' works again for `spack.repo.path` - fix spec command and add basic tests for `spack spec` and `spack spec --yaml`
2018-07-23tests: Add python 3.7 to Travis CI (#8778)Massimiliano Culpo1-0/+15
* Test Spack on Python 3.7 as part of Travis CI * Currently using xenial to pull-in python 3.7 * As xenial is not officially supported yet, Travis tolerates failures on it.
2018-07-23packages: do not use generic checksum= in version() directivesTodd Gamblin2-4/+4
- This is very old usage -- preparing to deprecate this in favor of being explicit about checksums.
2018-07-23docs: update old docs for `spack.package.PackageBase`Todd Gamblin1-205/+37
- There was a lot of documentation in `PackageBase` dating back to the very first versions of Spack. - It was repetitive and out of date, and the docs at spack.readthedocs.io are better. - Remove the outdated specifics, and leave the minimal useful set of developer docs in `package.py`.
2018-07-23core: use sha256 instead of md5 for `spack checksum` and `spack create`Todd Gamblin6-43/+102
- This changes `get_checksums_for_versions` to generate code that uses an explicit `sha256` argument instead if the bare `md5` hash we used to generate. - also use a generic digest parameter for the `version` directive, rather than a specific `md5` parameter.
2018-07-23tests: move doc tests to the unit test stageTodd Gamblin1-9/+8
- Frequently, the documentation build will fail mysteriously in some spack command. - The cause is some new bug introduced by the PR, but this is not apparent because the unit tests haven't run and the doc tests aren't targeted at code bugs. - Users end up puzzled by doc failures when they're really code failures. - Move the doc tests parallel with the code tests, so that we can more easily see bugs like this.
2018-07-22Trinity plugins (#8516)Levi Baber1-3/+8
* trinity: fix plugin installation * trinity: flake8 * trinity: more specific types for dependencies
2018-07-22beast1: add libbeagle support (#8525)Levi Baber1-0/+3
2018-07-22libbeagle: add java dependency so jni hooks get built (#8524)Levi Baber1-0/+5
* libbeagle: add java dependency so jni hooks get built * libbeagle: set BEAST_LIB instead of LD_LIBRARY_PATH * libbeagle: use BEAST_LIB
2018-07-22Augustus updated to version 3.3.1 (#8588)Roberto Villegas-Díaz1-5/+5
* Augustus updated to version 3.3.1 * Augustus - Version-specific URLs replaced by list_url * Augustus - Adding tool versions back
2018-07-22fix to build libmatheval with guile@2.0: (#8680)g-mathias3-0/+224
* fix to build libmatheval with guile@2.0: * fixed formatting issues * fixed formatting issues2 * fixed check for autoreconf and renaming of configure.in * fixed force_autoreconf * now patching configure, which is hopefully more robust * minimal patches for guile 2.0 and 2.2 (disabeling unit testing for libmatheval) * minimal patches for guile 2.0 and 2.2 (disabeling unit testing for libmatheval)
2018-07-22Ncl update (#8747)Nasr S. Hassanein1-6/+6
* fix ncl url and hash * adding ncl version 6.5.0 * remove 6.5.0 * using github archive url
2018-07-22Make read only source file writeable in perl before patch to avoid failures ↵Jon Rood1-0/+12
on lustre filesystem. (#8764)
2018-07-22Remove extra Scientific Linux docker build left after merge. (#8770)Patrick Gartung4-247/+0
2018-07-22add necessary dependence on lapacak, and fix ld_flags for blas (#8776)Lukasz1-1/+3
2018-07-22add MoFEM packages (#8700)Lukasz6-0/+456
* add mofem-cephas package * add mofem fracture module * add user modules build and fracture modyle * add minimal surface module * add slepc variant * bump mofem core lib version * bump mofem core lib version * bump version * fix bug * set upper bound to petsc version and other chanes * fix indentation * add minimal med file installation * chcekc with flake8 and installation with spack packages * add variants to med package * upper bound to adol-c and remove obsolete internal package install * fix basic module install * module install from external source in extended prefix * remove obsolte code and reverse to variant doxygen * fix git adress * improve packaging for mofem users modules * fix flake8 * move dependencies after variants * move root_cmakelists_dir right before cmake_args * remove unused variants * use append for single element * replace root_cmakelists_dir * use install_tree instead copy tree * simplify code * remove phase and mkdirp * add run tests * instal ext modules to ext_users_modules directory * move version below url * simplify directory name * use underscore in variant name * remove unused variable * fix link to blas libs * add missing boost dependence * fix problem with copying module source code * change variant name form doxygen to docs * add expanded description * make installation consistent with spack * fix flake8 * make extensions installed * code comments and minor corrections * make slepc variant false by default
2018-07-21bugfix: stage test no longer modifies ~/.spack/config.yamlTodd Gamblin1-2/+2
- two stage tests weren't properly using the mutable_config fixture. - this caused running `spack test` to modify the user's config.yaml
2018-07-21votca: add more deps (#8771)Christoph Junghans2-0/+7
* votca: add more deps * Update package.py
2018-07-21docs: doucment `spack config blame`Todd Gamblin1-4/+59
2018-07-21docs: updates to `spack config get` docs for command-line scopesTodd Gamblin1-21/+73
2018-07-21docs: command-line scopesElizabeth Fischer1-3/+111
Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
2018-07-21config: allow user to add configuration scopes on the command line.Elizabeth Fischer4-72/+194
- Add command-line scope option to Spack - Rework structure of main to allow configuration system to raise errors more naturally Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
2018-07-21locks: fix bug when creating lockfiles in the current directory.Todd Gamblin2-0/+25
- Fixes a bug in `llnl.util.lock` - Locks in the current directory would fail because the parent directory was the empty string. - Fix this and return '.' for the parent of locks in the current directory.
2018-07-19Add kealib 1.4.10 (#8769)Adam J. Stewart1-4/+5
2018-07-19r-qorts: Create new package. (#8744)lingnanyuan2-0/+74
* r-qorts: Create new package. * Change dependency to java, change package name. * Remove some join_path.
2018-07-19Packaged iperf2 (#8765)sknigh1-0/+36
2018-07-19Packaged iperf3 (#8762)sknigh1-0/+36
2018-07-19Py-lark-parser: new package (#8761)Matthias Diener1-0/+36
2018-07-19pycparser: add version 2.18 (#8760)Matthias Diener1-0/+1
2018-07-19nwchem: add link type to python dep (#8759)Levi Baber1-1/+1
2018-07-19votca*: update dependencies (#8757)Christoph Junghans4-4/+61
2018-07-19New package: Verrou, a floating point error checker (#8738)Hadrien G1-0/+107
* New package: Verrou, a floating point error checker * Clean up usage of patch * Account for future patches in version ranges * Manual call to autogen is not needed anymore, but extra dependencies are needed * Use trick from automake to evade shebang length limit * Use a glob instead of an explicit file list * Turns out conflict() does not do what I want... * Suggestions from @citibeth reviews - Use 'develop' convention for the master branch - Prefer tarballs over git repositories - Increase robustness against default configuration * Drop a couple of older releases with a different patching procedure * Playing coding style golf * Various bug squashing - Missed master -> develop substitution - Turns out manually calling autogen.sh is needed after all - Missed + in spec * More style golfing to fit in 80 columns * Remove unnecessary mention of the develop branch
2018-07-19style: bring packages in compliance with pep8-namingTodd Gamblin27-319/+315
2018-07-19style: make core comply with pep8-namingTodd Gamblin35-104/+106
2018-07-19style: Add pep8-naming plugin to flake8Scott Wittenburg1-0/+1
Enforce PEP8 naming conventions for things like variables, methods, classes, etc. See the table here: https://pypi.org/project/pep8-naming/ ...for error codes emitted, in case some should be added as exceptions in the flake8 configuration files.
2018-07-19add py-pep8-naming packageTodd Gamblin3-5/+92
2018-07-18py-pytest: Added dependency on py-setuptools-scm, as well as py-setup… (#8750)Neil Flood1-0/+1
* py-pytest: Added dependency on py-setuptools-scm, as well as py-setuptools, to prevent the build from silently installing its own copy of setuptools-scm * py-pytest: Dependency on setuptools-scm only needs to be 'build'
2018-07-18py-snuggs: Added depends_on py-parsing. The build uses setuptools, which ↵Neil Flood1-0/+1
would otherwise silently try to install pyparsing itself, presumably into the python home dir (obviously not ideal). (#8748)
2018-07-18py-pkgconfig: Made nose dependency type=build,test instead of just ↵Neil Flood1-1/+1
type=test, to prevent setuptools from silently installing its own copy of nose (#8749)
2018-07-18openmpi: add c++ exceptions cfg option variant (#8743)Cyrus Harrison1-0/+5
* openmpi: add c++ exceptions cfg option variant * address review comments
2018-07-18Better Makefile target detection (#8223)Adam J. Stewart1-21/+46
Replace regex-based target detection for Makefiles with a preliminary "make -q" to check if a target exists. This does not work for NetBSD make; additional work is required to detect if NetBSD make is present and to use a regex in that case. The affected makefile target checks are only performed when the "--test" flag is added to a "spack install" invocation.
2018-07-18shell: Add spack to PATH before calling spack in setup-env.csh (#8740)Adam J. Stewart1-1/+1
2018-07-17shell: fixed a typo in spack --print-shell-vars (#8732)Massimiliano Culpo2-6/+6
2018-07-17Cmake: add version 3.12.0 (#8731)Matthias Diener1-0/+1
2018-07-17py-pyqi: new package (#8726)Levi Baber1-0/+38
* py-pyqi: new package * py-pyqi: cleanup
2018-07-17Confine the xlf_seacas.patch for trilinos to version 12.12.1 (#8725)Jon Rood1-3/+3
* The xlf_seacas.patch fails on the latest trilinos develop branch so confine it up to version 12.12.1. * Fixing likely mistak in seacas patch version range.
2018-07-17Packages must be added to DB to be considered installed (#8038)Massimiliano Culpo4-6/+64
Fixes #8036 Before this PR Package.installed was returning True if the spec prefix existed, without checking the DB. This is wrong for external packages, whose prefix exists before being registered into the DB. Now the property checks for both the prefix and a DB entry.
2018-07-17Add documentation on build systems (#5015)Adam J. Stewart17-0/+3941
Spack provides a number of classes based on commonly-used build systems that users can extend when writing packages; the classes provide functionality to perform the actions relevant to the build system (e.g. running "configure" for an Autotools-based package). This adds documentation for classes supporting the following build systems: * Makefile * Autotools * CMake * QMake * SCons * Waf This includes build systems for managing extensions of the following packages: * Perl * Python * R * Octave This also adds documentation on implementing packages that use a custom build system (e.g. Perl/CMake). Spack also provides extendable classes which aggregate functionality for related sets of packages, e.g. those using CUDA. Documentation is added for CudaPackage.
2018-07-17lammps: added v20180629 (#8695)Christoph Junghans1-4/+16