[llvm] d897351 - [gn build] Re-run CompletionModelCodegen when input json files change

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 13:58:15 PDT 2020


Author: Nico Weber
Date: 2020-09-28T16:58:00-04:00
New Revision: d89735133582ebca482e94bc2710733a09dfb643

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

LOG: [gn build] Re-run CompletionModelCodegen when input json files change

Added: 
    

Modified: 
    llvm/utils/gn/secondary/clang-tools-extra/clangd/quality/gen_decision_forest.gni

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/clang-tools-extra/clangd/quality/gen_decision_forest.gni b/llvm/utils/gn/secondary/clang-tools-extra/clangd/quality/gen_decision_forest.gni
index 09c7d3e96fff..a75c1f343563 100644
--- a/llvm/utils/gn/secondary/clang-tools-extra/clangd/quality/gen_decision_forest.gni
+++ b/llvm/utils/gn/secondary/clang-tools-extra/clangd/quality/gen_decision_forest.gni
@@ -9,6 +9,10 @@ template("gen_decision_forest") {
       "$target_gen_dir/$filename.cpp",
       "$target_gen_dir/$filename.h",
     ]
+    inputs = [
+      "$model/features.json",
+      "$model/forest.json",
+    ]
     args = [
       "--model",
       rebase_path(model, root_build_dir),


        


More information about the llvm-commits mailing list