[all-commits] [llvm/llvm-project] 6f6931: [runtimes] Allow passing Lit parameters through CMake

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu Jul 9 09:45:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f69318c7248275b509ecf0f88eb2ba725aaeb82
      https://github.com/llvm/llvm-project/commit/6f69318c7248275b509ecf0f88eb2ba725aaeb82
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-07-09 (Thu, 09 Jul 2020)

  Changed paths:
    M libcxx/CMakeLists.txt
    M libcxx/cmake/caches/Generic-cxx03.cmake
    M libcxx/cmake/caches/Generic-cxx11.cmake
    M libcxx/cmake/caches/Generic-cxx14.cmake
    M libcxx/cmake/caches/Generic-cxx17.cmake
    M libcxx/cmake/caches/Generic-cxx2a.cmake
    M libcxx/test/CMakeLists.txt
    M libcxxabi/CMakeLists.txt
    M libcxxabi/test/CMakeLists.txt

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list