Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add patch for building [email protected] with Intel oneAPI classic compilers #402

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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("[email protected]:", 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