Modify the setup.py for lit to install the entry point as llvm-lit (instead of lit) since this is the name expected by functions in AddLLVM.cmake.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
This isn't correct, llvm-lit is something else (an llvm specific entry point to lit that knows the object directory). That doesn't belong in the base lit project.
Comment Actions
So what should be done? Should the cmake functions be modified to look for both llvm-lit and lit?
I'm talking of add_lit_target() that is using:
find_program(LIT_COMMAND llvm-lit)
when LLVM_MAIN_SRC_DIR is unset.