Skip to content

Commit

Permalink
Changed names again.
Browse files Browse the repository at this point in the history
  • Loading branch information
hiker committed Oct 22, 2024
1 parent 0188050 commit 3c569bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions source/fab/tools/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ class Craycc(CCompiler):
:param name: name of this compiler.
:param exec_name: name of the executable.
'''
def __init__(self, name: str = "craycc-cray", exec_name: str = "cc"):
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) ")
Expand All @@ -540,7 +540,7 @@ class Crayftn(FortranCompiler):
:param exec_name: name of the executable.
'''

def __init__(self, name: str = "crayftn-cray", exec_name: str = "ftn"):
def __init__(self, name: str = "crayftn-ftn", exec_name: str = "ftn"):
super().__init__(name, exec_name, suite="cray", mpi=True,
module_folder_flag="-J",
openmp_flag="-homp",
Expand Down
4 changes: 2 additions & 2 deletions tests/unit_tests/tools/test_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ def test_nvfortran_get_version_with_ifort_string():
def test_craycc():
'''Tests the Craycc class.'''
craycc = Craycc()
assert craycc.name == "craycc-cray"
assert craycc.name == "craycc-cc"
assert isinstance(craycc, CCompiler)
assert craycc.category == Category.C_COMPILER
assert craycc.mpi
Expand Down Expand Up @@ -882,7 +882,7 @@ def test_craycc_get_version_with_icc_string():
def test_crayftn():
'''Tests the Crayftn class.'''
crayftn = Crayftn()
assert crayftn.name == "crayftn-cray"
assert crayftn.name == "crayftn-ftn"
assert isinstance(crayftn, FortranCompiler)
assert crayftn.category == Category.FORTRAN_COMPILER
assert crayftn.mpi
Expand Down

0 comments on commit 3c569bd

Please sign in to comment.