Skip to content

Commit

Permalink
tc_build: kernel: Disable CONFIG_FORTIFY_KUNIT_TEST for ARCH=hexagon …
Browse files Browse the repository at this point in the history
…allmodconfig

This has a massive compile time impact right now.

Signed-off-by: Nathan Chancellor <[email protected]>
  • Loading branch information
nathanchance committed Aug 12, 2024
1 parent 2c8dd97 commit 96d83ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tc_build/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ def build(self):
kconfig_allconfig = NamedTemporaryFile(dir=self.folders.build)

configs_to_disable = ['DRM_WERROR', 'WERROR']
# https://github.com/llvm/llvm-project/issues/80185#issuecomment-2187294487
if self.make_variables['ARCH'] == 'hexagon' and self.toolchain_version >= (19, 0, 0):
configs_to_disable.append('FORTIFY_KUNIT_TEST')
kconfig_allconfig_text = ''.join(f"CONFIG_{val}=n\n"
for val in configs_to_disable).encode('utf-8')

Expand Down

0 comments on commit 96d83ab

Please sign in to comment.