Commit graph

17973 commits

Author SHA1 Message Date
adityakavalur
9f89a7e9f7
Update package.py (#19513)
On Cori(Cray-XC40), I need to pass the entire path for the compilers, this is what is saved in c_compiler, cpp_compiler, f_compiler. Therefore, when for the MPI wrappers only the binary name is provided I run into the same issue. There is no drawback of passing the entire path, this is set by the user through the compiler path anyways.
2020-10-27 13:24:09 -05:00
Roberto Di Remigio
7313cf5ea5
Update MRCPP package.py (#19541) 2020-10-27 09:58:24 -05:00
h-denpo
78a759129a
ghostscript: fix: add: depends_on('krb5', type='link') (#19536) 2020-10-27 09:54:33 -05:00
t-nojiri
f6c51efa85
diamond: Add version 2.0.4 (#19535) 2020-10-27 09:53:38 -05:00
Jungwon Kim
64974c43c7
added -lpthread flag in kv/tests/CMakeLists.txt (#19533)
* added -lpthread flag in kv/tests/CMakeLists.txt

* Update var/spack/repos/builtin/packages/papyrus/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-27 09:53:22 -05:00
daichi-nishi
e214deec5b
modified:var/spack/repos/builtin/packages/ppopen-appl-bem-at/package.py (#19538) 2020-10-27 09:53:04 -05:00
Chuck Atkins
57200f01fd
camp: Add missing checksum (#19543) 2020-10-27 09:52:28 -05:00
Toyohisa Kameyama
bb00b1a7c9
sbang: add support for php (#18299)
PHP supports an initial shebang, but its comment syntax can't handle our 2-line
shebangs. So, we need to embed the 2nd-line shebang comment to look like a
PHP comment:

    <?php #!/path/to/php ?>

This adds patching support to the sbang hook and support for
instrumenting php shebangs.

This also patches `phar`, which is a tool used to create php packages.
`phar` itself has to add sbangs to those packages (as phar archives
apparently contain UTF-8, as well as binary blobs), and `phar` sets a
checksum based on the contents of the package.

Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
2020-10-26 22:11:43 -07:00
t-nojiri
cb07d9ddb1
netgauge: Fix for aarch64 (#19462)
* netgauge: Fix for aarch64

* netgauge: Revise the points indicated by the review.
2020-10-26 20:20:18 -05:00
Geoffrey Gunter
e9223062a8
New package: date (#19515)
* Add new package: date

* date: resolve style conformance issues

* date: explicitly disable some cmake options

Explicitly disable CMake options corresponding to variant
'tzdb=download'

* date: make more cmake options explicit

* date: simplify defining cmake cli args
2020-10-26 20:18:34 -05:00
Todd Gamblin
bc4e7eabfe
coverage: add bin directory to coverage (#19530) 2020-10-26 16:23:22 -07:00
iarspider
93c985e5a9
New package: py-minrpc (#19524)
* New package: py-minrpc

* Delete package.py.save

* Update var/spack/repos/builtin/packages/py-minrpc/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-26 16:20:45 -05:00
jthies
5d5711621a
packages/phist: fix incorrect git url (#19527)
Co-authored-by: Thies <thie_jo@fe-store01.sc.bs.dlr.de>
2020-10-26 16:19:53 -05:00
Sinan
4f720fb9ba
package/gunrock add v1.2 (#19516)
* package/gunrock add v1.2

* Update var/spack/repos/builtin/packages/gunrock/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: sbulut <sbulut@3vgeomatics.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-26 16:17:27 -05:00
David Beckingsale
4f9c621284
Add camp & BLT dependencies to Umpire (#19411)
* Add camp & BLT dependencies to Umpire

* Remove tests variant
2020-10-26 16:12:03 -05:00
Patrick Gartung
1c2c30a139
sbang: put sbang in the install_tree (#11598)
`sbang` is not always accessible to users of packages, e.g., if Spack
is installed in someone's home directory and they deploy software
for others.  Avoid this by:

1. Always installing the `sbang` script in the `install_tree`
2. Relocating binaries to point to the copy in the `install_tree` 
   and not the one in the Spack installation.

This PR also:
- ensures that `sbang` is reinstalled if it is modified in Spack
- adds tests
- updates the way `gobject-introspection` patches Makefiles
   to support `sbang`

Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
2020-10-26 12:37:54 -07:00
dunatotatos
718150b997
Update GATK versions. (#19521) 2020-10-26 13:32:35 -05:00
takanori-ihara
b9d3d668d9
fujitsu-ssl2: update package.py (#19519) 2020-10-26 13:31:45 -05:00
Geoffrey Gunter
7ce4518cc0
abseil-cpp: add versions 20200923.{1,2} (#19517) 2020-10-26 13:29:16 -05:00
Jen Herting
7649c652c0
New package: py-visdom (#19479)
* [py-visdom] created template

* [py-visdom] added dependencies

* [py-visdom] added homepage and description. removed fixmes

* [py-visdom] added dependency on py-torchfile

* [py-visdom] py-pillow -> pil

* [py-visdom] fixed url format

* [py-visdom] fixed url format
2020-10-26 13:24:30 -05:00
David Beckingsale
7ca1f6c5d5
Add BLT package (#19410)
* Add BLT package

* Switch install function

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Add type='run' to cmake dependency

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Add git attribute to BLT

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-26 12:15:55 -05:00
Tiziano Müller
f921bcbe0b
cp2k, libxc, libint: fix builds with %intel, resp. intel-parallel-studio+mkl (#19522)
* cp2k: locate correct include dir when using intel-parallel-studio+mkl for fftw-api

* libxc: drop arch-specific intel opt. flags

fixes #17794

* libint: drop arch-specific intel opt. flags, always build Fortran example with FC

fixes #17509
2020-10-26 16:32:15 +01:00
Todd Gamblin
fd6c163e02
bugfix: test_push_and_fetch_keys should be skipped w/o gpg (#19511)
- [x] add a `@pytest.skipif` decorator
2020-10-26 07:24:49 -07:00
Sinan
2e3355d2f9
package/pmdk add variants, version 1.9 (#19512)
* package/pmdk add variants, version 1.9

* add dependency

* Update var/spack/repos/builtin/packages/pmdk/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: sbulut <sbulut@3vgeomatics.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-25 20:39:44 -05:00
jthies
182ca4cb68
phist: two new versions and disable ccache because we don't have a dependency on ccache. (#19510)
Otherwise, phist would look for ccache via cmake, which is not the spack way to do it.

Co-authored-by: Thies <thie_jo@be-cpu03.sc.bs.dlr.de>
2020-10-25 16:35:43 -05:00
Todd Gamblin
01953dc513
bugfix: fix config merge order for OrderdDicts (#18482)
The logic in `config.py` merges lists correctly so that list elements
from higher-precedence config files come first, but the way we merge
`dict` elements reverses the precedence.

Since `mirrors.yaml` relies on `OrderedDict` for precedence, this bug
causes mirrors in lower-precedence config scopes to be checked before
higher-precedence scopes.

We should probably convert `mirrors.yaml` to use a list at some point,
but in the meantie here's a fix for `OrderedDict`.

- [x] ensuring that keys are ordered correctly in `OrderedDict` by
      re-inserting keys from the destination `dict` after adding the keys from
      the source `dict`.

- [x] also simplify the logic in `merge_yaml` by always reinserting
      common keys -- this preserves mark information without all the special
      cases, and makes it simpler to preserve insertion order.

Assuming a default spack configuration, if we run this:

```console
$ spack mirror add foo https://bar.com
```

Results before this change:

```console
$ spack config blame mirrors
---                                                          mirrors:
/Users/gamblin2/src/spack/etc/spack/defaults/mirrors.yaml:2    spack-public: https://spack-llnl-mirror.s3-us-west-2.amazonaws.com/
/Users/gamblin2/.spack/mirrors.yaml:2                          foo: https://bar.com
```

Results after:

```console
$ spack config blame mirrors
---                                                          mirrors:
/Users/gamblin2/.spack/mirrors.yaml:2                          foo: https://bar.com
/Users/gamblin2/src/spack/etc/spack/defaults/mirrors.yaml:2    spack-public: https://spack-llnl-mirror.s3-us-west-2.amazonaws.com/
```
2020-10-24 16:48:04 -07:00
Massimiliano Culpo
6752a39629
py-coverage: added v5.3 (#19509) 2020-10-24 22:29:48 +02:00
Todd Gamblin
2893c23e7c
docs: update docs on shell support and using packages (#19486)
Shell integration no longer requires setting `SPACK_ROOT`, so we can
simplify the documentation on it. The docs on shell support and using
packages are getting a bit old, and information on `spack load` (which
seems to be everyone's most common way of using packages) is hard to
find.

This PR simplifies the shell documentation to remove SPACK_ROOT, and also
moves some sections around for clearer organization.

- [x] make docs on sourcing setup scripts clearer and simpler

- [x] introduce `spack load` early in the basic usage guide instead of
      burying it in the module docs

- [x] clean up module docs so that spack module tcl loads comes later

- [x] be clear about the different ways to use packages so that the users
      can find the docs better.

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2020-10-23 22:16:01 -07:00
Todd Gamblin
560beb098e
csh: don't require SPACK_ROOT for sourcing setup-env.csh (#18225)
Don't require SPACK_ROOT for sourcing setup-env.csh and make output more consistent
2020-10-23 18:54:34 -07:00
Marty Kandes
4cf85ed5f7
Fix GROMACS to require FFTW when using cuda (#19505)
GROMACS still requires a version of FFTW when compiling it to utilize
NVIDIA GPUs. In fact, the type of calculation that depends on FFTW --
Particle-Mesh Ewald (PME) -- is generally run on the host system's CPUs,
even when GPUs are available.
2020-10-23 18:58:13 -05:00
iarspider
978d8ad0af
New package: py-rise (#19496)
* New package: py-rise

* Fix URL and add description

* Update var/spack/repos/builtin/packages/py-rise/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-23 14:59:52 -05:00
Tiziano Müller
bbc048e615
let intel-parallel-studio provide fftw-api for +mkl (#19497) 2020-10-23 11:02:56 -05:00
Scott McMillan
ccc331af26
CMake fix: narrow versions that the PGI patch is applied to (#19495)
Co-authored-by: Scott McMillan <smcmillan@nvidia.com>
2020-10-23 11:00:16 -05:00
iarspider
1d56ad0cdb
New package: py-gsi (#19494)
* New package: py-gsi

* Add dependency on py-setuptools
2020-10-23 10:59:31 -05:00
lorddavidiii
4d414e58b9
Update asciidoc-py3 and fix build problem (#19491)
* asciidoc-py3: add new version 9.0.3

* asciidoc-py3: fix build

- add libxml2 and libxslt as dependency
2020-10-23 10:47:38 -05:00
daichi-nishi
270c647e71
modified:var/spack/repos/builtin/packages/ppopen-appl-fem/package.py (#19489) 2020-10-23 10:46:57 -05:00
daichi-nishi
5e3e3672f6
modified:var/spack/repos/builtin/packages/ppopen-appl-fdm/package.py (#19488) 2020-10-23 10:46:30 -05:00
Tiziano Müller
33989341bd
gaussian-src: initial commit, gaussian-view: update to 6.1.1 (#17711)
* gaussian-src: initial commit to build from source

* do not install the source to ensure to not accidentally distribute
  it to users
* set required runtime env vars based on the login.profile

* gaussian-view: update to 6.1.1
2020-10-23 10:43:34 -05:00
Michael Kuhn
dcf8cf317b
gcc: Fix zstd patch version range (#19490)
PR #19482 updated gcc to only apply the zstd patch until @10.2 but the
releases/gcc-10 branch actually does not contain the patch yet, that is,
gcc@10.3 will most likely have the same problem. Apply the patch for all
10.x releases instead.
2020-10-23 07:37:15 -05:00
darmac
4d4f7393a3
Add new package: acpica-tools (#18739)
* Add new package: acpica-tools

* refine build dependencies
2020-10-23 10:17:46 +02:00
Thomas Green
fe04f06896
gcc: fix build of gcc@master by limiting the version range of a patch (#19482)
Co-authored-by: Thomas Green <ca-tgreen@gw4a64fxlogin00.head.gw4.metoffice.gov.uk>
2020-10-23 09:32:05 +02:00
Todd Gamblin
7b7907077f
graphviz: add patch for XCode 12 (#19485)
- [x] Add a patch to fix an implicit declaration error with apple-clang 12
2020-10-23 09:26:55 +02:00
darmac
a381b44b75
openipmi: added new package at v2.0.28 (#18790)
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-23 09:24:05 +02:00
daichi-nishi
98a7cf7654
modified:var/spack/repos/builtin/packages/ppopen-appl-fvm/package.py (#19487) 2020-10-22 23:06:37 -05:00
manifest
8ac4284e66
Bcolz (#19331)
* gemini dep -py-bcolz +

* Update var/spack/repos/builtin/packages/py-bcolz/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Update var/spack/repos/builtin/packages/py-bcolz/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* py-bcolz URL fix

* Update var/spack/repos/builtin/packages/py-bcolz/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-22 23:04:38 -05:00
iarspider
625136b5da
Syscalc hash (#19323)
* Update syscalc hash

* Tiny fix

* Change URL and update hash as advised by the devs

Co-authored-by: iarspider <iarpsider@gmail.com>
2020-10-22 16:55:52 -05:00
Jen Herting
971d13e9bd
New package: py-dominate (#19483)
* [py-dominate] created template

* [py-dominate] added dependencies

* [py-dominate] added homepage and description. removed fixmes

* [py-dominate] fixed url format
2020-10-22 16:53:01 -05:00
Scott McMillan
0015dd0bf8
Enable packages to use the NVIDIA HPC SDK (#19452)
* Enable packages to use the NVIDIA HPC SDK

* fix linter and review items

* fix linter issue

Co-authored-by: Scott McMillan <smcmillan@nvidia.com>
2020-10-22 16:42:48 -05:00
Jen Herting
fd3dbb2493
New package: py-torchfile (#19481)
* [py-torchfile] created template

* [py-torchfile] set python versions

* [py-torchfile] depends on py-numpy

* [py-torchfile] fixed url format

* [py-torchfile] added homepage and description. removed fixmes

* [py-torchfile] fixed url format
2020-10-22 16:36:34 -05:00
Massimiliano Culpo
4ec404dfc0
Add scratch module roots to test configuration (#19477)
fixes #19476

Module file content is written to file in a
temporary location and read back to be analyzed
by unit tests.

The approach to patch "open" and write to a
StringIO in memory has been abandoned, since
over time other operations insisting on the
filesystem have been added to the module file
generator.
2020-10-22 13:59:39 -07:00