summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-10-24flake8: no wildcards in core; only `import *` from spack in packagesTodd Gamblin4-29/+78
There are now separate flake8 configs for core vs. packages: - core has a smaller set of flake8 exceptions - packages allow `from spack import *` and module globals - Allows core to take advantage of static checking for undefined names - Allows packages to keep using Spack tricks like `from spack import *` and dependencies setting globals for dependents.
2017-10-24add newlines at end of some package filesTodd Gamblin6-6/+6
2017-10-24add --all option to `spack flake8`Todd Gamblin1-14/+41
- `-a`/`--all` causes flake8 to run on all files rather than just different ones.
2017-10-23package: remove bare except statements (#5896)scheibelp1-2/+2
2017-10-23jansson: enable shared library (#5857)Mark Grondona1-0/+9
Jansson builds only a static library by default, which is probably not what most users want. Add Cmake args required to build a shared library and enable those via a default 'shared' variant of the package.
2017-10-20getting_started.rst: removed tip suggesting the use of 2 Spack instances (#4061)Massimiliano Culpo1-13/+0
2017-10-20module-type argument defaults to 'tcl' instead of every known type (#5751)Massimiliano Culpo3-3/+6
fixes #5721 This is to solve the fact that lmod needs to be configured by the user (to specify a core compiler).
2017-10-20buildcache command updates (#5860)Patrick Gartung3-37/+159
* Add better spec matching to spack buildcache * skip download of spec.yaml and keys if they exist * autopep8
2017-10-20new package: hpgmg (#4888)jiseung1-0/+87
* new package: hpgmg * removed build and changed extend() to append() * changes based on comments * pep8 compliant * addressed rest of comments * trigger checks * changed from fe_fv to two boolean variants * fixed compilation issues * cleared up ambiguities in solver variants * removed +mpi condition * changes based on review
2017-10-20Update Getting Started docs to clarify that full Xcode suite is required for ↵Adam J. Stewart2-6/+79
qt (#4958) * Update Getting Started docs to clarify that full Xcode suite is required for qt * Better error message when only the command-line tools are installed
2017-10-20perl: add old version (#5844)George Hartzell2-0/+42
2017-10-20xsbench: add v14 (#5835)Christoph Junghans1-0/+1
2017-10-19spack blame can take a path to a file in the Spack repo (#5793)Todd Gamblin2-7/+28
- Previously `spack blame` only worked for package names; now it works for paths as well, so developers can use it on core spack files.
2017-10-19perl: ignore perllocal.pod files during package activation (#5271)Milton Woods1-0/+39
2017-10-19Allow documentation to build in Python 3 (#5736)Adam J. Stewart1-7/+2
2017-10-19bcl2fastq needs `with working_dir:` after changes in #5776 (#5803)George Hartzell1-10/+14
#5776 cleaned up the way the the current working directory is managed (less magic state). bcl2fastq is packaged like a russian doll, rather than an archive file that contains the source, there's a zip file that contains a tar.gz file that contains the source. The package definition has a bit of extra code that unpacks the inner tarball. That extra bit of code now needs to explicitly arrange to be in the correct directory before it does its work.
2017-10-19libxml2: use spack's xz (#5816)Christoph Junghans1-4/+7
2017-10-18r-affyexpress: Create new package. (#5807)lingnanyuan1-0/+40
2017-10-18r-rtracklayer: new package (#5808)Yifan Zhu1-0/+53
2017-10-18r-affyilm: Create new package. (#5810)lingnanyuan1-0/+44
2017-10-18r-genomicfeatures: new package (#5811)Yifan Zhu1-0/+58
* r-genomicfeatures: created new package * modified version number and added versioned dependency on r * fixed typo
2017-10-18dealii: blacklist boost 1.64 and 1.65 (#5805)Denis Davydov1-8/+7
* dealii: blacklist boost 1.64 and 1.65 * flake8
2017-10-18py-mpi4py: Add develop version and dependencies (#5798)Stephen Hudson1-0/+3
* py-mpi4py: Add develop version and dependencies - Add cython dependency for develop version - Add explicit python dependency * py-mpi4py: Specify 2.0.1 instead of develop for conditional dep
2017-10-17 CoMD Proxy App with Serial, MPI, OpenMP Support (#4864)Akhil Reddy Patlolla1-9/+66
2017-10-17perl: add write permissions to update config files (#5746)George Hartzell1-11/+24
Perl installs a couple of config files that need to be munged so that they don't refer to the spack compiler. These files are installed read-only. Behind the scenes 'filter_file' moves its file to a safe place, and tries to create a working file that is both O_WRONLY and has the perms of the original file. On an NFSv4 filesystem, the combination of 'r--r--r--' and O_WRONLY throws a permissions error. This commit adds a simple context manager that temporarily makes the files writable.
2017-10-17filter_file, don't remove absent backup file (#5733)George Hartzell1-1/+1
I'm tracking down a problem with the perl package that's been generating this error: ``` OSError: OSError: [Errno 2] No such file or directory: '/blah/blah/blah/lib/5.24.1/x86_64-linux/Config.pm~' ``` The real problem is upstream, but it's being masked by an exception raised in `filter_file`s finally block. In my case, `backup` is `False`. The backup is created around line 127, the `re.sub()` calls fails (working on that), the `except` block fires and moves the backup file back, then the finally block tries to remove the non-existent backup file. This change just avoids trying to remove the non-existent file.
2017-10-17Add a new +clanglibcpp option for Boost (#5708)David Hows1-0/+6
* Add a new +clanglibcpp option for Boost Currently, the compile of boost with clang will use the stdlibc++. This patch adds an optional flag to use clangs included libc++ instead. * Linting Fix long lines and white space errors
2017-10-17votca-xtp: added url (#5772)Christoph Junghans1-2/+1
2017-10-17flang: clean up (#5766)Christoph Junghans1-5/+1
2017-10-17liquo: added 1.3 and develop (#5781)Christoph Junghans1-0/+2
2017-10-17Minor typos and corections (#5789)Michael F. Herbst1-2/+2
- The shell script uses arrays and hence only works on sophisticated shells and not the default `sh`. For clarity the shebang `#!/bin/bash` has been used instead.
2017-10-17singularity 2.4 added (#5782)Douglas Duckworth1-1/+2
2017-10-17Exercise more code paths in the git fetcher.Todd Gamblin1-7/+35
- This fakes out GitFetchStrategy to try code paths for different git versions. - This allows us to test code paths for old versions using a newer git version.
2017-10-17Spack tests no longer clutter var/spack/stageTodd Gamblin6-113/+158
- Tests use a session-scoped mock stage directory so as not to interfere with the real install. - Every test is forced to clean up after itself with an additional check. We now automatically assert that no new files have been added to `spack.stage_path` during each test. - This means that tests that fail installs now need to clean up their stages, but in all other cases the check is useful.
2017-10-17``Package.stage`` no longer implicitly makes stage directoryTodd Gamblin1-9/+9
- Be explicit about stage creation during the install process. - This avoids accidental creation of stages - e.g., during `spack install --fake`, stages were erroneously recreated after being destroyed
2017-10-17Spack tests no longer use the var/spack/stage directory.Todd Gamblin1-9/+17
- This prevents the main spack install from being clusttered by invocations of `spack test`. - This uses a session-scoped stage fixture to ensure tests don't interfere.
2017-10-17Spack core and tests no longer use `os.chdir()`Todd Gamblin14-450/+393
- Spack's core package interface was previously overly stateful, in that calling methods like `do_stage()` could change your working directory. - This removes Stage's `chdir` and `chdir_to_source` methods and replaces their usages with `with working_dir(stage.path)` and `with working_dir(stage.source_path)`, respectively. These ensure the original working directory is preserved. - This not only makes the API more usable, it makes the tests more deterministic, as previously a test could leave the current working directory in a bad state and cause subsequent tests to fail mysteriously.
2017-10-16Forcing Paraview to avoid using git describe to determine its own version ↵Jon Rood1-1/+8
number (#5783) * Forcing Paraview to avoid using git describe to determine its own version number. * Shortening references to spec in paraview.
2017-10-16Updated the rc tag and version. (#5761)Aaron Fisher1-2/+2
2017-10-16portage: fixes + added v1.1.* (#5706)Christoph Junghans1-1/+7
2017-10-16armadillo: use libs to provide arpack and superlu libraries (#5777)Michael F. Herbst1-8/+4
2017-10-16petsc: a temporary workaround for concretizer bug in all packages which ↵Denis Davydov1-1/+3
depend on SLEPc (#5755)
2017-10-15Update llvm to version 5.0.0 (#5773)Johann Klähn1-0/+15
2017-10-15Add krims and lazyten (#5771)Michael F. Herbst2-0/+204
* Add krims to spack * Add lazyten to spack * Add description for lazyten * Changes suggested by @davydden and @junghans
2017-10-14boost: remove preferred 1.63 (#5770)Denis Davydov1-5/+1
1.64 had issues serialization (make_array and others) when built with +mpi+python. It appears that those issues are fixed in 1.65.1 so we can remove preferred tag from 1.63.
2017-10-14intel-tbb: add 2018.1 (#5769)Denis Davydov1-0/+2
2017-10-14gsl: add 2.4 (#5768)Denis Davydov1-0/+1
2017-10-14oce: add 0.18.2 (#5767)Denis Davydov1-0/+1
2017-10-14boost: call_once_variadic.patch is already part of 1.56.0 (#5341)Christoph Junghans1-1/+1
2017-10-14Revert "Use cflags instead of the args variable (#5756)" (#5765)Christoph Junghans1-5/+3
This reverts commit 6c3184820aa1052016d92f7ff0419b8085d8ad14.