[umpire] Fix missing header (#24198)
This commit is contained in:
parent
92be358582
commit
d0fdbc1ab2
2 changed files with 13 additions and 0 deletions
|
@ -0,0 +1,12 @@
|
|||
diff --git a/src/umpire/util/allocation_statistics.cpp b/src/umpire/util/allocation_statistics.cpp
|
||||
index 597ae61f..0c3f7865 100644
|
||||
--- a/src/umpire/util/allocation_statistics.cpp
|
||||
+++ b/src/umpire/util/allocation_statistics.cpp
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "umpire/util/allocation_statistics.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
+#include <limits>
|
||||
|
||||
namespace umpire {
|
||||
namespace util {
|
|
@ -48,6 +48,7 @@ class Umpire(CMakePackage, CudaPackage, ROCmPackage):
|
|||
|
||||
patch('camp_target_umpire_3.0.0.patch', when='@3.0.0')
|
||||
patch('cmake_version_check.patch', when='@4.1')
|
||||
patch('missing_header_for_numeric_limits.patch', when='@4.1:5.0.1')
|
||||
|
||||
variant('fortran', default=False, description='Build C/Fortran API')
|
||||
variant('c', default=True, description='Build C API')
|
||||
|
|
Loading…
Reference in a new issue