We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a011b97 commit a2a4ab4Copy full SHA for a2a4ab4
1 file changed
setup.py
@@ -9,10 +9,13 @@
9
if not ("shared=yes" in link_mode):
10
raise RuntimeError(
11
"Score-P not build with \"--enable-shared\". Link mode is:\n{}".format(link_mode))
12
-gcc_plugin = scorep.helper.get_scorep_config("GCC plug-in support:")
13
-if gcc_plugin is not None and not ("yes" in link_mode):
14
- raise RuntimeError(
15
- "Score-P not build with GCC Compiler Plugin. GCC plug-in support is:\n{}".format(gcc_plugin))
+
+check_compiler = scorep.helper.get_scorep_config("C99 compiler used:")
+if "gcc" in check_compiler:
+ gcc_plugin = scorep.helper.get_scorep_config("GCC plug-in support:")
16
+ if not ("yes" in gcc_plugin):
17
+ raise RuntimeError(
18
+ "Score-P uses GCC but is not build with GCC Compiler Plugin. GCC plug-in support is:\n{}".format(gcc_plugin))
19
20
21
cmodules = []
0 commit comments