Skip to content

Commit 75f5e3b

Browse files
authored
Fix broken builds due to Fortran_MODULE_DIRECTORY (#640)
1 parent e9da442 commit 75f5e3b

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
@@ -102,7 +102,6 @@ def configure(self, case: input.MFCInputFile):
102102
install_prefixes = ';'.join([
103103
t.get_install_dirpath(case) for t in self.requires.compute()
104104
])
105-
mod_dirs = f"{HIPFORT.get_install_dirpath(case)}/include/hipfort/amdgcn"
106105

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

141137
if ARG("verbose"):

0 commit comments

Comments
 (0)