Skip to content

Commit

Permalink
Fixed small error that would prevent nested compiler wrappers from be…
Browse files Browse the repository at this point in the history
…ing used.
  • Loading branch information
hiker committed Aug 21, 2024
1 parent 420fa5e commit 07a50a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/fab/tools/compiler_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def compile_file(self, input_file: Path,
self._compiler.change_exec_name(self.exec_name)
if add_flags is None:
add_flags = []
if isinstance(self._compiler, FortranCompiler):
if self._compiler.category is Category.FORTRAN_COMPILER:
self._compiler.compile_file(input_file, output_file, openmp=openmp,
add_flags=self.flags + add_flags,
syntax_only=syntax_only,
Expand Down

0 comments on commit 07a50a6

Please sign in to comment.