Skip to content

Commit e3ebd0a

Browse files
committed
manually add Henrys build fix
1 parent 689b2e4 commit e3ebd0a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

toolchain/mfc/build.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ 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"
105+
install_prefixes = ';'.join([
106+
t.get_install_dirpath(case) for t in self.requires.compute()
107+
])
106108

107109
flags: list = self.flags.copy() + [
108110
# Disable CMake warnings intended for developers (us).
@@ -133,9 +135,6 @@ def configure(self, case: input.MFCInputFile):
133135
# Location prefix to install bin/, lib/, include/, etc.
134136
# See: https://cmake.org/cmake/help/latest/command/install.html.
135137
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}",
139138
]
140139

141140
if ARG("verbose"):

0 commit comments

Comments
 (0)