summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2023-08-09 15:22:58 +0200
committerGitHub <noreply@github.com>2023-08-09 09:22:58 -0400
commite51748ee8f89e0d3db4e426e3d04157129a45622 (patch)
tree52b1ae53faadc872e8f51ab5950e19404cc158c3 /lib
parentf9457fa80ba51d14610df8b57a6b5a514d6bb6ff (diff)
downloadspack-e51748ee8f89e0d3db4e426e3d04157129a45622.tar.gz
spack-e51748ee8f89e0d3db4e426e3d04157129a45622.tar.bz2
spack-e51748ee8f89e0d3db4e426e3d04157129a45622.tar.xz
spack-e51748ee8f89e0d3db4e426e3d04157129a45622.zip
zlib-api: new virtual with zlib/zlib-ng as providers (#37372)
Introduces a new virtual zlib-api, which replaces zlib in most packages. This allows users to switch to zlib-ng by default for better performance.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/packaging_guide.rst2
-rw-r--r--lib/spack/spack/test/data/unparse/llvm.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/docs/packaging_guide.rst b/lib/spack/docs/packaging_guide.rst
index fe1935cfb5..4121218955 100644
--- a/lib/spack/docs/packaging_guide.rst
+++ b/lib/spack/docs/packaging_guide.rst
@@ -2243,7 +2243,7 @@ looks like this:
url = "http://www.openssl.org/source/openssl-1.0.1h.tar.gz"
version("1.0.1h", md5="8d6d684a9430d5cc98a62a5d8fbda8cf")
- depends_on("zlib")
+ depends_on("zlib-api")
parallel = False
diff --git a/lib/spack/spack/test/data/unparse/llvm.txt b/lib/spack/spack/test/data/unparse/llvm.txt
index f16fd9cc47..834ab2dc92 100644
--- a/lib/spack/spack/test/data/unparse/llvm.txt
+++ b/lib/spack/spack/test/data/unparse/llvm.txt
@@ -235,7 +235,7 @@ class Llvm(CMakePackage, CudaPackage):
depends_on("libffi", when="+cuda") # libomptarget
# llvm-config --system-libs libraries.
- depends_on("zlib")
+ depends_on("zlib-api")
# lldb dependencies
depends_on("swig", when="+lldb")