claw: bugfix for Cray compiler (#23027)

This commit is contained in:
Sergey Kosukhin 2021-04-16 17:11:57 +02:00 committed by GitHub
parent 06ca7f4f3e
commit 5d88f439f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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')