From 62cc16dac2056ba962d7987d10c91d39677f5487 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Mon, 15 Jul 2019 15:14:09 +0000 Subject: [PATCH] gn build: Add a note on how to locally tell git to ignore build dir llvm-svn: 366072 --- llvm/utils/gn/README.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/utils/gn/README.rst b/llvm/utils/gn/README.rst index 7ffa144aafb3..bb0e0c7a5d5a 100644 --- a/llvm/utils/gn/README.rst +++ b/llvm/utils/gn/README.rst @@ -51,6 +51,8 @@ GN only works in the monorepo layout. you can manually pass these parameters and not use the wrapper if you prefer.) +#. ``echo out >> .git/info/exclude`` to tell git to ignore files below ``out``. + #. ``ninja -C out/gn check-lld`` to build all prerequisites for and run the LLD tests.