Skip to content

Commit

Permalink
Merge pull request #7 from hiker/278_absolute_paths_in_compilation
Browse files Browse the repository at this point in the history
278 absolute paths in compilation
  • Loading branch information
jasonjunweilyu authored Mar 12, 2024
2 parents d0fb208 + 6b8f73b commit 14d0e59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/fab/steps/compile_fortran.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,10 +360,10 @@ def compile_file(analysed_file, flags, output_fpath, mp_common_args):
command.extend([known_compiler.module_folder_flag, str(mp_common_args.config.build_output)])

# files
command.append(analysed_file.fpath.name)
command.append(str(analysed_file.fpath))
command.extend(['-o', str(output_fpath)])

run_command(command, cwd=analysed_file.fpath.parent)
run_command(command)


# todo: move this
Expand Down

0 comments on commit 14d0e59

Please sign in to comment.