| /third_party/rust/rust/src/bootstrap/ |
| D | configure.py | 3 # ignore-tidy-linelength 36 o("compiler-docs", "build.compiler-docs", "build compiler documentation") 37 o("optimize-tests", "rust.optimize-tests", "build tests with optimizations") 38 o("verbose-tests", "rust.verbose-tests", "enable verbose output when running tests") 41 o("local-rust", None, "use an installed rustc rather than downloading a snapshot") 42 v("local-rust-root", None, "set prefix for local rust binary") 43 …"local-rebuild", "build.local-rebuild", "assume local-rust matches the current version, for rebuil… 44 o("llvm-static-stdcpp", "llvm.static-libstdcpp", "statically link to libstdc++ for LLVM") 45 o("llvm-link-shared", "llvm.link-shared", "prefer shared linking to LLVM (llvm-config --link-shared… 47 o("codegen-tests", "rust.codegen-tests", "run the tests/codegen tests") [all …]
|
| D | sanity.rs | 6 //! compilers for cross-compiling are found. 29 pub fn new() -> Self { in new() 33 pub fn maybe_have<S: Into<OsString>>(&mut self, cmd: S) -> Option<PathBuf> { in maybe_have() 57 pub fn must_have<S: AsRef<OsStr>>(&mut self, cmd: S) -> PathBuf { in must_have() 69 // https://github.com/rust-lang/rust/issues/34959 for more details. in check() 102 You should install cmake, or set `download-ci-llvm = true` in the in check() 165 // Some environments don't want or need these tools, such as when testing Miri. in check() 168 // <https://github.com/rust-lang/rust/pull/103569#discussion_r1008741742>. in check() 202 if target.contains("-none-") || target.contains("nvptx") { in check() 204 panic!("All the *-none-* and nvptx* targets are no-std targets") in check() [all …]
|
| /third_party/rust/rust/src/doc/rustc/src/ |
| D | platform-support.md | 5 white-space: nowrap; 11 for targets at each tier, see the [Target Tier Policy](target-tier-policy.md). 16 Component availability is tracked [here](https://rust-lang.github.io/rustup-components-history/). 18 ## Tier 1 with Host Tools 24 Tier 1 targets with host tools additionally support running tools like `rustc` 26 pass for the host tools as well. This allows the target to be used as a 28 see [Tier 1 with Host Tools](target-tier-policy.md#tier-1-with-host-tools) in 31 All tier 1 targets with host tools support the full standard library. 34 -------|------- 35 `aarch64-unknown-linux-gnu` | ARM64 Linux (kernel 4.1, glibc 2.17+) [^missing-stack-probes] [all …]
|
| /third_party/musl/scripts/linux/ |
| D | Makefile | 2 # Makefile for musl (requires GNU make) 5 # No, I take that back - actually most should be less than half this size. 15 prefix = /usr/local/musl 29 ALL_OBJS = $(addprefix obj/, $(filter-out $(REPLACED_OBJS), $(sort $(BASE_OBJS) $(ARCH_OBJS)))) 43 LIBCC = -lgcc 46 CFLAGS_AUTO = -Os -pipe 47 CFLAGS_C99FSE = -std=c99 -ffreestanding -nostdinc 50 …-D_XOPEN_SOURCE=700 -I$(srcdir)/arch/$(ARCH) -I$(srcdir)/arch/generic -Iobj/src/internal -I$(srcdi… 57 INSTALL = $(srcdir)/tools/install.sh 69 TOOL_LIBS = lib/musl-gcc.specs [all …]
|
| /third_party/musl/ |
| D | Makefile | 2 # Makefile for musl (requires GNU make) 5 # No, I take that back - actually most should be less than half this size. 15 prefix = /usr/local/musl 29 ALL_OBJS = $(addprefix obj/, $(filter-out $(REPLACED_OBJS), $(sort $(BASE_OBJS) $(ARCH_OBJS)))) 43 LIBCC = -lgcc 46 CFLAGS_AUTO = -Os -pipe 47 CFLAGS_C99FSE = -std=c99 -ffreestanding -nostdinc 50 …-D_XOPEN_SOURCE=700 -I$(srcdir)/arch/$(ARCH) -I$(srcdir)/arch/generic -Iobj/src/internal -I$(srcdi… 57 INSTALL = $(srcdir)/tools/install.sh 69 TOOL_LIBS = lib/musl-gcc.specs [all …]
|
| D | BUILD.gn | 35 ohos_prebuilt_etc("ld-musl-namespace-${musl_arch}-test.ini") { 36 source = "${musl_dir}/config/ld-musl-namespace-${musl_arch}-test.ini" 39 ohos_prebuilt_etc("ld-musl-namespace-${musl_arch}.ini") { 40 source = "${musl_dir}/config/ld-musl-namespace-${musl_arch}.ini" 50 ":ld-musl-namespace-${musl_arch}-test.ini", 51 ":ld-musl-namespace-${musl_arch}.ini", 70 source = "${musl_dir}/etc/musl.para" 75 source = "${musl_dir}/etc/musl.para.dac" 105 part_name = "musl" 111 sources_dir = [ "//third_party/musl" ] [all …]
|
| D | configure | 13 --srcdir=DIR source directory [detected] 16 --prefix=PREFIX main installation prefix [/usr/local/musl] 17 --exec-prefix=EPREFIX installation prefix for executable files [PREFIX] 20 --bindir=DIR user executables [EPREFIX/bin] 21 --libdir=DIR library files for the linker [PREFIX/lib] 22 --includedir=DIR include files for the C compiler [PREFIX/include] 23 --syslibdir=DIR location for the dynamic linker [/lib] 26 --target=TARGET configure to run on target TARGET [detected] 27 --host=HOST same as --target 28 --build=BUILD build system type; used only to infer cross-compiling [all …]
|
| /third_party/musl/porting/liteos_a/user_debug/ |
| D | Makefile | 2 # Makefile for musl (requires GNU make) 5 # No, I take that back - actually most should be less than half this size. 15 prefix = /usr/local/musl 29 ALL_OBJS = $(addprefix obj/, $(filter-out $(REPLACED_OBJS), $(sort $(BASE_OBJS) $(ARCH_OBJS)))) 43 LIBCC = -lgcc 46 CFLAGS_AUTO = -Os -pipe 47 CFLAGS_C99FSE = -std=c99 -ffreestanding -nostdinc 50 …-D_XOPEN_SOURCE=700 -I$(srcdir)/arch/$(ARCH) -I$(srcdir)/arch/generic -Iobj/src/internal -I$(srcdi… 57 INSTALL = $(srcdir)/tools/install.sh 69 TOOL_LIBS = lib/musl-gcc.specs [all …]
|
| /third_party/musl/porting/linux/user/ |
| D | Makefile | 2 # Makefile for musl (requires GNU make) 5 # No, I take that back - actually most should be less than half this size. 15 prefix = /usr/local/musl 29 ALL_OBJS = $(addprefix obj/, $(filter-out $(REPLACED_OBJS), $(sort $(BASE_OBJS) $(ARCH_OBJS)))) 43 LIBCC = -lgcc 46 CFLAGS_AUTO = -Os -pipe 47 CFLAGS_C99FSE = -std=c99 -ffreestanding -nostdinc 50 …-D_XOPEN_SOURCE=700 -I$(srcdir)/arch/$(ARCH) -I$(srcdir)/arch/generic -Iobj/src/internal -I$(srcdi… 57 INSTALL = $(srcdir)/tools/install.sh 69 TOOL_LIBS = lib/musl-gcc.specs [all …]
|
| /third_party/rust/rust/src/ci/docker/host-x86_64/dist-arm-linux/ |
| D | Dockerfile | 3 COPY scripts/cross-apt-packages.sh /scripts/ 4 RUN sh /scripts/cross-apt-packages.sh 6 COPY scripts/crosstool-ng.sh /scripts/ 7 RUN sh /scripts/crosstool-ng.sh 11 COPY scripts/musl-toolchain.sh /build/ 12 # We need to mitigate rust-lang/rust#34978 when compiling musl itself as well 13 RUN CFLAGS="-Wa,--compress-debug-sections=none -Wl,--compress-debug-sections=none" \ 14 CXXFLAGS="-Wa,--compress-debug-sections=none -Wl,--compress-debug-sections=none" \ 15 bash musl-toolchain.sh aarch64 && rm -rf build 17 COPY scripts/rustbuild-setup.sh /scripts/ [all …]
|
| /third_party/rust/rust/src/ci/docker/scripts/ |
| D | musl-toolchain.sh | 2 # This script runs `musl-cross-make` to prepare C toolchain (Binutils, GCC, musl itself) 5 # Versions of the toolchain components are configurable in `musl-cross-make/Makefile` and 6 # musl unlike GLIBC is forward compatible so upgrading it shouldn't break old distributions. 7 # Right now we have: Binutils 2.31.1, GCC 9.2.0, musl 1.2.3. 9 # ignore-tidy-linelength 11 set -ex 21 bash -c "while true; do sleep 30; echo \$(date) - building ...; done" & 24 trap - ERR 27 set -x 31 TARGET=$ARCH-linux-musl [all …]
|
| D | musl.sh | 2 set -ex 12 bash -c "while true; do sleep 30; echo \$(date) - building ...; done" & 15 trap - ERR 18 set -x 24 # Ancient binutils versions don't understand debug symbols produced by more recent tools. 25 # Apparently applying `-fPIC` everywhere allows them to link successfully. 26 export CFLAGS="-fPIC $CFLAGS" 28 MUSL=musl-1.2.3 31 if [ ! -d $MUSL ]; then 32 curl https://www.musl-libc.org/releases/$MUSL.tar.gz | tar xzf - [all …]
|
| /third_party/rust/rust/src/ci/docker/host-x86_64/dist-i586-gnu-i586-i686-musl/ |
| D | Dockerfile | 4 RUN apt-get update && apt-get install -y --no-install-recommends \ 5 g++-multilib \ 7 ninja-build \ 10 ca-certificates \ 14 xz-utils \ 18 libssl-dev \ 19 pkg-config 21 COPY scripts/cross-apt-packages.sh /scripts/ 22 RUN sh /scripts/cross-apt-packages.sh 24 COPY scripts/crosstool-ng.sh /scripts/ [all …]
|
| /third_party/skia/toolchain/ |
| D | clang_toolchain_config.bzl | 10 - https://docs.bazel.build/versions/4.2.1/tutorial/cc-toolchain-config.html 11 …- https://github.com/emscripten-core/emsdk/blob/7f39d100d8cd207094decea907121df72065517e/bazel/ems… 15 "@bazel_tools//tools/cpp:cc_toolchain_config_lib.bzl", 23 load("@bazel_tools//tools/build_defs/cc:action_names.bzl", "ACTION_NAMES") 47 target_libc = "musl", 49 toolchain_identifier = "clang-toolchain", 60 This function sets up the tools needed to perform the various compile/link actions. 72 …# https://cs.opensource.google/bazel/bazel/+/master:tools/cpp/cc_toolchain_config_lib.bzl;l=435;dr… 77 …# https://cs.opensource.google/bazel/bazel/+/master:tools/cpp/cc_toolchain_config_lib.bzl;l=488;dr… 80 tools = [clang_tool], [all …]
|
| /third_party/rust/crates/libc/ci/ |
| D | semver.sh | 5 set -ex 11 if ! rustc --version | grep -E "nightly" ; then 16 rustup component add rustc-dev llvm-tools-preview 19 cargo install semverver --version=0.1.50 25 aarch64-fuchsia \ 26 aarch64-linux-android \ 27 aarch64-unknown-linux-gnu \ 28 aarch64-unknown-linux-musl \ 29 armv7-linux-androideabi \ 30 armv7-unknown-linux-gnueabihf \ [all …]
|
| /third_party/rust/rust/tests/run-make/issue-36710/ |
| D | Makefile | 1 # ignore-cross-compile 2 # ignore-none no-std is not supported 3 # ignore-wasm32 FIXME: don't attempt to compile C++ to WASM 4 # ignore-wasm64 FIXME: don't attempt to compile C++ to WASM 5 # ignore-nvptx64-nvidia-cuda FIXME: can't find crate for `std` 6 # ignore-musl FIXME: this makefile needs teaching how to use a musl toolchain 7 # (see dist-i586-gnu-i586-i686-musl Dockerfile) 8 # ignore-sgx 10 include ../tools.mk 16 $(RUSTC) $< -lfoo $(EXTRARSCXXFLAGS) --target $(TARGET)
|
| /third_party/skia/ |
| D | WORKSPACE.bazel | 3 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 6 # See https://github.com/emscripten-core/emsdk/tree/85d27a4a2a60d591613a305b14ae438c2bb3ce11/bazel#… 10 strip_prefix = "emsdk-2.0.32/bazel", 11 url = "https://github.com/emscripten-core/emsdk/archive/refs/tags/2.0.32.tar.gz", 23 # Meant to run on amd64 linux and compile for amd64 linux using musl as the c library. 25 … From https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/clang+llvm-13.0.0-x86_… 26 clang_prefix = "clang+llvm-13.0.0-x86_64-linux-gnu-ubuntu-20.04/", 28 …rl = "https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/clang+llvm-13.0.0-x86_… 29 # From https://packages.debian.org/bullseye/amd64/musl-dev/download 31 musl_dev_url = "http://ftp.debian.org/debian/pool/main/m/musl/musl-dev_1.2.2-1_amd64.deb", [all …]
|
| /third_party/rust/crates/rustix/.github/workflows/ |
| D | main.yml | 6 - main 13 runs-on: ubuntu-latest 15 - uses: actions/checkout@v3 18 - uses: ./.github/actions/install-rust 21 - run: cargo fmt --all -- --check 25 runs-on: ${{ matrix.os }} 30 - build: stable 31 os: ubuntu-latest 33 - build: nightly 34 os: ubuntu-latest [all …]
|
| /third_party/rust/rust/ |
| D | config.example.toml | 4 # See https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#create-a-configtoml … 9 # a custom configuration file can also be specified with `--config` to the build 16 # Use different pre-set defaults than the global defaults. 23 # If `changelog-seen` does not match the version that is currently running, 26 changelog-seen = 2 38 # All tier 1 targets are currently supported; set this to `"if-available"` if 45 #download-ci-llvm = if rust.channel == "dev" { "if-available" } else { false } 51 # only succeed if you use clang, lld, llvm-ar, and llvm-ranlib in your C/C++ 53 # More info at: https://clang.llvm.org/docs/ThinLTO.html#clang-bootstrap 54 #thin-lto = false [all …]
|
| /third_party/rust/rust/src/doc/rustc/src/platform-support/ |
| D | loongarch-linux.md | 1 # loongarch\*-unknown-linux-\* 7 [LoongArch]: https://loongson.github.io/LoongArch-Documentation/README-EN.html 9 The target name follow this format: `<machine>-<vendor>-<os><fabi_suffix>`, where `<machine>` speci… 10 …ase ABI type is encoded into the os field of the specifier using the string suffix `<fabi-suffix>`. 12 | `<fabi-suffix>` | `Description` | 13 |------------------------|--------------------------------------------------------------------| 14 | f64 | The base ABI use 64-bits FPRs for parameter passing. (lp64d)| 15 | f32 | The base ABI uses 32-bit FPRs for parameter passing. (lp64f)| 21 |----------------------------------|-------------|----------|----------------------------------| 22 | lp64d/base | glibc | linux | loongarch64-unknown-linux-gnu | [all …]
|
| /third_party/backends/ |
| D | .gitlab-ci.yml | 1 # .gitlab-ci.yml -- to test some source code build scenarios 2 # Copyright (C) 2016-2020 Olaf Meeuwissen 4 # License: GPL-3.0+ 7 REGISTRY_HUB: "registry.gitlab.com/sane-project/ci-envs" 8 CONFIGURE_MINI: "--enable-silent-rules" 9 …CONFIGURE_FULL: "--with-usb --with-usb-record-replay --with-avahi --enable-pnm-backend --with-libc… 12 - tarball 13 - compile 14 - snapshot 15 - release [all …]
|
| /third_party/rust/rust/rust-build/ |
| D | function.sh | 4 case $(uname -s) in 7 *) echo "Unsupported host platform: $(uname -s)"; exit 1 ;; 10 case $(uname -m) in 17 rm -rf ${rust_source_dir}/build/* 18 rm -rf ${root_build_dir}/output/* 25 cp ${shell_path}/tools/* ${rust_source_dir}/build/ 34 echo "Unsupported platform: $(uname -s) $(uname -m)" 43 # add clang absolute path to shell tools 45 sed -i "s/exec ${2}/exec ${sys_clang_dir}\/${2}/g" ${rust_source_dir}/build/${2} 46 sed -i "s/exec ${2}++/exec ${sys_clang_dir}\/${2}++/g" ${rust_source_dir}/build/${2}++ [all …]
|
| /third_party/rust/rust/tests/run-make/issue-33329/ |
| D | Makefile | 1 include ../tools.mk 4 $(RUSTC) --target x86_64_unknown-linux-musl main.rs 2>&1 | $(CGREP) \
|
| /third_party/toybox/www/ |
| D | faq.html | 2 <!--#include file="header.html" --> 26 <!-- get binaries --> 37 and <a href=http://landley.net/notes-2006.html#28-09-2006>started over from 39 <a href=http://lists.busybox.net/pipermail/busybox/2006-September/058617.html>protracted licensing … 42 <a href=http://landley.net/notes-2011.html#13-11-2011>relaunched</a> 44 <a href=http://landley.net/aboriginal/about.html#selfhost>self-hosting</a>. 48 after a lot of thinking <a href=http://landley.net/talks/ohio-2013.txt>about 49 licenses</a> and <a href=http://landley.net/notes-2011.html#21-03-2011>the 53 <a href=http://landley.net/talks/celf-2013.txt>strategy</a> 54 to make Android self-hosting using toybox. This helped [all …]
|
| /third_party/rust/rust/tests/run-make/static-pie/ |
| D | Makefile | 1 include ../tools.mk 3 # only-x86_64 4 # only-linux 5 # ignore-32bit 8 # $ ./x.py test --target x86_64-unknown-linux-[musl,gnu] tests/run-make/static-pie 10 all: test-clang test-gcc 12 test-%: 14 …${RUSTC} -Clinker=$* -Clinker-flavor=gcc --target ${TARGET} -C target-feature=+crt-static test-asl… 15 ! readelf -l $(call RUN_BINFILE,test-aslr) | $(CGREP) INTERP; \ 16 readelf -l $(call RUN_BINFILE,test-aslr) | $(CGREP) DYNAMIC; \ [all …]
|