Home
last modified time | relevance | path

Searched +full:ninja +full:- +full:build (Results 1 – 25 of 551) sorted by relevance

12345678910>>...23

/third_party/ninja/doc/
Dmanual.asciidoc1 The Ninja build system
7 ------------
9 Ninja is yet another build system. It takes as input the
13 Ninja joins a sea of other build systems. Its distinguishing goal is
15 http://neugierig.org/software/chromium/notes/2011/02/ninja.html[my
17 files and whose other build systems (including one built from custom
18 non-recursive Makefiles) would take ten seconds to start building
19 after changing one file. Ninja is under a second.
24 Where other build systems are high-level languages, Ninja aims to be
27 Build systems get slow when they need to make decisions. When you are
[all …]
/third_party/ninja/
DREADME.md1 # Ninja chapter
3 Ninja is a small build system with a focus on speed.
4 https://ninja-build.org/
6 See [the manual](https://ninja-build.org/manual.html) or
11 [GitHub](https://github.com/ninja-build/ninja/releases).
12 Run `./ninja -h` for Ninja help.
15 resulting ninja binary. However, to enable features like Bash
19 If you're interested in making changes to Ninja, read
22 ## Building Ninja itself
24 You can either build Ninja via the custom generator script written in Python or
[all …]
Dconfigure.py9 # http://www.apache.org/licenses/LICENSE-2.0
17 """Script that generates the build.ninja for ninja itself.
19 Projects that use ninja themselves should either write a similar script
20 or use a meta-build system that supports Ninja output."""
34 """Represents a host/target platform and its specific build attributes."""
120 Used to bootstrap Ninja from scratch. In --bootstrap mode this
121 class is used to execute all the commands to build an executable.
123 behave like non-bootstrap mode.
142 # In bootstrap mode, we have no ninja process to catch /showIncludes
151 def build(self, outputs, rule, inputs=None, **kwargs): member in Bootstrap
[all …]
DCMakeLists.txt6 option(NINJA_BUILD_BINARY "Build ninja binary" ON)
9 project(ninja CXX) project
11 # --- optional link-time optimization
21 # --- compiler flags
27 add_compile_options(/W4 /wd4100 /wd4267 /wd4706 /wd4702 /wd4244 /GR- /Zc:__cplusplus)
31 check_cxx_compiler_flag(-Wno-deprecated flag_no_deprecated)
33 add_compile_options(-Wno-deprecated)
35 check_cxx_compiler_flag(-fdiagnostics-color flag_color_diag)
37 add_compile_options(-fdiagnostics-color)
42 # Set -DUSE_PPOLL=1 if this is the case.
[all …]
/third_party/ninja/.github/workflows/
Dlinux.yml10 build:
11 runs-on: [ubuntu-latest]
15 - uses: actions/checkout@v2
16 - uses: codespell-project/actions-codespell@master
19 - name: Install dependencies
21 … curl -L -O https://github.com/Kitware/CMake/releases/download/v3.16.4/cmake-3.16.4-Linux-x86_64.sh
22 chmod +x cmake-3.16.4-Linux-x86_64.sh
23 ./cmake-3.16.4-Linux-x86_64.sh --skip-license --prefix=/usr/local
24 …curl -L -O https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/p…
25 …curl -L -O https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/p…
[all …]
Dwindows.yml10 build:
11 runs-on: windows-latest
14 fail-fast: false
17 - arch: 'x64'
19 - arch: 'arm64'
23 - uses: actions/checkout@v2
25 - name: Install dependencies
28 - name: Build ninja
31 cmake -Bbuild -A ${{ matrix.arch }}
32 cmake --build build --parallel --config Debug
[all …]
Dmacos.yml10 build:
11 runs-on: macos-12
14 - uses: actions/checkout@v2
16 - name: Install dependencies
19 - name: Build ninja
24 cmake -Bbuild -GXcode '-DCMAKE_OSX_ARCHITECTURES=arm64;x86_64'
25 cmake --build build --config Release
27 - name: Test ninja
28 run: ctest -C Release -vv
29 working-directory: build
[all …]
/third_party/skia/m133/third_party/externals/libyuv/docs/
Ddeprecated_builds.md3 Older documentation on build configs which are no longer supported.
5 ## Pre-requisites
7 …need to have depot tools installed: https://www.chromium.org/developers/how-tos/install-depot-tools
60 ./build/android/play_services/update.py download
65 The sync will generate native build files for your environment using gyp (Windows: Visual Studio, O…
77 call python gyp_libyuv -fninja -G msvs_version=2013
78 ninja -j7 -C out\Release
79 ninja -j7 -C out\Debug
82 call python gyp_libyuv -fninja -G msvs_version=2013
83 ninja -C out\Debug_x64
[all …]
Dgetting_started.md3 How to get and build the libyuv code.
5 ## Pre-requisites
7 …need to have depot tools installed: https://www.chromium.org/developers/how-tos/install-depot-tools
14 gclient config --name src https://chromium.googlesource.com/libyuv/libyuv
62 call gn gen out\Release "--args=is_debug=false target_cpu=\"x64\""
63 call gn gen out\Debug "--args=is_debug=true target_cpu=\"x64\""
64 ninja -v -C out\Release
65 ninja -v -C out\Debug
67 call gn gen out\Release "--args=is_debug=false target_cpu=\"x86\""
68 call gn gen out\Debug "--args=is_debug=true target_cpu=\"x86\""
[all …]
/third_party/opencl-headers/.github/workflows/
Dwindows.yml7 runs-on: windows-latest
16 - VER: v141
18 GEN: Ninja Multi-Config
22 NINJA_URL: https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-win.zip
23 NINJA_ROOT: C:\Tools\Ninja
28 - uses: actions/checkout@v2
30 - name: Cache Ninja install
31 if: matrix.GEN == 'Ninja Multi-Config'
32 id: ninja-install
36 C:\Tools\Ninja
[all …]
/third_party/gn/src/gn/
Dninja_build_writer.h2 // Use of this source code is governed by a BSD-style license that can be
27 // Generates the toplevel "build.ninja" file. This references the individual
29 // build itself.
51 // Extracts from an existing build.ninja file's contents the commands
52 // necessary to run GN and regenerate build.ninja.
54 // The regeneration rules live at the top of the build.ninja file and their
64 // WriteNinjaRules writes the rules that ninja uses to regenerate its own
65 // build files, used whenever a build input file has changed.
67 // Ninja file regeneration is accomplished by two separate build statements.
68 // This is necessary to work around ninja's behavior of deleting all output
[all …]
Dcommand_gen.cc2 // Use of this source code is governed by a BSD-style license that can be
42 const char kSwitchCleanStale[] = "clean-stale";
56 const char kSwitchIdeRootTarget[] = "ide-root-target";
57 const char kSwitchNinjaExecutable[] = "ninja-executable";
58 const char kSwitchNinjaExtraArgs[] = "ninja-extra-args";
59 const char kSwitchNinjaOutputsFile[] = "ninja-outputs-file";
60 const char kSwitchNinjaOutputsScript[] = "ninja-outputs-script";
61 const char kSwitchNinjaOutputsScriptArgs[] = "ninja-outputs-script-args";
62 const char kSwitchNoDeps[] = "no-deps";
64 const char kSwitchXcodeProject[] = "xcode-project";
[all …]
Dninja_tools.h2 // Use of this source code is governed by a BSD-style license that can be
13 // Invokes the ninja restat tool (ie, ninja -C build_dir -t restat). This tool
14 // tells ninja that it should check the mtime of the provided files and update
16 // in the ninja graph has been updated without invoking ninja.
18 // The best example of this is after gn gen runs, we know that build.ninja has
19 // been potentially updated, but ninja will still use the mtime from the
20 // .ninja_log and could trigger another re-gen. By telling ninja to restat
21 // build.ninja, we can eliminate the extra re-gen.
23 // If files_to_restat is empty, ninja will restat all files that have an entry
30 // Invokes the ninja cleandead tool (ie, ninja -C build_dir -t cleandead). This
[all …]
Dninja_build_writer.cc2 // Use of this source code is governed by a BSD-style license that can be
57 build_settings->build_dir().Resolve(build_settings->root_path()); in GetSelfInvocationCommandLine()
65 // Use "." for the directory to generate. When Ninja runs the command it in GetSelfInvocationCommandLine()
66 // will have the build directory as the current one. Coding it explicitly in GetSelfInvocationCommandLine()
71 base::FilePath root_path = build_settings->root_path(); in GetSelfInvocationCommandLine()
75 cmdline.AppendSwitchPath(std::string("--") + switches::kRoot, in GetSelfInvocationCommandLine()
78 cmdline.AppendSwitch(std::string("-") + switches::kQuiet); in GetSelfInvocationCommandLine()
89 // If both --root and --dotfile are passed, make sure the --dotfile is in GetSelfInvocationCommandLine()
90 // made relative to the build dir here. in GetSelfInvocationCommandLine()
91 base::FilePath dotfile_path = build_settings->dotfile_name(); in GetSelfInvocationCommandLine()
[all …]
/third_party/ninja/misc/packaging/
Dninja.spec1 Summary: Ninja is a small build system with a focus on speed.
2 Name: ninja
7 URL: https://github.com/ninja-build/ninja
8 Source0: %{name}-%{version}-%{rel}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{rel}
14 Ninja is yet another build system. It takes as input the interdependencies of files (typically sour…
17 Ninja joins a sea of other build systems. Its distinguishing goal is to be fast. It is born from my…
18 which has over 30,000 source files and whose other build systems (including one built from custom n…
19 seconds to start building after changing one file. Ninja is under a second.
22 %setup -q -n %{name}-%{version}-%{rel}
[all …]
/third_party/spirv-tools/kokoro/scripts/macos/
Dbuild.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 # MacOS Build Script.
19 set -e
21 set -x
24 SRC=$PWD/github/SPIRV-Tools
30 git config --global --add safe.directory $SRC
32 # Get NINJA.
33 wget -q https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-mac.zip
34 unzip -q ninja-mac.zip
35 chmod +x ninja
[all …]
/third_party/skia/m133/infra/bots/assets/clang_linux/
DDockerfile2 # https://github.com/llvm/llvm-project/blob/76fd4bf675b5ceeeca0e4e15cf15d89c7acf4947/llvm/utils/doc…
6 # docker pull launcher.gcr.io/google/debian10:latest && docker images --digests | grep debian10
9 # Install build dependencies of llvm.
12 sed 's/^deb/deb-src /g' >> /etc/apt/sources.list
14 # compiler-rt (it fails using the built-in ld).
18 RUN apt-get update && \
19 apt-get install -y --no-install-recommends \
20 ca-certificates=20200601~deb10u2 gnupg=2.2.12-1+deb10u2 \
21 build-essential=12.6 cmake=3.13.4-1 make=4.2.1-1.2 python3=3.7.3-1 \
22 zlib1g=1:1.2.11.dfsg-1+deb10u2 wget=1.20.1-1.1 unzip=6.0-23+deb10u3 \
[all …]
/third_party/ninja/misc/
Dninja.vim1 " ninja build file syntax.
2 " Language: ninja build file as described at
3 " http://ninja-build.org/manual.html
11 " ninja lexer and parser are at
12 " https://github.com/ninja-build/ninja/blob/master/src/lexer.in.cc
13 " https://github.com/ninja-build/ninja/blob/master/src/manifest_parser.cc
32 syn match ninjaKeyword "^build\>"
39 " Both 'build' and 'rule' begin a variable scope that ends
41 " limited set of magic variables, 'build' allows general
54 " simple_varname = [a-zA-Z0-9_-]+;
[all …]
/third_party/libuv/.github/workflows/
Dsanitizer.yml6 - '**'
7 - '!docs/**'
8 - '!.**'
9 - '.github/workflows/sanitizer.yml'
12 - v[0-9].*
13 - master
16 sanitizers-linux:
17 runs-on: ubuntu-22.04
19 - uses: actions/checkout@v2
20 - name: Setup
[all …]
/third_party/vk-gl-cts/external/amber/src/kokoro/scripts/macos/
Dbuild.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -e # fail on error
17 set -x # show commands
25 # Get ninja
26 wget -q https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-mac.zip
27 unzip -q ninja-mac.zip
28 chmod +x ninja
31 echo $(date): $(cmake --version)
35 DEPS_ARGS+=" --with-swiftshader"
39 ./tools/git-sync-deps $DEPS_ARGS
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/kokoro/scripts/macos/
Dbuild.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 # MacOS Build Script.
19 set -e
21 set -x
24 SRC=$PWD/github/SPIRV-Tools
27 # Get NINJA.
28 wget -q https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-mac.zip
29 unzip -q ninja-mac.zip
30 chmod +x ninja
34 git clone --depth=1 https://github.com/KhronosGroup/SPIRV-Headers external/spirv-headers
[all …]
/third_party/skia/third_party/externals/spirv-tools/kokoro/scripts/macos/
Dbuild.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 # MacOS Build Script.
19 set -e
21 set -x
24 SRC=$PWD/github/SPIRV-Tools
27 # Get NINJA.
28 wget -q https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-mac.zip
29 unzip -q ninja-mac.zip
30 chmod +x ninja
34 git clone --depth=1 https://github.com/KhronosGroup/SPIRV-Headers external/spirv-headers
[all …]
/third_party/skia/third_party/externals/tint/
DCMakeSettings.json4 "name": "x64-Debug",
5 "generator": "Ninja",
8 "buildRoot": "${projectDir}\\out\\build\\${name}",
16 "name": "x64-Release",
17 "generator": "Ninja",
19 "buildRoot": "${projectDir}\\out\\build\\${name}",
28 "name": "x86-Debug",
29 "generator": "Ninja",
31 "buildRoot": "${projectDir}\\out\\build\\${name}",
40 "name": "x86-Release",
[all …]
/third_party/spirv-tools/kokoro/scripts/linux/
Dbuild-docker.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 # Linux Build Script.
19 set -e
21 set -x
26 git config --global --add safe.directory $ROOT_DIR
31 using clang-10.0.0
33 using gcc-9
40 if [[ -d "$dir" ]]; then
41 rm -fr "$dir"
46 if [ $TOOL != "cmake-smoketest" ]; then
[all …]
/third_party/skia/third_party/externals/spirv-tools/kokoro/scripts/linux/
Dbuild-docker.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 # Linux Build Script.
19 set -e
21 set -x
26 using clang-10.0.0
28 using gcc-9
36 if [[ ! -d "$dir" ]]; then
43 if [[ -d "$dir" ]]; then
44 rm -fr "$dir"
49 clone_if_missing https://github.com/KhronosGroup/SPIRV-Headers external/spirv-headers --depth=1
[all …]

12345678910>>...23