Commit graph

12707 commits

Author SHA1 Message Date
Milton Woods
48bfece55e py-pyugrid: unstructured grids in netcdf files (#11900) 2019-07-02 15:56:18 -04:00
ktsai7
229ba28ad5 Add llvm as deps when static analyzer is enabled (#11888)
* dep llvm if static analyzer
dep caliper if caliper

* fix typo

* adding variants for toggles
2019-07-02 11:45:13 -06:00
Toyohisa Kameyama
f1592e339d portcullis package: remove -m64 on aarch64. (#11905)
GCC on aarch64 dose not support -m64. This patch removes the -m64
flag if target is aarch64.
2019-07-02 10:42:06 -07:00
Phil Carns
2709f948fa opa-psm2 package: correct installation prefixes and add 11.2.77 (#11658)
This PR corrects a problem with the opa-psm2 package. It was
installing headers into <prefix>/usr/include and libraries into
<prefix>/usr/lib instead of <prefix>/include and <prefix>/lib.
The extra level of usr/ subdirectories causes dependent packages
like libfabric to fail to build.
2019-07-02 10:34:58 -07:00
Mark Olesen
5fd3b5acda openfoam: rename openfoam-com to openfoam (#11876)
The original packaging, with openfoam as a virtual and with
openfoam-com, openfoam-org and openfoam-extend as
providers, adds an obfuscation layer without any benefit.

- Rename `openfoam-com` to `openfoam`, and remove the 
  `openfoam` virtual package.
2019-07-01 22:54:36 -07:00
Todd Gamblin
515b4045e9 specs: remove parse_anonymous_spec(); use Spec() instead
- `parse_anonymous_spec()` is a vestige of the days when Spack didn't
  support nameless specs.  We don't need it anymore because now we can
  write Spec() for a spec that will match anything, and satisfies()
  semantics work properly for anonymous specs.

- Delete `parse_anonymous_spec()` and replace its uses with simple calls
  to the Spec() constructor.

- make then handling of when='...' specs in directives more consistent.

- clean up Spec.__contains__()

- refactor directives and tests slightly to accommodate the change.
2019-07-01 18:45:44 -07:00
Todd Gamblin
12b9fad7b6 cray: use the cle-release file to determine CNL version
- CNL OS previously used the *Cray PE* version to determine the OS
  version.  Cray does not synchronize PE and CLE releases; you can run
  CLE7 with PrgEnv 6 (and NERSC currently does).

- Fix Spack's OS detection by using the cle-release file to detect the OS
  version.  This file is updated with every CLE OS release.

- Add some tests for our parsing logic
2019-07-01 18:36:02 -07:00
Milton Woods
1ad9f6268b New packages: libmo-unpack and py-mo-pack (#11895)
* libmo-unpack: package to encode and decode UM fields
* py-mo-pack: python interface for libmo-unpack
2019-07-01 18:24:45 -07:00
Justin S
781a115656 New package: r-gwmodel (starting at 2.0-9) (#11887) 2019-07-01 18:14:29 -07:00
Justin S
196886e708 New package: r-spatialreg (starting at 1.1-3) (#11886) 2019-07-01 18:13:06 -07:00
Justin S
a7cd7fdcd4 New package: r-spdata (starting at version 0.3.0) (#11883) 2019-07-01 18:11:16 -07:00
Milton Woods
711a80832a New package: py-nc-time-axis (#11898) 2019-07-01 18:07:57 -07:00
Glenn Johnson
b66c296562 py-markdown package: update dependency version range (#11908)
The python dependency specifies that 2.7 or 2.8 are allowed when in
fact it should specify a version range (anything between 2.7 and 2.8,
inclusive).
2019-07-01 17:52:41 -07:00
Sameer Shende
4d0926464c mpich: wrapperrpath variant allows disablement of RPATH usage in mpicc
Added a wrapperrpath variant to mpich that defaults to `True`.

Users can set this to `False` (e.g., spack install mpich~wrapperrpath) to
disable the wrapper RPATHs.  This makes it easier to replacing an MPICH
installation in a container with an MPICH for the host system,
e.g., Cray MPICH with Shifter on Cori, Intel MPI, MVAPICH2, etc.

Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
2019-07-01 15:09:40 -07:00
Toyohisa Kameyama
54de03548b planck-likelihood: remove -m64 on ARM (#11902) 2019-07-01 10:48:45 -07:00
Axel Huebl
1b3c11e793 ADIOS2: v2.4.0 (#11904)
Add the latest release of ADIOS2.
2019-07-01 13:47:31 -04:00
Milton Woods
6856972745 tk: avoid search for X headers and libraries (#11892) 2019-07-01 13:47:04 -04:00
t-karatsu
8ca5c3685a camellia: fix hdf5 dependency (#11810)
* camellia: fix hdf5 dependency

* camellia: Add comment
2019-07-01 13:40:53 -04:00
Justin S
b517be2c68 r-spacetime: new package at 1.2-2 (#11885) 2019-07-01 13:39:15 -04:00
Patrick Gartung
9bf9c0cec3
buildcache: add replace_prefix_bin function to deal with hard coded paths in libraries and executables. (#11882) 2019-07-01 10:16:23 -05:00
Milton Woods
0f703b7e81 py-netcdf4: depend on hdf5+hl (#11893) 2019-07-01 15:38:35 +02:00
Todd Gamblin
f51c4c5e77
readme: make list of links even tighter. 2019-06-30 23:15:37 -07:00
Todd Gamblin
af39390578 README: Tighten up text, mention the Code of Conduct in the README. 2019-06-30 23:08:33 -07:00
Todd Gamblin
9c37a4c948 meta: move CODE_OF_CONDUCT.md and CONTRIBUTING.md to .github
- Trying to reduce the number of top-level files in Spack.

- CODE_OF_CONDUCT.md can be referenced from the README.

- CONTRIBUTING.md is only used to display a message on pull requests, and
  it still does that when in .github.
2019-06-30 23:08:33 -07:00
Dr Owain Kenway
441401bb8b llvm: don't build CppBackend for flang versions of llvm (#11841)
The version of LLVM used by flang is new enough that CppBackend doesn't exist.  Unfortunately, `flang-xxxxxxxx` is seen as < `3.9.0` by the version check.  

* add a special case for `flang` versions.
2019-06-30 17:04:29 -07:00
Oliver Breitwieser
cf76a143a2 libtomlc99: Update version
The PR for shared libraries has been merged upstream -> add new version.
2019-06-30 16:02:08 -07:00
Todd Gamblin
4189640ee8 style: remove unnecessary NOQA exceptions 2019-06-30 16:01:23 -07:00
Todd Gamblin
600f3c1104 setup-env.sh: send cd output to /dev/null when it affects Spack
- We've seen this a few times now where users have set up `cd` to echo
  the new directory, and it screws up `setup-env.sh`

- In the past we've said this is user error.

- Here, we just fix it by sending `cd` output to /dev/null where needed.
  - this works in bash, zsh, and dash
2019-06-29 19:01:44 -07:00
Peter Scheibel
9c16b4a7f6 Allow uninstalling missing packages (#11874)
Remove package access from directory_layout; add regression test to ensure
that specs can be uninstalled without a package being known
2019-06-29 16:04:15 -07:00
Christoph Junghans
7f2e364fa1
legion: added recent releases (#11889) 2019-06-29 07:12:24 -06:00
Justin S
7f6266eef6 r-intervals: new package at 0.15.1 (#11884) 2019-06-28 19:42:55 -04:00
Mark W. Krentel
8aa8b50f91 docs: add example for an external module in packages.yaml
Add an example of a 'modules:' entry for an external package in
packages.yaml.  The 'External Packages' section of 'Build
Customization' mentions 'paths:' and 'modules:' and gives an
example of paths, but not modules.
2019-06-28 11:59:10 -07:00
Carson Woods
5873beb83f qthreads package: make hwloc dependency optional and add version 1.14 (#11780) 2019-06-28 11:43:06 -07:00
Andreas Baumbach
5e9437866b New package: libtomlc99 (#11811) 2019-06-28 11:16:34 -07:00
Hironori-Yamaji
d5402147f0 bib2xhtml: replace version and change the download url (#11837)
The old version was no longer available for download
2019-06-28 11:03:54 -07:00
Matthieu Dorier
46c1513296 PMDK package: requires ncurses dependency (#11868) 2019-06-28 10:15:06 -07:00
Toyohisa Kameyama
d8f4e0a565 OTF package: use autotools. (#11873) 2019-06-28 10:13:21 -07:00
Toyohisa Kameyama
ae8710fa36 blast-plus package: remove --with-64 on ARM. (#11877)
This configure option is not supported on ARM
2019-06-28 10:11:04 -07:00
Michael Kuhn
ac76e4692f likwid package: Fix build with version 4.3.4 (#11878) 2019-06-28 10:05:38 -07:00
ktsai7
d48226b260 Update package.py (#11872) 2019-06-28 09:39:59 -06:00
Michael Kuhn
d2de78ab00 fenics, llvm: Fix package names being overriden (#11879)
Setting name within the package class allows overriding the package
name, which both packages do using several for loops.

Fixes #11789
2019-06-28 15:59:19 +02:00
Christoph Junghans
d6ecc29e4b
portage: add v1.2.2 (#11842)
* portage: add v1.2.2

* Update package.py

* Update package.py

* Update package.py

* Update package.py

* flake8
2019-06-28 06:39:26 -06:00
Toyohisa Kameyama
ff877a567e Gotcha package: fixed to build on ARM. (#11840)
Apply patch to current version which has not yet been merged in the
upstream package repo.
2019-06-27 15:34:11 -07:00
Derick Huth
81db89b5e7 New packages: Chill and IEGenLib (#11406)
* Add Chill package
* Add IEGenLib package, a dependency of Chill
2019-06-27 13:41:06 -07:00
Michael Kuhn
f5f2b05c5b pkgconf: Add 1.6.1 (#11863) 2019-06-27 22:15:04 +02:00
Christoph Junghans
8a51215c36
bml: add v1.3.1 (#11856) 2019-06-27 10:57:09 -06:00
Hironori-Yamaji
c48b67ccd7 f90cache: change the download url (#11838)
* f90cache: change the download url

* f90cache: added the download url for ver 0.99
2019-06-27 12:55:48 -04:00
Hironori-Yamaji
9ed4db6eea tcsh: change the download url, add version 6.21.00 (#11836)
* tcsh: change the download url, add version 6.21.00

* tcsh: change the download url

* tcsh: Fix checksum for 6.20.00
2019-06-27 12:53:43 -04:00
Mark Olesen
0119812781 Update openfoam (#11866)
* OpenFOAM: rationalize architecture options

- older versions of OpenFOAM had WM_ARCH_OPTION to choose a 32-bit
  build on 64-bit architectures. This is not exactly relevant anymore
  and has now been largely removed from OpenFOAM.

- simultaneously the newest version of OpenFOAM has rationalized the
  handling of special settings for KNL by rolling these into the
  compiler options. We now do the same thing here in spack.

  1. Reuse the internal variable arch_option to convey processor-specific
     optimizations and add these into the C++OPT=... statement.
  2. Drop spack support for configuring a 32-bit build on 64-bit
     hardware.

These changes can also be applied to older OpenFOAM versions, and to
various OpenFOAM forks without issue.

* update openfoam versions. New release 1906, patched 1812 version.
2019-06-27 11:14:33 -05:00
Michael Kuhn
eb00436ec8 font-util: Add missing mkfontdir build dependency (#11865)
Some of the fonts now included in font-util need mkfontdir to build.
2019-06-27 15:53:05 +02:00