[PATCH] D81002: Fix individual tests with lit when building out of tree

Tim Keith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 09:20:01 PDT 2020


tskeith added a comment.

I applied this to the current LLVM head (`81bf1e29aa`) and got this cmake error (and more) when doing an in-tree build:

  CMake Error at /Users/tsk/llvm/llvm2/llvm/cmake/modules/AddLLVM.cmake:1717 (add_custom_target):
    The target name "check-flang-evaluate-%flang" is reserved or not valid for
    certain CMake features, such as generator expressions, and may result in
    undefined behavior.
  Call Stack (most recent call first):
    /Users/tsk/llvm/llvm2/llvm/cmake/modules/AddLLVM.cmake:1781 (add_lit_target)
    /Users/tsk/llvm/llvm2/flang/test/CMakeLists.txt:35 (add_lit_testsuites)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81002/new/

https://reviews.llvm.org/D81002





More information about the llvm-commits mailing list