Lines Matching +full:- +full:- +full:files

13 *Warning* The GN build is experimental and best-effort. It might not work,
16 If you add files, you're expected to update the CMake build but you don't need
17 to update GN build files. Reviewers should not ask authors to update GN build
18 files. Keeping the GN build files up-to-date is on the people who use the GN
22 creates ninja files, but it can create some IDE projects (MSVC, Xcode, ...)
26 convenient for day-to-day hacking on LLVM than CMake. Distribution, building
28 non-goals for the GN build.
37 #. ``git clone https://github.com/llvm/llvm-project.git; cd llvm-project`` if
41 64-bit X86 system running Linux, macOS, or Windows. `Build gn yourself
42 <https://gn.googlesource.com/gn/#getting-started>`_ if you're on a different
45 #. ``llvm/utils/gn/gn.py gen out/gn`` to run GN and create build files.
48 adds ``--dotfile=llvm/utils/gn/.gn --root=.`` and just runs regular ``gn``;
52 #. ``echo out >> .git/info/exclude`` to tell git to ignore files below ``out``.
54 #. ``ninja -C out/gn check-lld`` to build all prerequisites for and run the LLD
60 ``llvm/utils/gn/gn.py args --list out/gn`` to see a list of all possible
61 options. After touching ``out/gn/args.gn`` just run ninja: it will re-invoke gn
64 GN has extensive built-in help; try e.g. ``llvm/utils/gn/gn.py help gen`` to see
69 ``git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format``
72 To not put ``BUILD.gn`` files into the main tree, they are all below
76 .. _Syncing GN files from CMake files:
78 Syncing GN files from CMake files
84 of which files need to be added to or removed from ``BUILD.gn`` files to
88 If new ``CMakeLists.txt`` files have been added, you have to manually create
105 - compiler checks. In GN, these could use exec_script to identify the host
117 - library checks. For e.g. like zlib, GN thinks it's better to say "we require
122 - header checks (does system header X exist). These are generally not needed
125 targets that need to know if header X exists then depend on that build-time
128 - LLVM-specific build toggles (assertions on/off, debug on/off, targets to
134 ``llvm_enable_zlib`` is toggled, only the 3 files caring about that setting
138 variable, it wants the build to be controlled by .gn files.