Skip to content
Snippets Groups Projects
Commit 7e7f127f authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Oops -fopenmp should go into hash

parent 797bf4bd
No related branches found
No related tags found
No related merge requests found
...@@ -175,9 +175,9 @@ def compile_file(file, ...@@ -175,9 +175,9 @@ def compile_file(file,
*additional_compile_flags, *additional_compile_flags,
_output_flag] _output_flag]
destination_file = f'{file}_{_hash(".".join(command_prefix).encode()).hexdigest()}{_object_file_extension}'
if openmp: if openmp:
command_prefix.append(_output_flag) command_prefix.append(_output_flag)
destination_file = f'{file}_{_hash(".".join(command_prefix).encode()).hexdigest()}{_object_file_extension}'
if not exists(destination_file) or overwrite_destination_file: if not exists(destination_file) or overwrite_destination_file:
command = command_prefix + [destination_file] command = command_prefix + [destination_file]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment