HomePhabricator

[runtimes] Allow passing Lit parameters through CMake

Authored by ldionne on Jul 9 2020, 8:54 AM.

Description

[runtimes] Allow passing Lit parameters through CMake

This allows passing parameters to the test suites without using
LLVM_LIT_ARGS. The problem is that we sometimes want to set some
Lit arguments on the CMake command line, but the Lit parameters in
a CMake cache file. If the only knob to do that is LLVM_LIT_ARGS,
the command-line entry overrides the cache one, and the parameters
set by the cache are ignored.

This fixes a current issue with the build bots that they completely
ignore the 'std' param set by Lit, because other Lit arguments are
provided via LLVM_LIT_ARGS on the CMake command-line.

Details

Committed
ldionneJul 9 2020, 9:45 AM
Parents
rG5ab446cfe550: [compiler-rt] [test] Use the parent process env as base env in tests
Branches
Unknown
Tags
Unknown