Add cmake test support for LLJITWithThinLTOSummaries to make sure

it's being built and called (and substituted).
This commit is contained in:
Eric Christopher 2020-08-26 11:44:57 -07:00
parent 4c381d496d
commit 8680f960e0
2 changed files with 3 additions and 1 deletions

View File

@ -153,6 +153,7 @@ if(LLVM_BUILD_EXAMPLES)
Kaleidoscope-Ch5
Kaleidoscope-Ch6
Kaleidoscope-Ch7
LLJITWithThinLTOSummaries
)
if (NOT WIN32)
list(APPEND LLVM_TEST_DEPENDS

View File

@ -168,7 +168,8 @@ tools.extend([
ToolSubst('Kaleidoscope-Ch5', unresolved='ignore'),
ToolSubst('Kaleidoscope-Ch6', unresolved='ignore'),
ToolSubst('Kaleidoscope-Ch7', unresolved='ignore'),
ToolSubst('Kaleidoscope-Ch8', unresolved='ignore')])
ToolSubst('Kaleidoscope-Ch8', unresolved='ignore'),
ToolSubst('LLJITWithThinLTOSummaries', unresolved='ignore')])
llvm_config.add_tool_substitutions(tools, config.llvm_tools_dir)