summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-12-24adding cce to compilers that patch gdbm (#20353)Asher Mancinelli1-0/+1
2020-12-24fix rocm_3.8.0 build error for rocprim,rocrand,rocfft packages (#20446)Sreenivasa Murthy Kolam1-1/+4
* fix rocm_3.8.0 build error for rocprim,rocrand,rocfft packages * fix flake8 errors
2020-12-24Add pem package file (#20447)Joshua S Brown1-0/+29
* Add pem package file * Cleanup formatting * Replace homepage with url to ReadtheDocs * Simplify package description
2020-12-24mesa: Add missing expat dependency (#20459)Chuck Atkins1-0/+1
2020-12-24libjson: Fix install parameters (#20470)Tomoyasu Nojiri1-0/+3
2020-12-24[acts] Add version 4 (#20472)Hadrien G1-0/+2
* Add acts v4 * Please flake8
2020-12-24xios: add support for Fujitsu compilers (#20474)Gilles Gouaillardet1-1/+1
2020-12-24Adding CUDA 11.2.0 (#20477)Filippo Spiga1-0/+4
2020-12-24salmon-tddft: new package. (#20543)Toyohisa Kameyama4-0/+580
* salmon-tddft: new package. * remove debug print. * remove duplicate line.
2020-12-24Starting with HDF5 1.10.0, the H5FD_class_t structure has a new (#20529)QuellynSnead2-0/+13
"terminate" member. Initialize it to NULL.
2020-12-24fftw: PGI compiler has trouble with avx2/avx-512 SIMD support (#20546)QuellynSnead1-3/+8
* PGI compiler has trouble with avx2 SIMD support (https://github.com/FFTW/fftw3/issues/78) * Hew to the project's preferred indentation standard. * Expand '%nvhpc' logic to include '%pgi'. * Exceeded the max line-length. * Break up the long compound statement into nested if's. * Inadvertently picked up an extraneous file. * PGI compiler has trouble with avx2/avx-512 SIMD support, too.
2020-12-24zoltan: Add PGI runtime libs to LDFLAGS (#20547)QuellynSnead1-1/+6
* Add PGI runtime libs to LDFLAGS when '%pgi' in spec. * Revert "Add PGI runtime libs to LDFLAGS when '%pgi' in spec." This reverts commit 31c3ef8ea22156fdeef6f82a29e9cea8ac86f006. * Add PGI runtime libs to LDFLAGS when '%pgi' in spec.
2020-12-24Dropped parametis dependency in 0.82 release (#20481)Kody J. Everson1-1/+1
2020-12-24nbdkit: Fix configure arg (#20488)Tomoyasu Nojiri1-0/+4
2020-12-24Add libvori and support for libvori (and spglib) in CP2K (#20508)Tiziano Müller2-0/+39
* packages: initial commit of libvori * cp2k: add support for libvori * cp2k: add support for spglib
2020-12-24openfoam: update for version 20.12 (#20533)Mark Olesen1-0/+1
Co-authored-by: Mark Olesen <Mark.Olesen@esi-group.com>
2020-12-24Fixed for merging patches for Fujitsu compiler in version 0.3.13 (#20539)a-saitoh-fj1-2/+4
2020-12-24Update to the latest version (1.6.0) (#20540)a-saitoh-fj1-0/+2
2020-12-24mptensor: Add new package (#20542)kuramoto-fj1-0/+55
2020-12-24babelflow: Add spec (#20544)Tomoyasu Nojiri1-0/+1
2020-12-24Remove more variables from build environment (#20156)Omri Mor1-2/+7
GCC looks for included files based on several env vars. Remove C_INCLUDE_PATH, CPLUS_INCLUDE_PATH, and OBJC_INCLUDE_PATH from the build environment to ensure it's clean and prevent accidental clobbering.
2020-12-24libgff: new package at version 2.0.0 (#20233)Alexander Baumgarten1-0/+19
* libgff: new package at version 2.0.0 * Removed default cmake function, fixed flake8 error * Fixed errors
2020-12-24sqlite: add 3.34.0 (#20354)Michael Kuhn1-0/+1
2020-12-24py-lxml: Add Version 4.6.1 (#20361)Dr. Christian Tacke1-2/+3
Also switch homepage to https.
2020-12-24New versions: py-sphinxcontrib-bibtex 2.2.0 and py-pybtex-docutils 0.2.2 ↵Paul R. C. Kent2-4/+13
(#20438) * Add v2.0.0 * Add 0.2.2 * Improve packages * No trailing
2020-12-24Add lbann cmake flags (#20452)Brian Van Essen2-30/+40
* Adding support for the CMake flags in LBANN that are missing. * Added new flag to OpenCV dependency and removed negative variants since OpenCV no longer turns on everything by default. Removed CMake flags in LBANN that have been deprecated. * Removed type='build' flags from dependencies so that they get linked into a environment's view. * Removed type='build' flags from dependencies so that they get linked into a environment's view. Fixed DiHydrogen variant to enable DistConv feature, renamed to +distconv from +legacy. Added conflicts line to indicated that DistConv and ROCm don't work with +half support. * Fixed Flake8 and cleaned up ordering of variants. * Flake8 * Backed out changes to not mark and cmake and ninja as build dependencies, which was introduced to make sure that they appear in a spack environment. * Backed out changes to not mark doc related packages as build dependencies, which was introduced to make sure that they appear in a spack environment. * Fixed how recipe communicates the intent to build and run tests to the package CMake.
2020-12-24Add py-ez-setup package file (#20520)Joshua S Brown1-0/+18
* Add py-ez-setup package file * Cleanup formatting * Cleanup formatting take 2
2020-12-24Update ParallelCluster to v2.10.1 (#20524)tilne1-1/+2
Signed-off-by: Tim Lane <tilne@amazon.com>
2020-12-24[gcc] Make ISL optional by adding a +graphite variant (#20531)zorun1-5/+8
Fixes: #20515 Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2020-12-24[gcc] Explicitly disable libs when they are not required (#20532)zorun1-0/+1
This is to make sure that the build system doesn't pick up a library that would happen to be available. Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2020-12-23bugfix: do not write empty default dicts/lists in envs (#20526)Greg Becker3-47/+38
Environment yaml files should not have default values written to them. To accomplish this, we change the validator to not add the default values to yaml. We rely on the code to set defaults for all values (and use defaulting getters like dict.get(key, default)). Includes regression test.
2020-12-23concretizer: remove vestigial code and commentMassimiliano Culpo1-20/+0
2020-12-23style: ensure that all packages pass `spack style -a`Todd Gamblin31-114/+122
- fix trailing whitespace and other issues uncovered by better flake8 checking. - fix extra whitespace printed by `spack style` command
2020-12-23Add Intel oneAPI packages (#20411)Robert Cohn14-20/+398
This creates a set of packages which all use the same script to install components of Intel oneAPI. This includes: * An inheritable IntelOneApiPackage which knows how to invoke the installation script based on which components are requested * For components which include headers/libraries, an inheritable IntelOneApiLibraryPackage is provided to locate them * Individual packages for DAL, DNN, TBB, etc. * A package for the Intel oneAPI compilers (icx/ifx). This also includes icc/ifortran but these are not currently detected in this PR
2020-12-23papi: patch fortran tests for Cray FTN compiler (#20339)Howard Pritchard2-0/+58
Signed-off-by: Howard Pritchard <hppritcha@gmail.com>
2020-12-22add mypy to style checks; rename `spack flake8` to `spack style` (#20384)Tom Scogland50-317/+661
I lost my mind a bit after getting the completion stuff working and decided to get Mypy working for spack as well. This adds a `.mypy.ini` that checks all of the spack and llnl modules, though not yet packages, and fixes all of the identified missing types and type issues for the spack library. In addition to these changes, this includes: * rename `spack flake8` to `spack style` Aliases flake8 to style, and just runs flake8 as before, but with a warning. The style command runs both `flake8` and `mypy`, in sequence. Added --no-<tool> options to turn off one or the other, they are on by default. Fixed two issues caught by the tools. * stub typing module for python2.x We don't support typing in Spack for python 2.x. To allow 2.x to support `import typing` and `from typing import ...` without a try/except dance to support old versions, this adds a stub module *just* for python 2.x. Doing it this way means we can only reliably use all type hints in python3.7+, and mypi.ini has been updated to reflect that. * add non-default black check to spack style This is a first step to requiring black. It doesn't enforce it by default, but it will check it if requested. Currently enforcing the line length of 79 since that's what flake8 requires, but it's a bit odd for a black formatted project to be quite that narrow. All settings are in the style command since spack has no pyproject.toml and I don't want to add one until more discussion happens. Also re-format `style.py` since it no longer passed the black style check with the new length. * use style check in github action Update the style and docs action to use `spack style`, adding in mypy and black to the action even if it isn't running black right now.
2020-12-22Add patch to fix bazel build on power9 (#20512)Harsh Bhatia2-0/+71
* fix bazel on power9 * small fix in tensorflow package * removed import not needed anymore
2020-12-22concretizer: refactor conditional rules to be less repetitious (#20507)Todd Gamblin2-89/+60
We have to repeat all the spec attributes in a number of places in `concretize.lp`, and Spack has a fair number of spec attributes. If we instead add some rules up front that establish equivalencies like this: ``` node(Package) :- attr("node", Package). attr("node", Package) :- node(Package). version(Package, Version) :- attr("version", Package, Version). attr("version", Package, Version) :- version(Package, Version). ``` We can rewrite most of the repetitive conditions with `attr` and repeat only for each arity (there are only 3 arities for spec attributes so far) as opposed to each spec attribute. This makes the logic easier to read and the rules easier to follow. Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2020-12-22Patch meson.build llvm config strategy (#20451)Ben Bergen1-0/+6
This patch logic resovles a linking issue with ncurses in the mesa package. This appears to be a recurring problem that was identified in the mesa gitlab issues here: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2843 Using `_llvm_method = 'auto'` is broken. This patch replaces that with `_llvm_method = 'config-tool'`, which is a hack, but makes it possible to build. I have commented on the closed issue (2843), referencing the original author of the bug, and one of the mesa developers, so perhaps they will fix the problem.
2020-12-22Refactor flake8 handling and tool compatibility (#20376)Tom Scogland5-254/+292
This PR does three related things to try to improve developer tooling quality of life: 1. Adds new options to `.flake8` so it applies the rules of both `.flake8` and `.flake_package` based on paths in the repository. 2. Adds a re-factoring of the `spack flake8` logic into a flake8 plugin so using flake8 directly, or through editor or language server integration, only reports errors that `spack flake8` would. 3. Allows star import of `spack.pkgkit` in packages, since this is now the thing that needs to be imported for completion to work correctly in package files, it's nice to be able to do that. I'm sorely tempted to sed over the whole repository and put `from spack.pkgkit import *` in every package, but at least being allowed to do it on a per-package basis helps. As an example of what the result of this is: ``` ~/Workspace/Projects/spack/spack develop* ⇣ ❯ flake8 --format=pylint ./var/spack/repos/builtin/packages/kripke/package.py ./var/spack/repos/builtin/packages/kripke/package.py:6: [F403] 'from spack.pkgkit import *' used; unable to detect undefined names ./var/spack/repos/builtin/packages/kripke/package.py:25: [E501] line too long (88 > 79 characters) ~/Workspace/Projects/spack/spack refactor-flake8* 1 ❯ flake8 --format=spack ./var/spack/repos/builtin/packages/kripke/package.py ~/Workspace/Projects/spack/spack refactor-flake8* ❯ flake8 ./var/spack/repos/builtin/packages/kripke/package.py ``` * qa/flake8: update .flake8, spack formatter plugin Adds: * Modern flake8 settings for per-path/glob error ignores, allows packages to use the same `.flake8` as the rest of spack * A spack formatter plugin to flake8 that implements the behavior of `spack flake8` for direct invocations. Makes integration with developer tooling nicer, linting with flake8 reports only errors that `spack flake8` would report. Using pyls and pyls-flake8, or any other non-format-dependent flake8 integration, now works with spack's rules. * qa/flake8: allow star import of spack.pkgkit To get working completion of directives and spack components it's necessary to import the contents of spack.pkgkit. At the moment doing this makes flake8 displeased. For now, allow spack.pkgkit and spack both, next step is to ban spack * and require spack.pkgkit *. * first cut at refactoring spack flake8 This version still copies all of the files to be checked as befire, and some other things that probably aren't necessary, but it relies on the spack formatter plugin to implement the ignore logic. * keep flake8 from rejecting itself * remove separate packages flake8 config * fix failures from too many files I ran into this in the PR converting pkgkit to std. The solution in that branch does not work in all cases as it turns out, and all the workarounds I tried to use generated configs to get a single invocation of flake8 with a filename optoion to work failed. It's an astonishingly frustrating config option. Regardless, this removes all temporary file creation from the command and relies on the plugin instead. To work around the huge number of files in spack and still allow the command to control what gets checked, it scans files in batches of 100. This is a completely arbitrary number but was chosen to be safely under common line-length limits. One side-effect of this is that every 100 files the command will produce output, rather than only at the end, which doesn't seem like a terrible thing.
2020-12-22concretizer: optimize loop on compiler versionMassimiliano Culpo2-13/+15
Similar to the optimization on platform
2020-12-22concretizer: optimized loop on node platformsMassimiliano Culpo1-3/+3
We can speed-up the computation by avoiding a double loop in a cardinality constraint and enforcing the rule instead as an integrity constraint.
2020-12-21Corrected Go dependent build environment. (#18493)Paul1-7/+8
* Dependencies of Go will now correctly set the GOPATH for the appropriate spec to avoid using the user's default path. * Bumped version to latest releases(1.15.6 & 1.14.13).
2020-12-21ParaView: add new ParaView-5.9.0-RC3 release (#20500)Vicente Bolea1-1/+1
Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2020-12-21clingo: prefer master branchTodd Gamblin1-1/+1
Most people installing `clingo` with Spack are going to be doing it to use the new concretizer, and that requires the `master` branch. - [x] make `master` the default so we don't have to keep telling people to install `clingo@master`. We'll update the preferred version when there's a new release.
2020-12-21New package: PMERGE (#20390)downloadico1-0/+29
2020-12-21upstream dependencies changes (#20493)Karen C. Tsai1-13/+19
* update dependencies and cmake options * add blank line
2020-12-21Added support for AOCC compileramd-toolchain-support1-2/+4
2020-12-20geant4-vmc: Add version 5-3, switch to https (#20379)Dr. Christian Tacke1-3/+4
2020-12-20concretizer: fix failing unit testsMassimiliano Culpo2-4/+18