Commit graph

19438 commits

Author SHA1 Message Date
Tom Payerle
362a4bb8b9
Fix template for Rpackage in spack create command (#21776)
The signature for configure_args in the template for new
RPackage packages was incorrect (different than what is
defined and used in lib/spack/spack/build_systems/r.py)

See issue #21774
2021-02-18 22:40:21 +00:00
Massimiliano Culpo
f2e3edf6db
Testing: use spack.store.use_store everywhere (#21656)
Keep spack.store.store and spack.store.db consistent in unit tests

* Remove calls to monkeypatch for spack.store.store and spack.store.db:
  tests that used these called one or the other, which lead to
  inconsistencies (the tests passed regardless but were fragile as a
  result)
* Fixtures making use of monkeypatch with mock_store now use the
  updated use_store function, which sets store.store and store.db
  consistently
* subprocess_context.TestState now transfers the serializes and
  restores spack.store.store (without the monkeypatch changes this
  would have created inconsistencies)
2021-02-18 13:22:49 -08:00
Satish Balay
cbcf8d208b
xsdk: fix @develop build (#21749)
- petsc4py: update @develop build from petsc repo
- omega-h: develop branch is now main branch
2021-02-18 14:41:36 -06:00
Seth R. Johnson
2d917e17d9
flibcpp: Activate SWIG rebuild when +swig (#21767)
This option allows downstream packages to build with SWIG and the flibcpp-exported SWIG interfaces.
2021-02-18 19:12:18 +00:00
Tom Payerle
b448b639e6
Documentation fix: build_system configure_args for #21760 (#21761)
Corrects the signature for configure_args (and therefore configure_vars)
in documentation on RPackage build system to match the code
See issue #21760
2021-02-18 18:08:48 +00:00
Gregory Lee
3364e5550f
patches to apply to gdbm and m4 when using oneapi compiler (#21740) 2021-02-18 09:39:20 -08:00
Sebastian Schmitt
8e3ac8577f
Arbor: rely on spack's compiler wrapper to set architecture (#21758) 2021-02-18 15:02:09 +00:00
ketsubouchi
432625ca26
openrasmol: new package (#21530) 2021-02-18 13:09:38 +01:00
Freifrau von Bleifrei
ed1540efa3
sgpp: use spack compiler instead of default gcc (#21756)
Co-authored-by: Theresa Pollinger <pollinta@ipvs.uni-stuttgart.de>
2021-02-18 11:28:42 +00:00
Mikael Simberg
651c6ea350
hpx: add v1.6.0 (#21757) 2021-02-18 10:42:19 +00:00
Sergey Kosukhin
3273529936
eccodes: add v2.20.0 (#21703) 2021-02-18 11:20:53 +01:00
Tomoyasu Nojiri
93d9bed192
enzo: fix for aarch64 (#21715) 2021-02-18 11:14:18 +01:00
Xavier Delaruelle
54ee955b76
tcl: add v8.6.11 (#21678) 2021-02-18 11:04:38 +01:00
h-denpo
20fd4e35de
dlib: fix dependency on opencv (#21718)
Since a variant (imgcodecs,default=False) has been added to opencv,
+imgcodecs is now required in dlib's opencv dependency.
2021-02-18 11:02:24 +01:00
m-shunji
9771903533
quantum-espresso: fix ldflags for scalapack (#21719) 2021-02-18 11:00:19 +01:00
Harmen Stoppels
1e16fcfd91
cmake: add v3.18.6, v3.19.5 (#21725) 2021-02-18 10:53:05 +01:00
Michael Kuhn
fd85f79e18
osu-micro-benchmarks: add v5.7 (#21729) 2021-02-18 10:48:41 +01:00
Erik Schnetter
7fe131e444
nsimd: add v2.2 (#21743) 2021-02-18 10:33:09 +01:00
holrock
5f6d77f4c4
ruby: add v2.7.2, v3.0.0 (#21745) 2021-02-18 10:17:41 +01:00
Desmond Orton
94e2eee778
sratoolkit: add v2.10.9 (#21746) 2021-02-18 10:17:12 +01:00
darmac
76304595d5
ctpl: add dependency on gettext (#21747) 2021-02-18 10:07:38 +01:00
Adam J. Stewart
7ac156fb12
py-scipy: add v1.6.1 (#21748) 2021-02-18 10:06:44 +01:00
darmac
598f0c89fd
vcsh: add bin as a directory (#21750) 2021-02-18 10:06:03 +01:00
ketsubouchi
b3e5df1049
cbflib: new package (#21531) 2021-02-18 10:05:32 +01:00
darmac
de68646c6e
openfst: fix conflicts version for gcc (#21753) 2021-02-18 10:01:43 +01:00
Todd Gamblin
7d586234ee
bugfix: relax racy test in fg/bg output (#21755)
Since signals are fundamentally racy, We can't bound the amount of time
that the `test_foreground_background_output` test will take to get to
'on', we can only observe that it transitions to 'on'. So instead of
using an arbitrary limit, just adjust the test to allow either 'on' or
'off' followed by 'on'.

This should eliminate the spurious errors we see in CI.
2021-02-18 08:33:08 +00:00
Massimiliano Culpo
8aaf31b166
Avoid spurious warning from clingo (#21731)
There's a spurious warning that occurs whenever a spec being concretized 
does not depend on a virtual provider under any possible configuration.
2021-02-18 08:13:50 +01:00
emai-imcs
acc7169fdc
py-fenics-ufl: inclusion of version 2016.2.0 (#21738)
* fix to pre 2019.1.0 version and support for 2016.1.0 added

* added 2016.2.0 version for retro dolfin support
2021-02-17 21:44:48 -06:00
emai-imcs
0082750f86
fix to compiliation error with fenics in pre 2019 versions and support for 2016.2.0 version of fiat added (#21708) 2021-02-17 21:44:12 -06:00
emai-imcs
827262df89
update to dijisto to support 2019.1.0 version (#21707) 2021-02-17 21:42:44 -06:00
eugeneswalker
1dc161095a
openblas@0.13.3 cannot be built with gcc<10.2 on power (#21711) 2021-02-17 18:34:54 -08:00
Tomoki, Karatsu
1a32aaa10e
py-numpydoc: Add new version, and care for old version. (#21713) 2021-02-18 00:36:26 +00:00
Adam J. Stewart
d04f9a1ae3
apple-clang: add correct path to compiler wrappers (#21662)
Follow-up to #17110

### Before
```bash
CC=/Users/Adam/spack/lib/spack/env/clang/clang; export CC
SPACK_CC=/usr/bin/clang; export SPACK_CC
PATH=...:/Users/Adam/spack/lib/spack/env/apple-clang:/Users/Adam/spack/lib/spack/env/case-insensitive:/Users/Adam/spack/lib/spack/env:...; export PATH
```

### After
```bash
CC=/Users/Adam/spack/lib/spack/env/clang/clang; export CC
SPACK_CC=/usr/bin/clang; export SPACK_CC
PATH=...:/Users/Adam/spack/lib/spack/env/clang:/Users/Adam/spack/lib/spack/env/case-insensitive:/Users/Adam/spack/lib/spack/env:...; export PATH
```

`CC` and `SPACK_CC` were being set correctly, but `PATH` was using the name of the compiler `apple-clang` instead of `clang`. For most packages, since `CC` was set correctly, nothing broke. But for packages using `Makefiles` that set `CC` based on `which clang`, it was using the system compilers instead of the compiler wrappers. Discovered when working on `py-xgboost@0.90`.

An alternative fix would be to copy the symlinks in `env/clang` to `env/apple-clang`. Let me know if you think there's a better way to do this, or to test this.
2021-02-17 15:54:50 -08:00
Glenn Johnson
c11c5df738
Update the deps for the r package (#21654)
The dependencies needed a little clean up as several dependencies are
only needed for the +X variant. This PR consolidates all of the
dependencies that actually require +X and explicitly disables them when
~X to prevent accidentally picking up system libraries.

- modified the description of the +X variant
- arranges dependencies to group them
- added missing dependency on xz
- removed unneeded dependencies
	- freetype
	- glib
- set dependencies when +X
	- cairo
	- jpeg
	- libpng
	- libtiff
	- tcl/tk
- R uses tcl/tk together, so only tk needs to be depended on, and only
  when +X
- moved tcl/tk resources to with/without-x test
- added explicit with/without settings for
	- cairo
	- jpeglib
	- libpng
	- libtiff
	- tcltk
2021-02-17 17:39:05 -06:00
Andrew W Elble
151003a469
openssl: 1.1.1j (#21726) 2021-02-17 11:14:53 -06:00
Evan Bollig
d429265d8b
Bugfix for x86_64 skylake and other archs where SIMD features are disabled by Fall back option. (#21727) 2021-02-17 08:09:34 -08:00
Tomoki, Karatsu
3e72a12bfd
py-llvmlite: Specified llvm version for aarch64. (#21695)
* py-llvmlite: Specified llvm version for aarch64.

* Add ~flang variant to llvm dependencies.
2021-02-17 10:07:05 -05:00
Massimiliano Culpo
ee1b0b9fb9
Delete unused "mutable_mock_store" fixture (#21632)
The fixture was introduced in #19690 maybe accidentally.

It's not used in unit tests, and though it should be
mutable it seems an exact copy of it's immutable version.
2021-02-16 17:26:16 -08:00
Scott Wittenburg
5b0507cc65
Pipelines: Temporary buildcache storage (#21474)
Before this change, in pipeline environments where runners do not have access
to persistent shared file-system storage, the only way to pass buildcaches to
dependents in later stages was by using the "enable-artifacts-buildcache" flag
in the gitlab-ci section of the spack.yaml.  This change supports a second
mechanism, named "temporary-storage-url-prefix", which can be provided instead
of the "enable-artifacts-buildcache" feature, but the two cannot be used at the
same time.  If this prefix is provided (only "file://" and "s3://" urls are
supported), the gitlab "CI_PIPELINE_ID" will be appended to it to create a url
for a mirror where pipeline jobs will write buildcache entries for use by jobs
in subsequent stages.  If this prefix is provided, a cleanup job will be
generated to run after all the rebuild jobs have finished that will delete the
contents of the temporary mirror.  To support this behavior a new mirror
sub-command has been added: "spack mirror destroy" which can take either a
mirror name or url.

This change also fixes a bug in generation of "needs" list for each job.  Each
jobs "needs" list is supposed to only contain direct dependencies for scheduling
purposes, unless "enable-artifacts-buildcache" is specified.  Only in that case
are the needs lists supposed to contain all transitive dependencies.  This
changes fixes a bug that caused the needs lists to always contain all transitive
dependencies, regardless of whether or not "enable-artifacts-buildcache" was
specified.
2021-02-16 18:21:18 -07:00
ketsubouchi
1fe51ffe18
povray: add smoke test (#21667) 2021-02-16 22:54:20 +00:00
Andrew W Elble
aed52d7e79
py-typing: new version, avoid issues with newer versions of python (#21684)
* py-typing: new version, avoid issues with newer versions of python

https://pypi.org/project/typing/

"For package maintainers, it is preferred to use
typing;python_version<"3.5" if your package requires it to support
earlier Python versions."

* update conflict version / more message detail

* change the depends_on, leave a comment suggesting correct usage
2021-02-16 20:17:22 +00:00
Ryan S. Elliott
67874420c7
bump openkim-models to 2021.01.28 (#21637) 2021-02-16 11:01:06 -08:00
Chuck Atkins
2870cc4c92
Add RHEL8 Universal Base Image with platform-python to CI unit tests (#21655) 2021-02-16 13:49:05 -05:00
Michael Kuhn
c8406bd303
enzo: new package (#21634) 2021-02-16 10:42:01 -08:00
Andrew W Elble
0107d71b93
py-horovod: new versions (#21681)
* py-horovod: new versions

* 0.21.3

* dep changes

* fixes
2021-02-16 18:40:53 +00:00
Martin Pokorny
95ea54103f
Remove minimum version for cfitsio dependency (#21630)
The actual, documented minimum version of the cfitsio dependency,
v3.181, is now neither available for (easy) download from NASA, nor as
a Spack package. No upper bound on version number exists (at this time).
2021-02-16 10:17:16 -08:00
Sergey Kosukhin
7538444a03
NAG compiler: disable forcing RPATH/RUNPATH (#21701) 2021-02-16 18:31:51 +01:00
Harmen Stoppels
145a435100
Add hfp as a maintainer (#21671) 2021-02-16 11:23:01 -06:00
Scott Wittenburg
428f831899
Pipelines: DAG Pruning (#20435)
Pipelines: DAG pruning

During the pipeline generation staging process we check each spec against all configured mirrors to determine whether it is up to date on any of the mirrors.  By default, and with the --prune-dag argument to "spack ci generate", any spec already up to date on at least one remote mirror is omitted from the generated pipeline.  To generate jobs for up to date specs instead of omitting them, use the --no-prune-dag argument.  To speed up the pipeline generation process, pass the --check-index-only argument.  This will cause spack to check only remote buildcache indices and avoid directly fetching any spec.yaml files from mirrors.  The drawback is that if the remote buildcache index is out of date, spec rebuild jobs may be scheduled unnecessarily.

This change removes the final-stage-rebuild-index block from gitlab-ci section of spack.yaml.  Now rebuilding the buildcache index of the mirror specified in the spack.yaml is the default, unless "rebuild-index: False" is set.  Spack assigns the generated rebuild-index job runner attributes from an optional new "service-job-attributes" block, which is also used as the source of runner attributes for another generated non-build job, a no-op job, which spack generates to avoid gitlab errors when DAG pruning results in empty pipelines.
2021-02-16 09:12:37 -07:00
Glenn Johnson
60ee4199f5
Add manual_download attribute to packages (#21687)
Add `manual_download = True` to packages that need to do manual
downloads but do not have the `manual_download attribute set. This
provides a message when installing these packages rather than a generic
fetch error.
2021-02-16 17:10:19 +01:00