From 75f5e3b2d9e210723bc14bc854a91635fe037d27 Mon Sep 17 00:00:00 2001 From: Henry Le Berre Date: Fri, 4 Oct 2024 14:08:34 +0200 Subject: [PATCH] Fix broken builds due to Fortran_MODULE_DIRECTORY (#640) --- toolchain/mfc/build.py | 4 ---- 1 file changed, 4 deletions(-) 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"):