summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSergey Kosukhin <sergey.kosukhin@mpimet.mpg.de>2022-08-27 10:29:49 +0200
committerGitHub <noreply@github.com>2022-08-27 02:29:49 -0600
commit215379cc272cc091cd62ea35a492421a4bdcae31 (patch)
tree8db52865f7f11a6e1e860e257a279228fd1eb398 /var
parenta7cc58d42c8f3add5e5596688cdcee17808a16d4 (diff)
downloadspack-215379cc272cc091cd62ea35a492421a4bdcae31.tar.gz
spack-215379cc272cc091cd62ea35a492421a4bdcae31.tar.bz2
spack-215379cc272cc091cd62ea35a492421a4bdcae31.tar.xz
spack-215379cc272cc091cd62ea35a492421a4bdcae31.zip
libxml2: add new versions (#32394)
* libxml2: add new versions * libxml2: apply patch preventing SIGFPE
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libxml2/package.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libxml2/package.py b/var/spack/repos/builtin/packages/libxml2/package.py
index 7825a84722..548b96ccb5 100644
--- a/var/spack/repos/builtin/packages/libxml2/package.py
+++ b/var/spack/repos/builtin/packages/libxml2/package.py
@@ -23,6 +23,8 @@ class Libxml2(AutotoolsPackage):
return url.format(version.up_to(2), version)
return "http://xmlsoft.org/sources/libxml2-{0}.tar.gz".format(version)
+ version("2.10.1", sha256="21a9e13cc7c4717a6c36268d0924f92c3f67a1ece6b7ff9d588958a6db9fb9d8")
+ version("2.9.14", sha256="60d74a257d1ccec0475e749cba2f21559e48139efba6ff28224357c7c798dfee")
version("2.9.13", sha256="276130602d12fe484ecc03447ee5e759d0465558fbc9d6bd144e3745306ebf0e")
version("2.9.12", sha256="c8d6681e38c56f172892c85ddc0852e1fd4b53b4209e7f4ebf17f7e2eae71d92")
version("2.9.11", sha256="886f696d5d5b45d780b2880645edf9e0c62a4fd6841b853e824ada4e02b4d331")
@@ -60,6 +62,14 @@ class Libxml2(AutotoolsPackage):
patch("nvhpc-configure.patch", when="%nvhpc")
patch("nvhpc-elfgcchack.patch", when="%nvhpc")
+ # Use NAN/INFINITY if available to avoid SIGFPE
+ # See https://gitlab.gnome.org/GNOME/libxml2/-/merge_requests/186
+ patch(
+ "https://gitlab.gnome.org/GNOME/libxml2/-/commit/c9925454fd384a17c8c03d358c6778a552e9287b.patch",
+ sha256="3e06d42596b105839648070a5921157fe284b932289ffdbfa304ddc3457e5637",
+ when="@2.9.11:2.9.14",
+ )
+
@property
def command(self):
return Executable(self.prefix.bin.join("xml2-config"))