diff --git a/llvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn b/llvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn index f881b82193ffc..ca2ca2412cf4b 100644 --- a/llvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn @@ -21,7 +21,8 @@ write_cmake_config("llvm-lit") { # llvm-lit contains a mapping from each lit.cfg.py file to the corresponding # generated llvm.site.cfg.py file, so llvm-lit depends on all the targets to # generate the site.cfg.py file. - config_map = "" + # FIXME: Write relative paths for path()s. + config_map = "def path(p): return p if p else \"\"\n" deps += [ "//clang-tools-extra/test:lit_site_cfg",