Skip to content

Commit

Permalink
fix(adios2): fix missing stdind include in 2.7 (spack#43786)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicentebolea authored and tldahlgren committed May 8, 2024
1 parent 0a90727 commit 50c18b1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
@@ -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

3 changes: 3 additions & 0 deletions var/spack/repos/builtin/packages/adios2/package.py
Expand Up @@ -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(
Expand Down

0 comments on commit 50c18b1

Please sign in to comment.