summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-01-19Pull R list_urls from upstream.v0.11.1Todd Gamblin26-40/+27
2018-01-19Added flags to unit tests + OSX build done once per day (#6988)Massimiliano Culpo1-11/+20
* Adding flags to codecov reports * OSX builds are triggered once a day
2018-01-19Bump version to 0.11.1Todd Gamblin1-1/+1
2018-01-19Fix type issues with setting flag handlers (#6960)becker333-5/+35
The flag_handlers method was being set as a bound method, but when reset in the package.py file it was being set as an unbound method (all python2 issues). This gets the underlying function information, which is the same in either case. The bug was uncovered for parmetis in #6858. This is a partial fix. Included are changes to the parmetis package.py file to make use of flag_handlers.
2018-01-19Compiler flag handlers (#6415)becker3312-1320/+372
This adds the ability for packages to apply compiler flags in one of three ways: by injecting them into the compiler wrapper calls (the default in this PR and previously the only automated choice); exporting environment variable definitions for variables with corresponding names (e.g. CPPFLAGS=...); providing them as arguments to the build system (e.g. configure). When applying compiler flags using build system arguments, a package must implement the 'flags_to_build_system_args" function. This is provided for CMake and autotools packages, so for packages which subclass those build systems, they need only update their flag handler method specify which compiler flags should be specified as arguments to the build system. Convenience methods are provided to specify that all flags be applied in one of the 3 available ways, so a custom implementation is only required if more than one method of applying compiler flags is needed. This also removes redundant build system definitions from tutorial examples
2018-01-17Merge branch 'releases/v0.11.0'v0.11.0Todd Gamblin2961-27813/+152202
2018-01-17Fix logo link in README.md to point to the develop branch. (#6969)Todd Gamblin1-1/+1
2018-01-16Final changes for v0.11.0 (#6318)Todd Gamblin2-2/+1
2018-01-16elf relocation fix: cherry-picked from develop branch (#6889)scheibelp3-54/+68
* Revert "Quick fix for relocation issues." This reverts commit 57608a6dc495af6c042945767ac3bd0c009fadd5. * Buildcache: relocate fixes (#6512) * Updated function which checks if a binary file needs relocation. Previously this was incorrectly identifying ELF binaries as symbolic links (so they were being excluded from relocation). Added test to check that ELF binaries are not considered symlinks. * relocate_text was not replacing paths in text files. Added test to check that text files are relocated properly (i.e. paths in the file are converted to the new prefix). * Exclude backup files created by filter_file when installing from binary cache. * Update write_buildinfo_file method signature to distinguish between the spec prefix and the working directory for the binary cache package.
2017-11-13Quick fix for relocation issues.Todd Gamblin2-10/+29
2017-11-13Allow types and 'any' in variant definitions. (#4524)Todd Gamblin0-0/+0
- Previously variant values had to be a tuple or a callable predicate. - This allows 'any' as shorthand for `lambda x: True` and type objects as shorthand for "any value of this type". - Makes variant definitions more readable, keeps lambdas out of packages for common cases.
2017-11-13basics tutorial: output updated (#6267)becker331-813/+1308
* basics tutorial: output updated through gcc * finished update for basics tutorial * missed two lines * doc error fix
2017-11-13Updates to build systems tutorial (#6273)Todd Gamblin2-12/+36
* Get rid of period in command * formatting * fix header * Change GNU Make to Make * Add variants
2017-11-12Add build systems tutorial for SC17 (#6125)Mario Melara18-3/+2539
* First draft for SC17 build systems portion Added tutorial_buildsystems.rst file as well as example files under the tutorial/ directory. * Remove floating ` * Add requested changes, and examples of subclasses Added in the requested changes to the documentation. Also added in information about the subclasses and the defaults that they provide. Also fixed some phrasing issues, formatting and punctuation. * Flake8 fixes and new files for classes Made flake8 fixes to pass tests and also added files to demonstrate code in the classes. * Minor edits Edits in formatting and made some sentence changes * Flake8 fixes More flake8 fixes * Flake8 fix * Change section order on tutorial and minor edits Placed the section at the appropriate section for the tutorial and then added some minor edits that were requested. * Add requested changes and more details Added more details to Cmake, Makefile and Python Packages. * Fixed formatting and minor edits * Fix doc build error
2017-11-12Last minute edits to the Configuration Tutorial (#6271)Adam J. Stewart1-59/+54
2017-11-12Add configuration tutorial for SC17 (#6141)becker332-2/+852
2017-11-12Update packaging tutorial (#6270)Matthew LeGendre8-142/+232
* Allow types and 'any' in variant definitions. - Previously variant values had to be a tuple or a callable predicate. - This allows 'any' as shorthand for `lambda x: True` and type objects as shorthand for "any value of this type". - Makes variant definitions more readable, keeps lambdas out of packages for common cases. * Update packaging tutorial * Fix bad file reference in packaging tutorial
2017-11-12binary packages: do post install hooks (#6269)becker331-0/+1
2017-11-12SC17: advanced packaging tutorial (#6148)Massimiliano Culpo2-0/+564
* First draft of the advanced packaging tutorial * advanced packaging tutorial: improved phrasing Thanks Denis and Hartzell! * Fixed typos + reworded a couple of sentences
2017-11-12SC17: reworked module file tutorial section (#5657)Massimiliano Culpo6-363/+1980
* Reworked module file tutorial section First draft for the SC17 update. This includes: - adding an introduction on module files + Spack's module generation blueprints - adding a set-up section and provide a docker image for easy set-up - updating all the relevant snippets - extending a bit some of the concepts that were already touched * Added reference to #5582 + committed Dockerfiles Also fixed a couple of typos spotted by Denis. * module file tutorial: added section on template customization * module file tutorial: fixed minor typos + rephrased a sentence * module file tutorial: made explicit that Docker image comes with software * module file tutorial: improved phrasing and layout. Thanks Hartzell! * module file tutorial: added vim and nano to editors * module file tutorial: fixed typo * Fixed typos Thanks Adam! * module file tutorial: updated Dockerfile + minor changes in introduction
2017-11-11Don't include build-only dependencies in build cache hash (#6262)becker331-3/+5
2017-11-11petsc: update to version 3.8.2 (#6244)Satish Balay1-0/+1
Includes pkgconfig fix [for mfem static build failure]
2017-11-10Nekbone: Installing data files for example runs (#6243)Brian Homerding1-1/+4
* Nekbone: Installing data files for example runs * Typo Fix
2017-11-10Create symlink for 'swig' binary after installation. (#6240)Sergey Kosukhin1-0/+8
2017-11-10Fixed mfem mpi build issue. (#6254)Aaron Fisher1-4/+9
* Fixed mfem mpi build issue. * Fixed a non-mpi build issue and switched to the latest official MFEM release.
2017-11-10feature/r-reprex: new package (#6257)Yifan Zhu1-0/+47
2017-11-10add alpine ascent (#6224)Cyrus Harrison6-6/+551
* add ascent package and and deps * proper use of site_packages_dir prop * flake8 * add maitain, small updates * flake8 * flake8 * fixs for docstrings for sphinx
2017-11-10Group flags and values separated by space (#6169)scheibelp5-2/+52
Fixes #6154 For compiler options which set values using the syntax "-flag value" (with a space between the flag and the flag's value) the flag and value were treated as separate and reordered. This updates Spack's logic to treat the flag and value as a single unit, even if there is a space between them. It assumes that all flags are prefixed with "-" and that all flag values are not.
2017-11-10Add version 1.04 (#6259)becker331-0/+1
2017-11-10elfutils: add --no-as-needed flag for library ordering issue (#6256)becker331-1/+2
* add --no-as-needed flag for library ordering issue libelf * fix syntax error.
2017-11-10xclip: created new package (#6248)Yifan Zhu1-0/+46
2017-11-10r-clipr: created new package (#6249)Yifan Zhu1-0/+40
2017-11-09Add a code of conduct to Spack (#6251)Todd Gamblin1-0/+46
We're adopting the contributor covenant for now. This isn't something we've needed to use yet, but it is good to have in case we actually do have a problem.
2017-11-09deal with case where symbolic links are copied (#6178)Patrick Gartung1-0/+9
* deal with case where symbolic links are copied * Suggested changes
2017-11-09r-purrr: Create new package. (#6241)lingnanyuan1-0/+39
2017-11-09r-covr: Create new package. (#6239)lingnanyuan1-0/+48
2017-11-09r-readxl: Create new package. (#6238)lingnanyuan1-0/+42
2017-11-09r-cellranger: Create new package. (#6237)lingnanyuan1-0/+39
2017-11-09r-rematch: Create new package. (#6236)lingnanyuan1-0/+39
2017-11-09petsc: when hdf5 depends on zlib - petsc+hdf5 should also be configur… (#6189)Satish Balay1-2/+3
* petsc: when hdf5 depends on zlib - petsc+hdf5 should also be configured with zlib * petsc: fix dependency [of zlib to be on hdf5 - and not on petsc] * petsc: use the fact that hdf5/package.py has a hard dependency on zlib [so no need to check for this dependency in code] recommended-by: @davydden * petsc: change hdf5 dependency to 'hdf5+hl' as petsc configure is looing for -lhdf5_hl https://github.com/spack/spack/issues/5846
2017-11-09magma: cuda updates [from xsdk-0.3.0 branch] (#6160)Satish Balay1-1/+7
- add gcc dependency per cuda versions - Fix for cuda-9.0 as it does not support sm20 nvcc fatal : Unsupported gpu architecture 'compute_20'
2017-11-09spack buildcache: symlink and relative RPATH fixes (#6140)Patrick Gartung4-106/+153
* Skip rewriting files that are links (this also avoids issues with parsing the output of the 'file' command for symlinks) * Fail rather than warn for several gpg signing issues (e.g. if there is no key available to sign with) * Installation with 'buildcache install' only retrieves link and run dependencies (this matches 'buildcache create' which only creates tarballs of link/run dependencies) * Don't rewrite RPATHs for a binary if the binary cached package was created with relative RPATHs * Refactor relocate_binary to operate on multiple binaries (given as a collection of paths). This was likewise done for relocate_text and make_binary_relative
2017-11-09r-log4r: Create new package. (#6133)lingnanyuan1-0/+38
2017-11-09mesa: fixed url for version (#5818)Simone Bnà1-2/+14
2017-11-09ROOT needs to have a consistent version of binutils, as it is very sensitive ↵Benedikt Riedel1-0/+1
to the version of libopcodes. You can't move the code from one system (with the same OS) as another. (#6226)
2017-11-09r-analysispageserver: Create new package. (#6135)lingnanyuan1-0/+41
2017-11-09py-dlcpar (#6229)Levi Baber1-0/+36
* py-dlcpar: new package * py-dlcpar: whitespace
2017-11-09pexsi: add version 0.10.2 (#6232)baip1-2/+5
2017-11-09add sundials 3.1.0 (#6230)David Gardner1-1/+4
2017-11-08fix perl dependent modules, #5900 (#5937)Luigi Calori1-6/+8
* FIX perl dependent environmwent setup to avoid void lines in generated modules as #5900 * remove debug prints * fix flake8