| /third_party/gn/src/gn/ |
| D | function_set_default_toolchain.cc | 2 // Use of this source code is governed by a BSD-style license that can be 16 "set_default_toolchain: Sets the default toolchain name."; 18 R"(set_default_toolchain: Sets the default toolchain name. 22 The given label should identify a toolchain definition (see "gn help 23 toolchain"). This toolchain will be used for all targets unless otherwise 28 separately for each toolchain, this function will be a no-op when called 29 under any non-default toolchains. 31 For example, the default toolchain should be appropriate for the current 32 environment. If the current environment is 32-bit and somebody references a 33 target with a 64-bit toolchain, we wouldn't want processing of the build [all …]
|
| D | loader.cc | 2 // Use of this source code is governed by a BSD-style license that can be 33 // Identifies one time a file is loaded in a given toolchain so we don't load 36 LoadID() = default; 50 // Our tracking information for a toolchain. 52 // The default toolchain label can be empty for the first time the default 53 // toolchain is loaded, since we don't know it yet. This will be fixed up 76 // ----------------------------------------------------------------------------- 80 Loader::Loader() = default; 82 Loader::~Loader() = default; 88 // ----------------------------------------------------------------------------- [all …]
|
| D | function_toolchain.cc | 2 // Use of this source code is governed by a BSD-style license that can be 21 #include "gn/toolchain.h" 30 // the toolchain property on a scope. 35 // toolchain ------------------------------------------------------------------- 37 const char kToolchain[] = "toolchain"; 38 const char kToolchain_HelpShort[] = "toolchain: Defines a toolchain."; 40 R"*(toolchain: Defines a toolchain. 42 A toolchain is a set of commands and build flags used to compile the source 43 code. The toolchain() function defines these commands. 45 Toolchain overview [all …]
|
| D | scope_per_file_provider_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 9 #include "gn/toolchain.h" 17 #define GPV(val) provider.GetProgrammaticValue(val)->string_value() in TEST() 19 // Test the default toolchain. in TEST() 25 EXPECT_EQ("//toolchain:default", GPV(variables::kCurrentToolchain)); in TEST() 26 // TODO(brettw) this test harness does not set up the Toolchain manager in TEST() 28 // EXPECT_EQ("//toolchain:default", GPV(variables::kDefaultToolchain)); in TEST() 35 EXPECT_GE(provider.GetProgrammaticValue(variables::kGnVersion)->int_value(), in TEST() 39 // Test some with an alternate toolchain. in TEST() 42 Toolchain toolchain(&settings, Label(SourceDir("//toolchain/"), "tc")); in TEST() local [all …]
|
| D | function_get_label_info_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 14 setup_.scope()->set_source_dir(SourceDir("//src/foo/")); in GetLabelInfoTest() 36 // Note: TestWithScope's default toolchain is "//toolchain:default" and 63 Call(":name(//toolchain:random)", "root_out_dir")); in TEST_F() 69 Call(":name(//toolchain:default)", "root_gen_dir")); in TEST_F() 71 Call(":name(//toolchain:random)", "root_gen_dir")); in TEST_F() 77 Call("//foo:name(//toolchain:default)", "target_out_dir")); in TEST_F() 79 Call("//foo:name(//toolchain:random)", "target_out_dir")); in TEST_F() 85 Call("//foo:name(//toolchain:default)", "target_gen_dir")); in TEST_F() 87 Call("//foo:name(//toolchain:random)", "target_gen_dir")); in TEST_F() [all …]
|
| D | toolchain.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include "gn/toolchain.h" 17 Toolchain::Toolchain(const Settings* settings, in Toolchain() function in Toolchain 21 // Ensure "phony" tool is part of all toolchains by default. in Toolchain() 26 Toolchain::~Toolchain() = default; 28 Toolchain* Toolchain::AsToolchain() { in AsToolchain() 32 const Toolchain* Toolchain::AsToolchain() const { in AsToolchain() 36 Tool* Toolchain::GetTool(const char* name) { in GetTool() 40 return pair->second.get(); in GetTool() 45 const Tool* Toolchain::GetTool(const char* name) const { in GetTool() [all …]
|
| D | ninja_build_writer_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 43 // Setup sets the default root dir to ".". in TEST_F() 53 // Without any parameters the self invocation should pass --root=../.. in TEST_F() 55 setup.build_settings()->SetRootPath(root_realpath); in TEST_F() 60 // If --root is . and --dotfile is foo/.gn, then --dotfile also needs in TEST_F() 62 setup.build_settings()->SetRootPath(root_realpath); in TEST_F() 63 setup.build_settings()->set_dotfile_name(gn_realpath); in TEST_F() 79 target_foo.SetToolchain(setup.toolchain()); in TEST_F() 87 target_bar.SetToolchain(setup.toolchain()); in TEST_F() 90 // Make a secondary toolchain that references two pools. in TEST_F() [all …]
|
| D | builder_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 13 #include "gn/toolchain.h" 20 MockLoader() = default; 28 void ToolchainLoaded(const Toolchain* toolchain) override {} in ToolchainLoaded() argument 66 ~MockLoader() override = default; 79 settings_.set_toolchain_label(Label(SourceDir("//tc/"), "default")); in BuilderTest() 83 Toolchain* DefineToolchain() { in DefineToolchain() 84 Toolchain* tc = new Toolchain(&settings_, settings_.toolchain_label()); in DefineToolchain() 102 // Construct a dependency chain: A -> B -> C. Define A first with a in TEST_F() 103 // forward-reference to B, then C, then B to test the different orders that in TEST_F() [all …]
|
| D | command_ls.cc | 2 // Use of this source code is governed by a BSD-style license that can be 21 R"(gn ls <out_dir> [<label_pattern>] [--default-toolchain] [--as=...] 22 [--type=...] [--testonly=...] 25 By default, only targets in the default toolchain will be matched unless a 26 toolchain is explicitly supplied. 41 Lists all targets in the default toolchain. 49 gn ls out/Debug //base --as=output 52 gn ls out/Debug --type=executable 55 gn ls out/Debug "//base/*" --as=output | xargs ninja -C out/Debug 69 if (!setup->DoSetup(args[0], false) || !setup->Run()) [all …]
|
| D | loader.h | 2 // Use of this source code is governed by a BSD-style license that can be 22 class Toolchain; variable 34 // Loads the given file in the conext of the given toolchain. The initial 36 // empty toolchain name, which will trigger the load of the default build 42 // Notification that the given toolchain has loaded. This will unblock files 44 virtual void ToolchainLoaded(const Toolchain* toolchain) = 0; 46 // Returns the label of the default toolchain. 49 // Returns information about the toolchain with the given label. Will return 50 // false if we haven't processed this toolchain yet. 56 // Helper function that extracts the file and toolchain name from the given [all …]
|
| /third_party/rust/crates/clap/clap_bench/benches/ |
| D | 06_rustup.rs | 24 fn build_cli() -> Command { in build_cli() 27 .about("The Rust toolchain installer") in build_cli() 45 .hide(true) // synonym for 'toolchain install' in build_cli() 46 .arg(Arg::new("toolchain").required(true)), in build_cli() 52 .arg(Arg::new("toolchain").required(true)) in build_cli() 54 Arg::new("no-self-update") in build_cli() 56 .long("no-self-update") in build_cli() 62 Command::new("default") in build_cli() 63 .about("Set the default toolchain") in build_cli() 65 .arg(Arg::new("toolchain").required(true)), in build_cli() [all …]
|
| /third_party/rust/crates/serde/.github/workflows/ |
| D | ci.yml | 13 RUSTFLAGS: -Dwarnings 18 runs-on: ubuntu-latest 19 timeout-minutes: 45 21 - uses: actions/checkout@v4 22 - uses: dtolnay/rust-toolchain@nightly 23 - run: cd test_suite && cargo test --features unstable 27 runs-on: windows-latest 28 timeout-minutes: 45 30 - uses: actions/checkout@v4 31 - uses: dtolnay/rust-toolchain@nightly [all …]
|
| /third_party/rust/crates/nom/.github/workflows/ |
| D | ci.yml | 13 runs-on: ubuntu-latest 18 - stable 19 - beta 20 - nightly 21 - 1.48.0 24 - '' 27 - rust: stable 29 - rust: stable 30 features: '--features "std"' 31 - rust: stable [all …]
|
| /third_party/rust/crates/proc-macro2/.github/workflows/ |
| D | ci.yml | 13 RUSTFLAGS: -Dwarnings 23 runs-on: ubuntu-latest 25 fail-fast: false 28 timeout-minutes: 45 30 - uses: actions/checkout@v4 31 - uses: dtolnay/rust-toolchain@master 33 toolchain: ${{matrix.rust}} 34 components: rust-src 35 - run: cargo test 36 - run: cargo test --no-default-features [all …]
|
| /third_party/grpc/third_party/toolchains/ |
| D | BUILD | 7 # http://www.apache.org/licenses/LICENSE-2.0 21 # The default toolchain suite for RBE linux, pass it to --crosstool_top 24 actual = "//third_party/toolchains/rbe_ubuntu2004_bazel7/cc:toolchain", 27 # The default CC toolchain suite for RBE linux 30 actual = "//third_party/toolchains/rbe_ubuntu2004_bazel7/config:cc-toolchain", 33 # The default platform for RBE Linux 39 # by default, all RBE actions will run on "small" workers. 52 # The default toolchain suite for RBE windows, pass it to --crosstool_top 55 actual = "//third_party/toolchains/rbe_windows_vs2022_bazel7/cc:toolchain", 58 # The default CC toolchain suite for RBE windows [all …]
|
| /third_party/gn/docs/ |
| D | cross_compiles.md | 1 # How GN handles cross-compiling 18 (Confusingly, GN also refers to each build artifact -- an executable, 19 library, etc. -- as a target. On this page, we will use "target" only to 26 specify that they want to do a cross-compile by setting either or both 34 gn gen out/Default 40 gn gen out/Default --args='target_os="linux" target_cpu="x64"' 43 To do an 32-bit ARM Android cross-compile, do: 46 gn gen out/Default --args='target_os="android"' 52 And, to do a 64-bit MIPS Chrome OS cross-compile: 55 gn gen out/Default --args='target_os="chromeos" target_cpu="mips64el"' [all …]
|
| /third_party/rust/crates/syn/.github/workflows/ |
| D | ci.yml | 13 RUSTFLAGS: -Dwarnings 23 runs-on: ubuntu-latest 24 timeout-minutes: 45 26 - uses: actions/checkout@v4 27 - uses: dtolnay/rust-toolchain@nightly 29 components: llvm-tools, rustc-dev 30 - run: cargo test --all-features --release --tests 36 runs-on: ${{matrix.os || 'ubuntu'}}-latest 38 fail-fast: false 42 - rust: nightly [all …]
|
| /third_party/rust/rust/src/doc/rustc/src/platform-support/ |
| D | x86_64-unknown-none.md | 1 # `x86_64-unknown-none` 5 Freestanding/bare-metal x86-64 binaries in ELF format: firmware, kernels, etc. 9 - Harald Hoyer `harald@profian.com`, https://github.com/haraldh 10 - Mike Leany, https://github.com/mikeleany 14 This target is cross-compiled. There is no support for `std`. There is no 15 default allocator, but it's possible to use `alloc` by supplying an allocator. 17 By default, Rust code generated for this target does not use any vector or 18 floating-point registers (e.g. SSE, AVX). This allows the generated code to run 23 features via the `-C target-feature=` codegen options to rustc, or via the 26 By default, code generated with this target should run on any `x86_64` [all …]
|
| /third_party/rust/crates/clap/.github/workflows/ |
| D | ci.yml | 7 - cron: '3 3 3 * *' 17 runs-on: ubuntu-latest 19 - name: Done 25 build: [linux, windows, mac, minimal, default, next] 27 - build: linux 28 os: ubuntu-latest 31 - build: windows 32 os: windows-latest 35 - build: mac 36 os: macos-latest [all …]
|
| /third_party/rust/crates/libc/ci/ |
| D | install-rust.sh | 4 set -ex 6 echo "Setup toolchain" 7 toolchain= 8 if [ -n "$TOOLCHAIN" ]; then 9 toolchain=$TOOLCHAIN 11 toolchain=nightly 16 rustup update --force $toolchain-"$TARGET" 17 rustup default $toolchain-"$TARGET" 20 rustup update --force $toolchain 21 rustup default $toolchain [all …]
|
| /third_party/skia/m133/ |
| D | .bazelrc | 1 # https://bazel.build/concepts/platforms-intro#cxx 2 # This forces Bazel's C++ rules use platforms to select toolchains instead of the default 3 # --crosstool_top, --compiler, etc. 4 build --incompatible_enable_cc_toolchain_resolution 8 build --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 11 build --remote_upload_local_results=false 13 # Enforce stricter environment rules, which eliminates some non-hermetic behavior and therefore 15 build --incompatible_strict_action_env=true 17 # This tells Bazel that the host platform can use the hermetic toolchain. This is a small lie until 19 build --host_platform=//bazel/platform:host_with_hermetic_toolchain [all …]
|
| /third_party/rust/crates/bitflags/.github/workflows/ |
| D | rust.yml | 11 runs-on: ubuntu-latest 13 fail-fast: true 16 - stable 17 - beta 18 - nightly 19 - 1.46.0 21 - name: Checkout sources 24 - name: Install Rust toolchain 25 uses: actions-rs/toolchain@v1 28 toolchain: ${{ matrix.rust }} [all …]
|
| /third_party/skia/third_party/externals/swiftshader/tests/regres/llvm/ |
| D | llvm.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 37 // Version holds the build version information of an LLVM toolchain. 63 // Download downloads and verifies the LLVM toolchain for the current OS. 68 // DownloadForOS downloads and verifies the LLVM toolchain for the given OS. 112 …rl = "https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang+llvm-10.0.0-x86_… 113 sig = relfile("10.0.0-ubuntu.sig") 116 …url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang+llvm-10.0.0-x86… 117 sig = relfile("10.0.0-darwin.sig") 120 …url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/LLVM-10.0.0-win64.exe" 121 sig = relfile("10.0.0-win64.sig") [all …]
|
| /third_party/protobuf/python/dist/ |
| D | BUILD.bazel | 1 # Copyright (c) 2009-2022, Google LLC 4 # Use of this source code is governed by a BSD-style 6 # https://developers.google.com/open-source/licenses/bsd 52 "//toolchain:release": "True", 54 values = {"cpu": "linux-aarch_64"}, 64 "//toolchain:release": "False", 71 "//toolchain:release": "True", 73 values = {"cpu": "linux-x86_64"}, 83 "//toolchain:release": "False", 90 "//toolchain:release": "True", [all …]
|
| /third_party/rust/crates/heck/.github/workflows/ |
| D | rust.yml | 11 runs-on: ubuntu-latest 14 - uses: actions/checkout@v2 16 - uses: actions-rs/toolchain@v1 18 toolchain: 1.32 19 default: true 21 - name: Build default 22 uses: actions-rs/cargo@v1 25 - name: Build with unicode segmentation on 26 uses: actions-rs/cargo@v1 28 args: --features unicode [all …]
|