ecflow: fix compilation with Intel classic compilers (#42622)
This commit is contained in:
parent
0d89083cb5
commit
4d051eb6ff
10
var/spack/repos/builtin/packages/ecflow/ctsapi_cassert.patch
Normal file
10
var/spack/repos/builtin/packages/ecflow/ctsapi_cassert.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- a/Base/src/cts/CtsApi.hpp 2024-02-10 02:32:48.001444742 +0000
|
||||
+++ b/Base/src/cts/CtsApi.hpp 2024-02-10 02:33:09.161119010 +0000
|
||||
@@ -16,6 +16,7 @@
|
||||
//============================================================================
|
||||
#include <string>
|
||||
#include <vector>
|
||||
+#include <cassert>
|
||||
|
||||
#include "CheckPt.hpp"
|
||||
#include "NodeFwd.hpp"
|
@ -68,6 +68,9 @@ class Ecflow(CMakePackage):
|
||||
# Requirement to use the Python3_EXECUTABLE variable
|
||||
depends_on("cmake@3.16:", type="build")
|
||||
|
||||
# https://github.com/JCSDA/spack-stack/issues/1001
|
||||
patch("ctsapi_cassert.patch", when="@5.11.4 %intel@2021")
|
||||
|
||||
@when("@:4.13.0")
|
||||
def patch(self):
|
||||
version = str(self.spec["python"].version[:2])
|
||||
|
Loading…
Reference in New Issue
Block a user