py-warpx: needs no py-cmake (#28761)

Since in Spack we pull binaries out of the `warpx` package, we don't
need `py-cmake` to build `py-warpx`.
Generally, `py-cmake` in `pyproject.toml` is just a mean for us to
tell `pip` to make a `cmake` CLI tool available.
This commit is contained in:
Axel Huebl 2022-02-04 02:21:32 -08:00 committed by GitHub
parent 4c04a0c0b7
commit 172ec0e3a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,8 +58,10 @@ class PyWarpx(PythonPackage):
depends_on('py-picmistandard@0.0.16', type=('build', 'run'), when='@21.12')
depends_on('py-picmistandard@0.0.18', type=('build', 'run'), when='@22.01')
depends_on('py-setuptools@42:', type='build')
depends_on('py-cmake@3.15:3', type='build')
depends_on('py-cmake@3.18:3', type='build', when='@22.01:')
# Since we use PYWARPX_LIB_DIR to pull binaries out of the
# 'warpx' spack package, we don't need py-cmake as declared
# depends_on('py-cmake@3.15:3', type='build')
# depends_on('py-cmake@3.18:3', type='build', when='@22.01:')
depends_on('py-wheel', type='build')
depends_on('warpx +lib ~mpi +shared', type=('build', 'link'), when='~mpi')
depends_on('warpx +lib +mpi +shared', type=('build', 'link'), when='+mpi')