Skip to content

Commit

Permalink
More improvements for Cray version regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
hiker committed Feb 6, 2025
1 parent f6006a6 commit a23e119
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/fab/tools/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ class Craycc(CCompiler):
def __init__(self, name: str = "craycc-cc", exec_name: str = "cc"):
super().__init__(name, exec_name, suite="cray", mpi=True,
openmp_flag="-homp",
version_regex=r"Cray [Cc][^\d]* (\d[\d\.]+\d)$")
version_regex=r"Cray [Cc][^\d]* (\d[\d\.]+\d)")


# ============================================================================
Expand All @@ -536,4 +536,4 @@ def __init__(self, name: str = "crayftn-ftn", exec_name: str = "ftn"):
openmp_flag="-homp",
syntax_only_flag="-syntax-only",
version_regex=(r"Cray Fortran : Version "
r"(\d[\d\.]+\d)$"))
r"(\d[\d\.]+\d)"))

0 comments on commit a23e119

Please sign in to comment.