Commit graph

22177 commits

Author SHA1 Message Date
Alec Scott
4eb4994472
Update Jasper to 2.0.32 (#24510) 2021-06-24 23:15:17 +00:00
Peter Scheibel
916cdfbb56
Environment modifications: de-prioritize external packages (#23824)
Prior to any Spack build, Spack modifies PATH etc. to help the build
find the dependencies it needs. It also allows any package to define
custom environment modifications (and furthermore a package can
specify environment modifications to apply when it is used as a
dependency). If an external package defines custom environment
modifications that alter PATH, and the external package is in a merged
or system prefix, then that prefix could "override" the Spack-built
packages.

This commit reorders environment modifications so that PrependPath
actions which expose Spack-built packages override PrependPath actions
for custom environment modifications of external packages.

In more detail, the original order of environment modifications is:

* Modules
* Compiler flag variables
* PATH, CMAKE_PREFIX_PATH, and PKG_CONFIG_PATH for dependencies
* Custom package.py modifications in the following order:
  * dependencies
  * root

This commit changes the order:

* Modules
* Compiler flag variables
* For each external dependency
  * PATH, CMAKE_PREFIX_PATH, and PKG_CONFIG_PATH modifications
  * Custom modifications
* For each Spack-built dependency
  * PATH, CMAKE_PREFIX_PATH, and PKG_CONFIG_PATH modifications
  * Custom modifications
2021-06-24 16:13:46 -07:00
Scott Wittenburg
d7405ddd39
Pipelines: Set a pipeline type variable (#24505)
Spack pipelines need to take specific actions internally that depend
on whether the pipeline is being run on a PR to spack or a merge to
the develop branch.  Pipelines can also run in other repositories,
which represents other possible use cases than just the two mentioned
above.  This PR creates a "SPACK_PIPELINE_TYPE" gitlab variable which
is propagated to rebuild jobs, and is also used internally to determine
which pipeline-specific tasks to run.

One goal of the PR is fix an issue where rebuild jobs which failed on
develop pipelines did not properly report the broken full hash to the
"broken-specs-url".
2021-06-24 16:15:19 -06:00
Asher Mancinelli
010b431692
Add Externally Findable section to info command (#24503)
* Add Externally Findable section to info command

* Use comma delimited detection attributes in addition to boolean value

* Unit test externally detectable part of spack info
2021-06-24 22:12:45 +00:00
Alec Scott
e45800126a
abyss: add v2.3.1 (#24408) 2021-06-24 15:01:46 -06:00
Howard Pritchard
7456a0348f
OPENMPI: fixes to enable building of ompi master (#24391)
yes I know this name isn't popular but that's the way it is right now.

master and the upcoming v5.0.x release branch use git submodules.

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2021-06-24 13:55:01 -07:00
Alec Scott
1367cc97c2
bedops: add v2.4.39 (#24411) 2021-06-24 14:46:20 -06:00
Manuela Kuhn
9d0b8b575b
postgresql: fix typo and missing import (#24491) 2021-06-24 11:11:44 -05:00
Jen Herting
8f2f5639c8
[xxhash] added version 0.8.0 (#24492) 2021-06-24 11:11:01 -05:00
Jen Herting
cf38a96b14
New package: py-xxhash (#24493)
* [py-xxhash] created template

* [py-xxhash] working on dependencies

* [py-xxhash] set version for xxhash

* [py-xxhash] Final cleanup

- added homepage
- added description
- removed fixmes
2021-06-24 11:10:24 -05:00
Anton Kozhevnikov
b1009b48b9
sirius: add single precision switch (#24500) 2021-06-24 08:46:28 -06:00
Joseph Schoonover
d3a1da8496
FTObjectLibrary: new package (#24423)
Co-authored-by: Joe Schoonover <joe@fluidnumerics.com>
2021-06-23 22:55:28 -06:00
Massimiliano Culpo
4985215072
Update command to setup tutorial (#24488) 2021-06-23 17:19:20 -07:00
Scott Wittenburg
db403391c8
spack ci: use return codes to signal exit status (#24090) 2021-06-23 17:09:19 -07:00
Jen Herting
3d631377c0
New package: py-mouseinfo (#24245)
* [py-mouseinfo] created template

* [py-mouseinfo] added some dependencies

* [py-mouseinfo] added platform dependent dependency information

* [py-mouseinfo] flake8

* [py-mouseinfo] added python2 dependency and conflict with darwin for missing dependency

* [py-mouseinfo] Final cleanup

- added homepage
- added description
- removed fixmes

* [py-mouseinfo] using pil provider
2021-06-23 15:46:20 -06:00
Olivier Cessenat
387ee5a0b7
gsl: add v2.7 (#24474) 2021-06-23 18:46:16 +02:00
Massimiliano Culpo
1bccd866ae
Fix broken CI for package only PRs, make dateutil not strictly required (#24484)
* Force the Python interpreter with an env variable

This commit forces the Python interpreter with an
environment variable, to ensure that the Python set
by the "setup-python" action is the one being used.

Due to the policy adopted by Spack to prefer python3
over python we may end up picking a Python 3.X
interpreter where Python 2.7 was meant to be used.

* Revert "Update conftest.py (#24473)"

This reverts commit 477c8ce820.

* Make python-dateutil a soft dependency for unit tests

Before #23212 people could clone spack and run
```
spack unit-tests
```
while now this is not possible, since python-dateutil is
a required but not vendored dependency. This change makes
it not a hard requirement, i.e. it will be used if found
in the current interpreter.

* Workaround mypy complaint
2021-06-23 07:56:07 -04:00
Uwe Sauter
97f0c3ccd9
Add dependency on rocm-cmake to various ROCm related packages (#24427) 2021-06-23 11:35:49 +02:00
eugeneswalker
2db858e9c4
filter_compiler_wrappers: include realpath of compiler wrappers (#24456) 2021-06-22 23:37:07 +00:00
loulawrence
4da0561496
Add config option to use urllib to fetch if curl missing (#21398)
* Use Python module urllib to fetch in the case that curl is missing
2021-06-22 13:38:37 -07:00
Peter Scheibel
477c8ce820
Update conftest.py (#24473) 2021-06-22 12:57:35 -07:00
Peter Scheibel
323b47a94e
add version 35.0 of luaposix (#24458) 2021-06-22 12:49:34 -06:00
Massimiliano Culpo
acc11f676d
ASP-based solver: fix provider logic (#24351)
This commit fixes a subtle bug that may occur when
a package is a "possible_provider" of a virtual but
no "provides_virtual" can be deduced. In that case
the cardinality constraint on "provides_virtual"
may arbitrarily assign a package the role of provider
even if the constraints for it to be one are not fulfilled.

The fix reworks the logic around three concepts:
- "possible_provider": a package may provide a virtual if some constraints are met
- "provides_virtual": a package meet the constraints to provide a virtual
- "provider": a package selected to provide a virtual
2021-06-22 11:37:24 -07:00
Massimiliano Culpo
02b92dbf10
ASP-based solver: fix facts for default providers (#24380)
Facts used to compute weights for providers only need
the package name, since the other attributes are computed
as part of the solve.
2021-06-22 11:33:44 -07:00
Ethan Stam
09a6f3533b
z3: set CMAKE_INSTALL_PYTHON_PKG_DIR for +python build (#24470) 2021-06-22 11:20:09 -07:00
Adam J. Stewart
e4c38ba14c
py-cartopy: mark incompatibility with PROJ 8 (#24454) 2021-06-22 11:12:25 -07:00
OliverPerks
d292541edb
sw4lite: fixed to include build targets (#24466) 2021-06-22 13:01:34 -05:00
Thomas Madlener
07fe558509
dd4hep: Updated version checksum due to updated tag (#24469) 2021-06-22 10:49:50 -07:00
snehring
377f031461
subread: updating subread to 2.0.2 (#24468) 2021-06-22 10:33:33 -07:00
Harmen Stoppels
d63566915d
Bump libfuse (#24444) 2021-06-22 10:06:45 -07:00
Adam J. Stewart
11ad6e1a8a
py-pandas: add v1.2.5 (#24464) 2021-06-22 10:05:38 -07:00
Adam J. Stewart
ccece0e197
py-numpy: add v1.21.0 (#24463) 2021-06-22 10:05:22 -07:00
eugeneswalker
65e7e1f969
tau: use filter_compiler_wrappers to take advantage of builtin functionality (#24457) 2021-06-22 12:00:27 -05:00
Adam J. Stewart
b0a915a3b6
py-scipy: add v1.7.0 (#24438) 2021-06-22 11:56:16 -05:00
Erik Schnetter
e3b220f699
Implement CVS fetcher (#23212)
Spack packages can now fetch versions from CVS repositories. Note
this fetch mechanism is unsafe unless using :extssh:. Most public
CVS repositories use an insecure protocol implemented as part of CVS.
2021-06-22 09:51:31 -07:00
Adam J. Stewart
512edfcceb
py-pythran: add new package (#24440) 2021-06-22 07:07:15 -06:00
Vanessasaurus
8e249c03de
adding save of build times on install (#24350)
Here we are adding an install_times.json into the spack install metadata folder.
We record a total, global time, along with the times for each phase. The type
of phase or install start / end is included (e.g., build or fail)

Signed-off-by: vsoch <vsoch@users.noreply.github.com>

Co-authored-by: vsoch <vsoch@users.noreply.github.com>
2021-06-22 03:01:15 -06:00
Adam J. Stewart
726537e01b
py-beniget: add new package (#24439) 2021-06-22 08:50:10 +02:00
Adam J. Stewart
d71a0590b7
py-gast: add v0.4.0 (#24437) 2021-06-22 08:49:38 +02:00
Paul Henning
3039237a0e
hdf5: fix compiler detection in flag_handler (#24451)
The original implementation of `flag_handler` searched the
`self.compiler.cc` string for `clang` or `gcc` in order to add a flag
for those compilers.  This approach fails when using a spack-installed
compiler that was itself built with gcc or clang, as those strings will
appear in the fully-qualified compiler executable paths.  This commit
switches to searching for `%gcc` or `%clang` in `self.spec`.

Co-authored-by: Paul Henning <phenning@lanl.gov>
2021-06-21 23:36:28 -07:00
Howard Pritchard
5e48d2c16f
open mpi: remove preferred for 4.0.5 release (#24433)
the 4.1.1 release has fixes for problems that kept 4.1.0 from
being the default open mpi version to build using spack.

related to #24396

Signed-off-by: Howard Pritchard <hppritcha@gmail.com>
2021-06-21 23:36:09 -07:00
Adam J. Stewart
31e6967c49
MAGMA: add patch to build with CUDA sm_37 (#24442) 2021-06-21 20:18:26 -07:00
Chris White
c9932b2d1e
Axom: Remove blueos check on cuda variant (#24349)
* remove blueos check on cuda variant, fix typo

* restore necessary compiler guard

* remove axom+cuda from testing because it only partially works outside ppc systems
2021-06-22 01:29:18 +00:00
Peter Scheibel
c83f4b01aa
Fetching: git on Mac OS (#24247)
Extend the changes in #24163 to unit tests.
2021-06-21 17:53:12 -07:00
Adam J. Stewart
7b6ca59038
psimd: add new package (#24406) 2021-06-19 08:25:21 -05:00
Adam J. Stewart
62653b9c36
cpuinfo: add new versions (#24402) 2021-06-19 11:05:41 +02:00
Adam J. Stewart
ebcc222181
FP16: add new versions, prevent downloads (#24403) 2021-06-19 11:05:24 +02:00
Adam J. Stewart
9984e61347
pthreadpool: add new versions (#24404) 2021-06-19 11:04:52 +02:00
Adam J. Stewart
76632d6710
FXdiv: add new package (#24405) 2021-06-19 11:04:25 +02:00
snehring
d394e9978e
singularity: add v3.8.0 (#24407) 2021-06-19 10:57:37 +02:00