[all-commits] [llvm/llvm-project] 0cefae: [compiler-rt] Don't build llvm-lit in RUNTIMES-BUILD

jsji via All-commits all-commits at lists.llvm.org
Wed Sep 2 18:08:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0cefaec2e876182313826bd13d5b9f8f3623622f
      https://github.com/llvm/llvm-project/commit/0cefaec2e876182313826bd13d5b9f8f3623622f
  Author: Jinsong Ji <jji at us.ibm.com>
  Date:   2020-09-03 (Thu, 03 Sep 2020)

  Changed paths:
    M compiler-rt/CMakeLists.txt

  Log Message:
  -----------
  [compiler-rt] Don't build llvm-lit in RUNTIMES-BUILD

With runtimes-build, we lost map config for llvm-lit, so we can NOT run
lit from source dir anymore.
All the subdir target like: ninja check-llvm-codegen-powerpc will fail
too.

We will get some cfg error like:
  File "../lvm-project/llvm/test/lit.cfg.py", line 21, in <module>
    config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)
AttributeError: 'NoneType' object has no attribute 'use_lit_shell'

This is reset of map config in llvm-lit rebuild.
We already have llvm-lit in runtimes-build, so don't build it.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D87002




More information about the All-commits mailing list