Skip to content

Commit 0191f68

Browse files
henryleberreokBrian
authored andcommitted
Fix broken builds due to Fortran_MODULE_DIRECTORY (#640)
1 parent 61c8a7e commit 0191f68

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

toolchain/mfc/build.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ def configure(self, case: input.MFCInputFile):
103103
install_prefixes = ';'.join([
104104
t.get_install_dirpath(case) for t in self.requires.compute()
105105
])
106-
mod_dirs = f"{HIPFORT.get_install_dirpath(case)}/include/hipfort/amdgcn"
107106

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

142138
if ARG("verbose"):

0 commit comments

Comments
 (0)