@@ -21,7 +21,6 @@ def scorep_main(argv=None):
2121
2222 keep_files = False
2323 verbose = False
24- no_default_threads = False
2524 no_default_compiler = False
2625 no_instrumenter = False
2726 if scorep .instrumenter .has_c_instrumenter ():
@@ -40,9 +39,6 @@ def scorep_main(argv=None):
4039 keep_files = True
4140 elif elem == "--verbose" or elem == '-v' :
4241 verbose = True
43- elif "--thread=" in elem :
44- scorep_config .append (elem )
45- no_default_threads = True
4642 elif elem == "--nocompiler" :
4743 scorep_config .append (elem )
4844 no_default_compiler = True
@@ -54,7 +50,7 @@ def scorep_main(argv=None):
5450 if "SCOREP_IO_POSIX" in os .environ :
5551 print_err ("scorep: Warning: The option '--io=runtime:posix' is deprecated." )
5652 print_err (" Please set the environment variable 'SCOREP_IO_POSIX=true' instead." )
57- else
53+ else :
5854 print_err ("scorep: The option '--io=runtime:posix' is deprecated. " )
5955 print_err (" The environment variable 'SCOREP_IO_POSIX=true' is set and will be used." )
6056 os .environ ["SCOREP_IO_POSIX" ] = "true"
@@ -72,9 +68,6 @@ def scorep_main(argv=None):
7268 else :
7369 prog_argv .append (elem )
7470
75- if not no_default_threads :
76- scorep_config .append ("--thread=pthread" )
77-
7871 if not no_default_compiler :
7972 scorep_config .append ("--compiler" )
8073
0 commit comments