summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-05-25Add xxd for hsa-rocr-dev build script (#23855)Harmen Stoppels4-8/+41
2021-05-25adding json export for spack blame (#23417)Vanessasaurus4-15/+122
I would like to be able to export (and save and then load programatically) spack blame metadata, so this commit adds a spack blame --json argument, along with developer docs for it Signed-off-by: vsoch <vsoch@users.noreply.github.com> Co-authored-by: vsoch <vsoch@users.noreply.github.com>
2021-05-25first set of work to allow for saving local results with spack monitor (#23804)Vanessasaurus6-24/+156
This work will come in two phases. The first here is to allow saving of a local result with spack monitor, and the second will add a spack monitor command so the user can do spack monitor upload. Signed-off-by: vsoch <vsoch@users.noreply.github.com> Co-authored-by: vsoch <vsoch@users.noreply.github.com>
2021-05-25extrae package: add variant for cuda and cupti (#23522)Hervé Yviquel1-0/+20
2021-05-25Fix cross references in inteloneapipackage doc (#23744)Robert Cohn1-7/+7
Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
2021-05-25ForTrilinos: add smoke test (#23664)Seth R. Johnson1-0/+26
2021-05-25iwyu: link clang resources in the right location (#23885)Michael Kuhn1-0/+7
iwyu cannot find clang's headers if they are installed in separate prefixes, see: https://github.com/include-what-you-use/include-what-you-use#how-to-install
2021-05-25variorum: unpin hwloc dependency (#23742)eugeneswalker1-1/+1
2021-05-25Stand-alone/Smoke tests: copy cached test sources to test stage (#23713)Tamara Dahlgren12-73/+176
2021-05-25MesonPackage: make "default_library" a multi-valued variant (#23540)Harmen Stoppels2-12/+11
Currently if one package does `depends_on('pkg default_library=shared')` and another does `depends_on('pkg default_library=both')`, you'd get a concretization error. With this PR one package can do `depends_on('pkg default_library=shared')` and another depends_on('default_library=static'), and it would concretize to `pkg default_library=shared,static` Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2021-05-25strace: add v5.8-5.12 (#23883)Harmen Stoppels1-0/+5
2021-05-25rpm: overhaul package recipe (#23819)Harmen Stoppels1-55/+66
2021-05-25qucs: add new package (#23849)Olivier Cessenat1-0/+63
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2021-05-25[AMD] - Update rocm-openmp-extras to 4.2.0. (#23870)estewart081-8/+14
2021-05-25Fix packaging guide table's build system links (#23879)Tamara Dahlgren1-9/+9
2021-05-25Fix hyperlink formatting in docs (#23846)HDF-EOS Tools Information Center1-1/+1
2021-05-25Add tools and example variants to axom (#23877)Chris White1-0/+7
2021-05-24ascent package: capture spack global flags in host config (#23826)Cyrus Harrison1-0/+17
2021-05-24dray package: capture spack global flags in host config (#23827)Cyrus Harrison1-0/+17
2021-05-24iwyu: add 0.15 (#23876)Michael Kuhn1-0/+2
2021-05-24Fenicsx packages: updates for 0.1.0 releases (#23836)Chris Richardson6-19/+46
2021-05-24raxml-ng update to version 1.0.2 (#23764)Desmond Orton1-1/+2
* Package update to version 1.0.2 * switched submodule boolean to string * switched from string to bools Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-05-24SuperLU: add v5.2.2 and cmake tweaks (#23863)Seth R. Johnson1-26/+39
- Changed to cmake package with backward compatibility with older makefile - Removed unused cmake variable 'blas_blas_libs' - Added new version 5.2.2 which change to external blas variable - Remove unused tcsh dependency - Change URL to use git repository for current and future versions - Add older 4.2 version - Add conflict for older versions with apple-clang
2021-05-24gdk-pixbuf: restrict patch application to meson packages (#23838)Andreas Baumbach1-1/+3
2021-05-24libedit: add missing pkgconfig dependency (#23839)Andreas Baumbach1-0/+1
2021-05-24ncdu: add v1.15.1 (#23840)Andreas Baumbach1-0/+3
2021-05-24alpaka: add new package (#23576)Valentin Volkl1-0/+77
2021-05-24chapel: add versions up to 1.24.1 (#23365)Hang Yan1-1/+7
2021-05-24ucx: add v1.10.1 (#23858)Robert Mijakovic1-1/+2
Co-authored-by: Robert Mijakovic <robert.mijakovic@lxp.lu>
2021-05-24CUDA: add v11.3.1 (#23864)Filippo Spiga1-0/+4
2021-05-24chaplin: add new package (#23866)Valentin Volkl1-0/+22
2021-05-22updating debugedit to be built from its production repository (#23851)Vanessasaurus1-6/+9
Signed-off-by: vsoch <vsoch@users.noreply.github.com> Co-authored-by: vsoch <vsoch@users.noreply.github.com>
2021-05-22Spack can Use RHEL8's `platform-python` if nothing else is available. (#23857)Todd Gamblin2-3/+2
This adds RHEL8's `/usr/libexec/platform-python` to Spack's list of preferred pythons. It will only be used if no other `python` is available in the `PATH`. We have been testing with this python for a while now, and it seems to do all that we need. If Spack one day isn't able to work with it, we'll take it out, but for now it is useful to allow Spack to be used on RHEL8 without a dedicated `python` installation.
2021-05-22Merge tag 'v0.16.2' into developTodd Gamblin1-0/+27
2021-05-22Update CHANGELOG and release version for v0.16.2v0.16.2Todd Gamblin2-1/+28
2021-05-22Style fixes for v0.16.2 releaseMassimiliano Culpo8-12/+22
2021-05-22performance: speed up existence checks in packages (#23661)Todd Gamblin3-24/+37
Spack doesn't require users to manually index their repos; it reindexes the indexes automatically when things change. To determine when to do this, it has to `stat()` all package files in each repository to make sure that indexes up to date with packages. We currently index virtual providers, patches by sha256, and tags on packages. When this was originally implemented, we ran the checker all the time, at startup, but that was slow (see #7587). But we didn't go far enough -- it still consults the checker and does all the stat operations just to see if a package exists (`Repo.exists()`). That might've been a wash in 2018, but as the number of packages has grown, it's gotten slower -- checking 5k packages is expensive and users see this for small operations. It's a win now to make `Repo.exists()` check files directly. **Fix:** This PR does a number of things to speed up `spack load`, `spack info`, and other commands: - [x] Make `Repo.exists()` check files directly again with `os.path.exists()` (this is the big one) - [x] Refactor `Spec.satisfies()` so that a checking for virtual packages only happens if needed (avoids some calls to exists()) - [x] Avoid calling `Repo.exists(spec)` in `Repo.get()`. `Repo.get()` will ultimately try to load a `package.py` file anyway; we can let the failure to load it indicate that the package doesn't exist, and avoid another call to exists(). - [x] Fix up some comments in spec parsing - [x] Call `UnknownPackageError` more consistently in `repo.py`
2021-05-22ASP-based solve: minimize compiler mismatches (#23016)Massimiliano Culpo3-32/+28
fixes #22718 Instead of trying to maximize the number of matches (preferred behavior), try to minimize the number of mismatches (unwanted behavior).
2021-05-22new package for openvdb (#23581)Drew Whitehouse1-0/+90
2021-05-22New package: sparskit (#23848)Olivier Cessenat1-0/+76
2021-05-22ASP-based solver: no intermediate package for concretizing together (#23307)Massimiliano Culpo2-0/+33
The ASP-based solver can natively manage cases where more than one root spec is given, and is able to concretize all the roots together (ensuring one spec per package at most). Modifications: - [x] When concretising together an environment the ASP-based solver calls directly its `solve` method rather than constructing a temporary fake root package.
2021-05-22Import hooks using Python's built-in machinery (#23288)Massimiliano Culpo1-29/+38
The function we coded in Spack to load Python modules with arbitrary names from a file seem to have issues with local imports. For loading hooks though it is unnecessary to use such functions, since we don't care to bind a custom name to a module nor we have to load it from an unknown location. This PR thus modifies spack.hook in the following ways: - Use __import__ instead of spack.util.imp.load_source (this addresses #20005) - Sync module docstring with all the hooks we have - Avoid using memoization in a module function - Marked with a leading underscore all the names that are supposed to stay local
2021-05-22spack location: fix usage without args (#22755)Harmen Stoppels2-4/+5
2021-05-22Add "spack [cd|location] --source-dir" (#22321)Harmen Stoppels3-58/+82
2021-05-22Use Python's built-in machinery to import compilers (#23290)Massimiliano Culpo1-8/+7
2021-05-22ASP-based solver: suppress warnings when constructing facts (#23090)Massimiliano Culpo1-1/+4
fixes #22786 Trying to get optimization flags for a specific target from a compiler may trigger warnings. In the context of constructing facts for the ASP-based solver we don't want to show these warnings to the user, so here we simply ignore them.
2021-05-22Externals with merged prefixes (#22653)Peter Scheibel2-17/+85
We remove system paths from search variables like PATH and from -L options because they may contain many packages and could interfere with Spack-built packages. External packages may be installed to prefixes that are not actually system paths but are still "merged" in the sense that many other packages are installed there. To avoid conflicts, this PR places all external packages at the end of search paths.
2021-05-22ASP-based solver: assign OS correctly with inheritance from parent (#22896)Massimiliano Culpo3-0/+28
fixes #22871 When in presence of multiple choices for the operating system we were lacking a rule to derive the node OS if it was inherited.
2021-05-22"spack build-env" searches env for relevant spec (#21642)Peter Scheibel5-4/+117
If you install packages using spack install in an environment with complex spec constraints, and the install fails, you may want to test out the build using spack build-env; one issue (particularly if you use concretize: together) is that it may be hard to pass the appropriate spec that matches what the environment is attempting to install. This updates the build-env command to default to pulling a matching spec from the environment rather than concretizing what the user provides on the command line independently. This makes a similar change to spack cd. If the user-provided spec matches multiple specs in the environment, then these commands will now report an error and display all matching specs (to help the user specify). Co-authored-by: Gregory Becker <becker33@llnl.gov>
2021-05-22Remove erroneous warnings about quotes for from_source_file (#22767)Adam J. Stewart2-10/+18