Skip to content

Commit 5b53634

Browse files
committed
Fixes #177
1 parent 25361b5 commit 5b53634

File tree

3 files changed

+1
-22
lines changed

3 files changed

+1
-22
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ scorep is a module that allows tracing of python scripts using [Score-P](https:/
2727
<!-- <small><i><a href='http://ecotrust-canada.github.io/markdown-toc/'>Table of contents generated with markdown-toc</a></i></small> -->
2828

2929
# Install
30-
You need at least Score-P 5.0, build with `--enable-shared` and the gcc compiler plugin.
30+
You need at least Score-P 5.0, build with `--enable-shared`.
3131
Please make sure that `scorep-config` is in your `PATH` variable.
3232

3333
The Score-P community provides an unofficial PPA for Ubuntu LTS systems: https://launchpad.net/~score-p/+archive/ubuntu/releases .

scorep/__main__.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ def scorep_main(argv=None):
2121

2222
keep_files = False
2323
verbose = False
24-
no_default_compiler = False
2524
no_instrumenter = False
2625
if scorep.instrumenter.has_c_instrumenter():
2726
instrumenter_type = "cProfile"
@@ -39,9 +38,6 @@ def scorep_main(argv=None):
3938
keep_files = True
4039
elif elem == "--verbose" or elem == '-v':
4140
verbose = True
42-
elif elem == "--nocompiler":
43-
scorep_config.append(elem)
44-
no_default_compiler = True
4541
elif elem == "--nopython":
4642
no_instrumenter = True
4743
elif elem == "--noinstrumenter":
@@ -68,9 +64,6 @@ def scorep_main(argv=None):
6864
else:
6965
prog_argv.append(elem)
7066

71-
if not no_default_compiler:
72-
scorep_config.append("--compiler")
73-
7467
if len(prog_argv) == 0:
7568
_err_exit("Did not find a script to run")
7669

setup.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,6 @@
1313
'Score-P not build with "--enable-shared". Link mode is:\n{}'.format(link_mode)
1414
)
1515

16-
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!")
21-
if "gcc" in check_compiler:
22-
gcc_plugin = scorep.helper.get_scorep_config("GCC plug-in support:")
23-
if not ("yes" in gcc_plugin):
24-
raise RuntimeError(
25-
"Score-P uses GCC but is not build with GCC Compiler Plugin. "
26-
"GCC plug-in support is:\n{}".format(gcc_plugin)
27-
)
28-
29-
3016
install_requires= ["setuptools>=68.0.0"]
3117

3218
cmodules = []

0 commit comments

Comments
 (0)