diff --git a/toolchain/mfc/build.py b/toolchain/mfc/build.py index 2e44fe9ec..28a5fb9d5 100644 --- a/toolchain/mfc/build.py +++ b/toolchain/mfc/build.py @@ -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). @@ -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"):