Skip to content

Commit

Permalink
Merge pull request #402 from climbfuji/bugfix/ecflow5114_intel
Browse files Browse the repository at this point in the history
Add patch for building ecflow@5.11.4 with Intel oneAPI classic compilers
  • Loading branch information
climbfuji authored Feb 13, 2024
2 parents 03ecae6 + e26911b commit 07db282
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions var/spack/repos/builtin/packages/ecflow/ctsapi_cassert.patch
Original file line number Diff line number Diff line change
@@ -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"
3 changes: 3 additions & 0 deletions var/spack/repos/builtin/packages/ecflow/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 07db282

Please sign in to comment.