Skip to content

Commit

Permalink
Fix broken builds due to Fortran_MODULE_DIRECTORY (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryleberre authored Oct 4, 2024
1 parent e9da442 commit 75f5e3b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions toolchain/mfc/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ def configure(self, case: input.MFCInputFile):
install_prefixes = ';'.join([
t.get_install_dirpath(case) for t in self.requires.compute()
])
mod_dirs = f"{HIPFORT.get_install_dirpath(case)}/include/hipfort/amdgcn"

flags: list = self.flags.copy() + [
# Disable CMake warnings intended for developers (us).
Expand Down Expand Up @@ -133,9 +132,6 @@ def configure(self, case: input.MFCInputFile):
# Location prefix to install bin/, lib/, include/, etc.
# See: https://cmake.org/cmake/help/latest/command/install.html.
f"-DCMAKE_INSTALL_PREFIX={install_dirpath}",
# Fortran .mod include directories. Currently used for the HIPFORT
# dependency that has this missing from its config files.
f"-DCMAKE_Fortran_MODULE_DIRECTORY={mod_dirs}",
]

if ARG("verbose"):
Expand Down

0 comments on commit 75f5e3b

Please sign in to comment.