[llvm] 0c9f750 - [gn build] (manually) port 6c1a9fb174ac3c

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 6 13:50:25 PDT 2020


Author: Nico Weber
Date: 2020-04-06T16:50:12-04:00
New Revision: 0c9f750a132898d2a90382806ce2662321207c98

URL: https://github.com/llvm/llvm-project/commit/0c9f750a132898d2a90382806ce2662321207c98
DIFF: https://github.com/llvm/llvm-project/commit/0c9f750a132898d2a90382806ce2662321207c98.diff

LOG: [gn build] (manually) port 6c1a9fb174ac3c

Added: 
    

Modified: 
    llvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn

Removed: 
    


################################################################################
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 f881b82193ff..ca2ca2412cf4 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",


        


More information about the llvm-commits mailing list