diff options
author | Vicente Bolea <vicente.bolea@kitware.com> | 2024-05-07 16:52:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-07 15:52:20 -0500 |
commit | 33752c2b550899bfac18f04f694a46fd8f148ffd (patch) | |
tree | 7b9a20046945825f7c462131fe99b219ceede874 /var | |
parent | 26759249cafa50edb8c9cb2512fec73299e4924b (diff) | |
download | spack-33752c2b550899bfac18f04f694a46fd8f148ffd.tar.gz spack-33752c2b550899bfac18f04f694a46fd8f148ffd.tar.bz2 spack-33752c2b550899bfac18f04f694a46fd8f148ffd.tar.xz spack-33752c2b550899bfac18f04f694a46fd8f148ffd.zip |
fix(adios2): fix missing stdind include in 2.7 (#43786)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/adios2/2.7-fix-missing-cstdint-include.patch | 24 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/adios2/package.py | 3 |
2 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/adios2/2.7-fix-missing-cstdint-include.patch b/var/spack/repos/builtin/packages/adios2/2.7-fix-missing-cstdint-include.patch new file mode 100644 index 0000000000..6b90d21005 --- /dev/null +++ b/var/spack/repos/builtin/packages/adios2/2.7-fix-missing-cstdint-include.patch @@ -0,0 +1,24 @@ +From abbe0f81d78403a62444b1a76222b9a226fd17c6 Mon Sep 17 00:00:00 2001 +From: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com> +Date: Mon, 22 Apr 2024 20:52:49 -0700 +Subject: [PATCH] fix py11bind stdint dep + +--- + thirdparty/pybind11/pybind11/include/pybind11/pybind11.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/thirdparty/pybind11/pybind11/include/pybind11/pybind11.h b/thirdparty/pybind11/pybind11/include/pybind11/pybind11.h +index fa98f7c18..6992c3d55 100644 +--- a/thirdparty/pybind11/pybind11/include/pybind11/pybind11.h ++++ b/thirdparty/pybind11/pybind11/include/pybind11/pybind11.h +@@ -47,6 +47,7 @@ + #include "detail/class.h" + #include "detail/init.h" + ++#include <cstdint> + #include <memory> + #include <vector> + #include <string> +-- +2.35.3 + diff --git a/var/spack/repos/builtin/packages/adios2/package.py b/var/spack/repos/builtin/packages/adios2/package.py index eaf0ac740f..9285eaa4aa 100644 --- a/var/spack/repos/builtin/packages/adios2/package.py +++ b/var/spack/repos/builtin/packages/adios2/package.py @@ -212,6 +212,9 @@ class Adios2(CMakePackage, CudaPackage, ROCmPackage): # See https://github.com/ornladios/ADIOS2/pull/2714 patch("2.6-fix-gcc10-symbols.patch", when="@2.6.0") + # add missing include <cstdint> + patch("2.7-fix-missing-cstdint-include.patch", when="@2.7") + # Add missing include <memory> # https://github.com/ornladios/adios2/pull/2710 patch( |