From 5d88f439f34108b9b474dd495139e9c0b60c7336 Mon Sep 17 00:00:00 2001 From: Sergey Kosukhin Date: Fri, 16 Apr 2021 17:11:57 +0200 Subject: claw: bugfix for Cray compiler (#23027) --- var/spack/repos/builtin/packages/claw/package.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/claw/package.py b/var/spack/repos/builtin/packages/claw/package.py index 5356a89535..753cadb439 100644 --- a/var/spack/repos/builtin/packages/claw/package.py +++ b/var/spack/repos/builtin/packages/claw/package.py @@ -34,10 +34,18 @@ class Claw(CMakePackage): depends_on('java@7:', when="@1.1.0:1.2.3") depends_on('libxml2') + # Enable parsing of source files with calls to TRACEBACKQQ from the Intel + # Fortran run-time library: patch('https://github.com/claw-project/claw-compiler/commit/e9fe6dbd291454ce34dd58f21d102f7f1bdff874.patch', sha256='44a3e17bf6e972db9760fc50bc0948309ee441dab1cdb11816ba675de0138549', when='@:2.0.2%intel') + # Fix the dependency preprocessing for compilers that cannot use + # redirection > to save file (cce is currently the only known case): + patch('https://github.com/claw-project/claw-compiler/commit/4d8bc7a794af3651b8b61501388fc00096b23a85.patch', + sha256='0a55110c67d7755741e1c86c2f71341286e7502a81ac29958ce80273e87bc8e1', + when='@2.0.2%cce') + # Cache ANT dependencies in the stage directory. # Otherwise, they are cached to the user's home directory. patch('ivy_local_cache.patch') -- cgit v1.2.3-60-g2f50