Skip to content

Commit c5ecb98

Browse files
MaximilianAndreasGocht
authored andcommitted
correct C99 detection for Score-P 8 (credits @rtschueter)
1 parent 52ab507 commit c5ecb98

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
)
1515

1616
check_compiler = scorep.helper.get_scorep_config("C99 compiler used:")
17+
if check_compiler is None:
18+
check_compiler = scorep.helper.get_scorep_config("C99 compiler:")
19+
if check_compiler is None:
20+
raise RuntimeError("Can not parse the C99 compiler, aborting!")
1721
if "gcc" in check_compiler:
1822
gcc_plugin = scorep.helper.get_scorep_config("GCC plug-in support:")
1923
if not ("yes" in gcc_plugin):

0 commit comments

Comments
 (0)