Commit graph

11582 commits

Author SHA1 Message Date
Massimiliano Culpo
c291866b9a build env: simplify handling of parallel jobs (#11524)
This PR implements several refactors requested in #11373, specifically:

- Config scopes are used to handle builtin defaults, command line overrides 
  and package overrides (`parallel=False`)
- `Package.make_jobs` attribute has been removed; `make_jobs` remains
  as a module-scope variable in the build environment.
- The use of the argument `-j` has been rationalized across commands
  - move '-j'/'--jobs' argument into `spack.cmd.common.arguments`
- Add unit tests to check that setting parallel jobs works as expected
  - add new test to ensure that build job setting is isolated to each build
- Fix packages that used `Package.make_jobs` (i.e. `bazel`)
2019-05-24 11:45:22 -07:00
Massimiliano Culpo
1bd4521f72 Updated lmod (to version 8.1.5) and associated dependencies (#11552)
Lmod version 8.1.5
Lua version 5.3.5
Lua Filesystem 1.7.0.2

Turned tcl to a link dependency so that Lmod's configure can find it.
2019-05-24 12:45:52 -05:00
Adam J. Stewart
6212e0d9b2
Add latest version of py-cython (#11494)
* Add latest version of py-cython

* Fix cython unit tests
2019-05-23 20:01:45 -05:00
Todd Gamblin
ab21b3d194 docs: truncate spack list output in basic usage
`spack list` output is very long and takes up a lot of space in the docs.
Truncate it to just 10 lines and link to the package list page.
2019-05-23 12:40:01 -07:00
Hans Pabst
d6cf3b6718 LIBXSMM 1.12.1 (#11538) 2019-05-23 10:16:32 -05:00
Jon Rood
4c465d2602 Add cppcheck version 1.87. (#11536) 2019-05-22 18:52:48 -05:00
Jon Rood
e57edebb50 Add CMake 3.14.3 and 3.14.4. (#11534) 2019-05-22 15:46:52 -05:00
Omar Padron
a37efefd3d
package vtk - improve gl handling (#11530)
* package vtk - improve gl handling

* package vtk - minor cleanup
2019-05-22 12:04:29 -04:00
Dustin Wheeler
c2e087c411 Fix typo in openmpi@2.1.6 libmpi.so comment. (#11529) 2019-05-22 10:37:33 -05:00
t-karatsu
1e9bb8c512 Add Fujitsu compiler to Spack. (#11287)
* Add Fujitsu compiler to Spack.

* Fixes for flake8

* Chenges location of FCC to subdirectory called case-insensitive

* Add compiler tests for Fujitsu compiler

* Modify the logic of taking compiler version for new version of Fujitsu compiler
2019-05-21 20:31:14 -05:00
Denis Davydov
a973ab4751 dealii: add 9.1.0 (#11527) 2019-05-21 16:23:03 -05:00
Levi Baber
b13665d065 py-htseq: new version (#11525) 2019-05-21 12:08:31 -05:00
Elizabeth Fischer
a45c4ef33d Add version (#10594) 2019-05-21 10:03:50 -04:00
Michael Kuhn
1f828ce5b8 Update scorep and friends (#11523) 2019-05-21 12:28:12 +02:00
Denis Davydov
5d6461b895 dealii: fix symengine constraints (#11517)
disable symengine constraints due to limitations of Spack
2019-05-21 07:38:58 +02:00
Chuck Atkins
a34142ed30
mesa: Patch missing gl symbols in OSMesa (#11518) 2019-05-20 22:41:41 -04:00
Glenn Johnson
d1ea5ba2cd OpenMPI: update behavior for fabrics/schedulers=auto (#11431)
* When fabrics=auto or schedulers=auto, the intent is to defer to the
  OpenMPI configure and let it determine and use what it finds
  available on the system. The current behavior for 'with_or_without'
  in the case of 'auto' explicitly disables all possible values.
  This updates the logic to call 'with_or_without' only when the
  value of fabrics/schedulers is not 'auto'.
* To allow explicitly disabling all fabrics/schedulers, each of these
  variants has added support for 'none' (which is also the default
  value).
* Add a conflict for the loadleveler scheduler for openmpi-3 and
  above as it is no longer a valid configure option.
2019-05-20 17:52:17 -07:00
Adam J. Stewart
e2065fad72 Make flake8 check spack script as well as .py files (#11513)
* Make flake8 check bin/spack
2019-05-20 13:39:25 -07:00
Mario Melara
4d71117080 Get Cray OS version from PrgEnv-cray (#10774)
The regex used for finding the Cray OS version from the PrgEnv-cray
module was not exact and was at times pulling the version from other
PrgEnv modules. This updates the regular expression to be more exact.
2019-05-20 11:06:02 -07:00
Andrew Gaspar
2168c08ac5 Update optional-lite and span-lite to use CMakePackage (#11407)
* Update optional-lite and span-lite to use CMakePackage

These packages only have CMake installs on their most recent versions.
Therefore, we overload all of the CMake stages to fallback to the old
versions (no-op for most, copytree for install), and use CMakePackage on
the new versions.

* Add new string-view-lite version with CMake install support

* Only override phases for old versions of *-lite packages
2019-05-20 13:04:06 -05:00
Adam J. Stewart
7fe0230492
Add py-kmodes package (#11497) 2019-05-19 14:17:30 -05:00
Adam J. Stewart
5b6445e519
Add latest version of joblib (#11495) 2019-05-19 14:17:03 -05:00
Adam J. Stewart
ac358a1b4d
Add latest version of setuptools (#11493) 2019-05-19 14:16:37 -05:00
David Beckingsale
866b9b5d13 Update Umpire package with new versions (#11441)
* Update Umpire package with new versions

* Fix version ordering
2019-05-18 23:04:12 -05:00
Denis Davydov
a66cc59bb0 trilinos: add variant to disable chaco from seacas (#11482)
* trilinos: add variant to disable chaco from seacas

keep it OFF by default due to the presence of the global symbol "divide"
that can lead to symbol clash with other libraries, for example see
https://github.com/dealii/dealii/issues/8170#issuecomment-492700787

* dealii: add conflict statement for adol-c and Trilinos SEACAS Chaco
2019-05-18 23:01:44 -05:00
Mark W. Krentel
e1bb6821aa dyninst: rework the cmake args for version 10.1 and later (#11484)
* dyninst: rework the cmake args for version 10.1 and later

Add a separate when() case for the cmake args for Dyninst 10.1.0 and
later.  The prereq args have changed enough that this makes things
easier going forward.  (My previous commit 26b9369c was inaccurate and
temporary.)

Dyninst 10.1.0 accepts boost 1.70, but earlier dyninst are restricted
to <= 1.69 (not worth back porting every boost change).

Change all the dyninst versions to 3 digits for clarity and
consistency.

* Add version 10.1.0.
2019-05-18 23:00:48 -05:00
Nichols A. Romero
6ba6c84de5 QMCPACK Update May 2019 (#11492)
* Add QMCPACK 3.7.0

* SOA is now the default.

* Add QMCPACK converter based on QE 6.4
2019-05-18 22:57:52 -05:00
Jean-Paul Pelteret
517212b8a3 Add conflicts in deal.II package between SymEngine and Trilinos variants (#11499) 2019-05-18 22:56:56 -05:00
Adam J. Stewart
6b068a855e
Fix typo in spack executable (#11512) 2019-05-18 21:00:46 -05:00
Owen Solberg
92604ed576 intel-tbb: fix patch for old compilers (#11371)
* added patch for intel-tbb@2019.1: with old compilers

* sparately specify when @:2018 and @2019

the reason we can't say @:2019 is that would include @2019.1 where the
patch doesn't work.

* should be possible to list when constraint as @:2019

According to my reading of ["Version ranges" in the Spack
docs](https://spack.readthedocs.io/en/latest/packaging_guide.html#version-ranges),
this should apply to up to `2019` but not `2019.1:`

* @:2019.0 appears to be necessary to specify 2019 but not 2019.1

* specifying 2019.1 2019.2 2019.3 2019.4 separately and explcitly

* flake8 fixes for long lines.

* add comments to explain why so many different patch directives

* remove blank like for flake8

* revert spec %gcc@4.8.0:4.99999 -> %gcc@4.8.0:
2019-05-18 21:00:32 -05:00
George Hartzell
e592262da8 Typos: funciton, woudl, hm,... (#11511) 2019-05-18 11:39:23 -05:00
Mario Melara
9957093e53 Execute modulecmd in bash shell (#11510)
Adds executable=/bin/bash into Popen. We discovered this bug while
working in a csh/tsch environment. By executing with /bin/bash we ensure
that the module command works.
2019-05-18 01:49:19 +02:00
Justin S
c595883195 r-popvar: new package at 1.2.1 (#11490) 2019-05-17 14:45:21 -05:00
Justin S
cc6f822cb1 smof: new package at 2.13.1 (#11502) 2019-05-17 14:44:35 -05:00
Justin S
c7a28ec1d4 r-bglr: new package at 1.0.8 (#11489) 2019-05-17 14:35:38 -05:00
Justin S
719cd6741d r-rrblup: new package at 4.6 (#11488) 2019-05-17 14:34:33 -05:00
Justin S
8c5b41793c r-qtl: new package at 1.44-9 (#11487) 2019-05-17 14:33:42 -05:00
Justin S
c00ed0d942 py-metasv: new package at 0.5.4 (#11476) 2019-05-17 14:33:04 -05:00
Justin S
7a459857e7 py-pybedtools: new package at 0.6.9 (#11475)
* py-pybedtools: new package at 0.6.9

* py-pybedtools: add bedtools2 dep
2019-05-17 14:32:21 -05:00
Justin S
79a0da6098 repeatmodeler: new package at 1.0.11 (#11472) 2019-05-17 14:31:26 -05:00
Sriram Swaminarayan
0557d93080 added branch multisplice to the parsplice package (#11504) 2019-05-17 12:08:40 -06:00
Christoph Junghans
b7f2923607
gasnet: 2019.3.0 (#11503) 2019-05-17 12:02:43 -06:00
Christoph Junghans
2af7688c55
parsplice: needs LAMMPS_EXCEPTIONS (#11500) 2019-05-17 08:57:35 -06:00
Piotr Luszczek
900f8f0806 Add version 2.5.1-alpha1 of MAGMA (#11486) 2019-05-17 08:19:32 -05:00
Todd Gamblin
23c48d94d3
cmake: default to +ownlibs to improve build times (#11483)
- CMake is built *very* frequently, and the number of dependencies it has
  accumulated can take a very long time on some systems.

- Use +ownlibs by default to avoid the build overhead. This won't
  interfere with other packages by introducing conflicting libraries, as
  CMake is nearly always a build dependency.
2019-05-17 08:47:58 +02:00
Jim Galarowicz
c7f23dcd8d OpenSpeedShop/CBTF package updates and fixes (#11470)
This avoids using Boost 1.70.0, fixes library access in OpenSpeedShop
packages, adds new versions, and updates QT dependency constraints
in CBTF and OpenSpeedShop packages

- Constrain Boost dependency to 1.69.0 or earlier to avoid issues
  with 1.70.0 for Open|SpeedShop and CBTF packages
- Update DYNINSTAPI_RT_LIB environment variable to use single library
  from "find_libraries" (which returns a list) in OpenSpeedShop
  packages
  Fixes #11443
- Add version 1.9.3 for CBTF Argo Navis, CBTF Krell, CBTF LANL, and
  CBTF packages
- Add version 2.4.1 for OpenSpeedShop Utils and OpenSpeedShop
  packages
- Update QT dependency to 5.10.0 or greater for QtGraph and CBTF Argo
  Navis packages
2019-05-16 18:19:55 -07:00
Michael Kuhn
e90b4ce6fb CDO package: Fix build with gcc@9 (#11464)
This makes several changes to make CDO work with gcc@9:

- Add version 1.9.7rc2
- Add a patch to make version 1.9.7rc2 build with gcc@9:
- Add a conflict with GCC 9 for earlier versions of CDO

It also adds a pkgconfig build dependency as configure checks for it.
2019-05-16 17:53:38 -07:00
Andrew Gaspar
8675f44d45 Kokkos package: add debug variant (#11469) 2019-05-16 17:35:23 -07:00
Massimiliano Culpo
c03be0d65a Command extensions can import code from modules in root or cmd folder (#11209)
#8612 added command extensions to Spack: a command implemented in a
separate directory. This improves the implementation by allowing
the command to import additional utility code stored within the
established directory structure for commands.

This also:

* Adds tests for command extensions
* Documents command extensions (including the expected directory
  layout)
2019-05-16 17:27:42 -07:00
Chris Green
b9370bf20b Allow command access to dump/pickle_environment from #8476 (#11434)
* Allow command access to dump/pickle_environment from #8476
2019-05-17 09:15:32 +09:00