Home
last modified time | relevance | path

Searched +full:build +full:- +full:cross +full:- +full:qemu (Results 1 – 25 of 61) sorted by relevance

123

/third_party/rust/crates/rustix/.github/workflows/
Dtest-users.yml10 runs-on: ${{ matrix.os }}
15build: [ubuntu, i686-linux, aarch64-linux, powerpc64le-linux, riscv64-linux, mipsel-linux, mips64e…
17 - build: ubuntu
18 os: ubuntu-latest
20 - build: i686-linux
21 os: ubuntu-latest
23 target: i686-unknown-linux-gnu
24 gcc_package: gcc-i686-linux-gnu
25 gcc: i686-linux-gnu-gcc
26 libc_package: libc-dev-i386-cross
[all …]
Dmain.yml6 - 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 }}
28 build: [stable, nightly, 1.48]
30 - build: stable
31 os: ubuntu-latest
33 - build: nightly
[all …]
/third_party/rust/rust/src/doc/rustc/src/platform-support/
Darmv7-unknown-linux-uclibceabihf.md1 # armv7-unknown-linux-uclibceabihf
5 This tier supports the ARMv7 processor running a Linux kernel and uClibc-ng standard library. It p…
13 …is cross compiled, and requires a cross toolchain. You can find suitable pre-built toolchains at …
19 …host types have not been tested, but may work, if you can find a suitable cross compilation toolch…
21 …ootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs/armv7-eabihf--uclibc--bleeding-edge
25 The target can be built by enabling it for a `rustc` build, by placing the following in `config.tom…
28 [build]
29 target = ["armv7-unknown-linux-uclibceabihf"]
32 [target.armv7-unknown-linux-uclibceabihf]
34 cc = "/TOOLCHAIN_PATH/bin/arm-buildroot-linux-uclibcgnueabihf-gcc"
[all …]
Dm68k-unknown-linux-gnu.md1 # m68k-unknown-linux-gnu
14 This target requires a Linux/m68k build environment for cross-compilation which
15 is available on Debian and Debian-based systems, openSUSE and other distributions.
17 On Debian, it should be sufficient to install a g++ cross-compiler for the m68k
19 the glibc cross development package:
22 # apt install g++-m68k-linux-gnu
25 Binaries can be run using QEMU user emulation. On Debian-based systems, it should be
26 sufficient to install the package `qemu-user-static` to be able to run simple static
30 # apt install qemu-user-static
37 # apt install debootstrap debian-ports-archive-keyring
[all …]
Darmv7-unknown-linux-uclibceabi.md1 # `armv7-unknown-linux-uclibceabi`
5 …Us and uses the uclibc-ng standard library. This is a common configuration on many consumer router…
13 This target is cross compiled, and requires a cross toolchain.
19 You will need to download or build a `'C'` cross toolchain that targets ARMv7 softfloat and that us…
21-toolchain) is a sample toolchain that is built using [buildroot](https://buildroot.org/). It uses…
23 Utilizing the Tomatoware toolchain this target can be built for cross compilation and native compil…
25 [rust-bootstrap-armv7-unknown-linux-uclibceabi](https://github.com/lancethepants/rust-bootstrap-arm…
31 [build]
32 build-stage = 2
33 target = ["armv7-unknown-linux-uclibceabi"]
[all …]
Dunknown-uefi.md1 # `*-unknown-uefi`
10 - `aarch64-unknown-uefi`
11 - `i686-unknown-uefi`
12 - `x86_64-unknown-uefi`
16 - David Rheinsberg ([@dvdhrm](https://github.com/dvdhrm))
17 - Nicholas Bishop ([@nicholasbishop](https://github.com/nicholasbishop))
21 All UEFI targets can be used as `no-std` environments via cross-compilation.
26 minor differences. Therefore, cross-compiling for UEFI works with the same
27 tools as cross-compiling for Windows. The target binaries are PE32+ encoded,
30 `efiapi` Rust calling-convention chooses the right ABI for the target platform
[all …]
Dloongarch-linux.md1 # 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 …]
Dpc-windows-gnullvm.md1 # \*-pc-windows-gnullvm
5 Windows targets similar to `*-pc-windows-gnu` but using UCRT as the runtime and various LLVM tools/…
8 - `aarch64-pc-windows-gnullvm`
9 - `x86_64-pc-windows-gnullvm`
13 - [@mati865](https://github.com/mati865)
17 The easiest way to obtain these targets is cross-compilation but native build from `x86_64-pc-windo…
18 Std support is expected to be on pair with `*-pc-windows-gnu`.
20 Binaries for this target should be at least on pair with `*-pc-windows-gnu` in terms of requirement…
28cross-compilation I recommend using [llvm-mingw](https://github.com/mstorsjo/llvm-mingw) toolchain…
33 Rust does not yet ship pre-compiled artifacts for this target. To compile for
[all …]
/third_party/libuv/.github/workflows/
DCI-unix.yml1 name: CI-unix
6 - '**'
7 - '!docs/**'
8 - '!src/win/**'
9 - '!.**'
10 - '.github/workflows/CI-unix.yml'
13 - v[0-9].*
14 - master
17 build-linux:
18 runs-on: ubuntu-latest
[all …]
/third_party/toybox/scripts/
Dmkroot.sh4 [ -z "$NOCLEAR" ] &&
5 exec env -i NOCLEAR=1 HOME="$HOME" PATH="$PATH" LINUX="$LINUX" \
9 while [ $# -ne 0 ]
17 # If we're cross compiling, set appropriate environment variables.
18 if [ -z "$CROSS_COMPILE" ]
21 if ! cc --static -xc - -o /dev/null <<< "int main(void) {return 0;}"
29 [ -z "$CROSS_SHORT" ] && CROSS_SHORT="${CROSS_BASE/-*/}"
30 echo "Cross compiling to $CROSS_SHORT"
31 if [ -z "$CROSS_PATH" ]
40 [ -z "$BUILD" ] && BUILD="$TOP/build"
[all …]
/third_party/rust/crates/nix/
D.cirrus.yml6 # Build by default; don't just check
7 BUILD: build
8 CLIPPYFLAGS: -D warnings -A unknown-lints
9 RUSTFLAGS: -D warnings
10 RUSTDOCFLAGS: -D warnings
15 # Tests that don't require executing the build binaries
16 build: &BUILD
18 - . $HOME/.cargo/env || true
19 - $TOOL -Vv
20 - rustc -Vv
[all …]
/third_party/rust/rust/compiler/rustc_codegen_cranelift/.github/workflows/
Dmain.yml4 - push
5 - pull_request
9 runs-on: ubuntu-latest
10 timeout-minutes: 10
13 - uses: actions/checkout@v3
15 - name: Install rustfmt
19 - name: Rustfmt
21 cargo fmt --check
22 rustfmt --check build_system/main.rs
23 rustfmt --check example/*
[all …]
/third_party/toybox/
DREADME1 Toybox: all-in-one Linux command line.
3 --- Getting started
13 wget http://landley.net/toybox/bin/toybox-x86_64
14 chmod +x toybox-x86_64
15 ./toybox-x86_64 echo hello world
17 --- Building toybox
19 Type "make help" for build instructions.
30 LDFLAGS="--static" CROSS_COMPILE=armv5l- make defconfig toybox
34 that control the toybox build; if you export any of these variables into your
38 toybox to run on the current machine. Cross compiling requires an appropriately
[all …]
/third_party/rust/rust/src/ci/docker/host-x86_64/armhf-gnu/
DDockerfile3 RUN apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
6 ca-certificates \
12 g++-arm-linux-gnueabihf \
14 libc6-dev \
15 libc6-dev-armhf-cross \
17 ninja-build \
19 qemu-system-arm \
20 xz-utils
23 CROSS_COMPILE=arm-linux-gnueabihf-
25 WORKDIR /build
[all …]
/third_party/rust/rust/src/ci/docker/host-x86_64/disabled/riscv64gc-linux/
DDockerfile1 # based on armhf-gnu/Dockerfile
4 RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
5 RUN apt-get update -y && apt-get install -y --no-install-recommends \
8 ca-certificates \
12 debian-ports-archive-keyring \
16 gcc-riscv64-linux-gnu \
18 g++-riscv64-linux-gnu \
20 libc6-dev \
21 libc6-dev-riscv64-cross \
23 ninja-build \
[all …]
/third_party/brotli/
DCMakeLists.txt2 # - Ubuntu 20.04 LTS : 3.16.3
3 # - Solaris 11.4 SRU 15 : 3.15
9 # Use `cmake --help-policy CMP0048` for more information.
13 option(BUILD_SHARED_LIBS "Build shared libraries" ON)
16 message(STATUS "Setting build type to Release as none was specified.")
17 set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build." FORCE)
19 message(STATUS "Build type is '${CMAKE_BUILD_TYPE}'")
30 message("-- Compiler is EMSCRIPTEN")
32 message("-- Compiler is not EMSCRIPTEN")
42 # depending on whether or not we are the top-level project.
[all …]
/third_party/openssl/
DNOTES-ANDROID.md5 -------------------
15 -------------
17 Android is a cross-compiled target and you can't rely on `./Configure`
19 target explicitly; there are `android-arm`, `android-arm64`, `android-mips`,
20 `android-mip64`, `android-x86` and `android-x86_64` (`*MIPS` targets are no
23 Do not pass --cross-compile-prefix (as you might be tempted), as it
30 to point at the `NDK` directory. If you're using a side-by-side NDK the path
31 will look something like `/some/where/android-sdk/ndk/<ver>`, and for a
32 standalone NDK the path will be something like `/some/where/android-ndk-<ver>`.
34 The NDK customarily supports multiple Android API levels, e.g. `android-14`,
[all …]
/third_party/rust/crates/libc/ci/
Drun.sh6 set -ex
8 MIRRORS_URL="https://ci-mirrors.rust-lang.org/libc"
12 # If we're going to run tests inside of a qemu image, then we don't need any of
18 if [ "$QEMU" != "" ]; then
19 tmpdir=/tmp/qemu-img-creation
20 mkdir -p "${tmpdir}"
22 if [ -z "${QEMU#*.gz}" ]; then
24 qemufile="$(echo "${QEMU%.gz}" | sed 's/\//__/g')"
25 if [ ! -f "${tmpdir}/${qemufile}" ]; then
26 curl --retry 5 "${MIRRORS_URL}/${QEMU}" | \
[all …]
DREADME.md14 * `run-docker.sh` - a shell script run by most builders, it will execute
17 * `run.sh` - the actual script which runs tests for a particular architecture.
19 * `dox.sh` - build the documentation of the crate and publish it to gh-pages.
34 * Android runs in a [docker image][android-docker] with an emulator, the NDK,
35 and the SDK already set up. The entire build happens within the docker image.
36 * The MIPS, ARM, and AArch64 builds all use the QEMU userspace emulator to run
38 * The MUSL build just has to download a MUSL compiler and target libraries and
42 * The BSD builds, currently OpenBSD and FreeBSD, use QEMU to boot up a system
45 [Actions config]: https://github.com/rust-lang/libc/tree/HEAD/.github/workflows
46 [Cirrus config]: https://github.com/rust-lang/libc/blob/HEAD/.cirrus.yml
[all …]
/third_party/rust/rust/compiler/rustc_codegen_cranelift/build_system/
Dutils.rs23 "aarch64-unknown-linux-gnu" => { in set_cross_linker_and_runner()
24 // We are cross-compiling for aarch64. Use the correct linker and run tests in qemu. in set_cross_linker_and_runner()
25 self.rustflags += " -Clinker=aarch64-linux-gnu-gcc"; in set_cross_linker_and_runner()
26 self.rustdocflags += " -Clinker=aarch64-linux-gnu-gcc"; in set_cross_linker_and_runner()
28 "qemu-aarch64".to_owned(), in set_cross_linker_and_runner()
29 "-L".to_owned(), in set_cross_linker_and_runner()
30 "/usr/aarch64-linux-gnu".to_owned(), in set_cross_linker_and_runner()
33 "s390x-unknown-linux-gnu" => { in set_cross_linker_and_runner()
34 // We are cross-compiling for s390x. Use the correct linker and run tests in qemu. in set_cross_linker_and_runner()
35 self.rustflags += " -Clinker=s390x-linux-gnu-gcc"; in set_cross_linker_and_runner()
[all …]
/third_party/skia/third_party/externals/brotli/
DCMakeLists.txt10 message(STATUS "Setting build type to Release as none was specified.")
11 set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build." FORCE)
13 message(STATUS "Build type is '${CMAKE_BUILD_TYPE}'")
24 message("-- Compiler is EMSCRIPTEN")
26 message("-- Compiler is not EMSCRIPTEN")
36 # depending on whether or not we are the top-level project.
58 string(SUBSTRING "${_tail}" 1 -1 _tail)
80 file(STRINGS "c/common/version.h" _brotli_version_line REGEX "^#define BROTLI_VERSION (0x[0-9a-fA-F…
81 string(REGEX REPLACE "^#define BROTLI_VERSION 0x([0-9a-fA-F]+)$" "\\1" _brotli_version_hex "${_brot…
90 …S "c/common/version.h" _brotli_abi_info_line REGEX "^#define BROTLI_ABI_VERSION (0x[0-9a-fA-F]+)$")
[all …]
/third_party/rust/rust/compiler/rustc_codegen_gcc/
Dconfig.sh1 set -e
5 if [ -f ./gcc_path ]; then
8 …echo 'Please put the path to your custom build of libgccjit in the file `gcc_path`, see Readme.md …
22 HOST_TRIPLE=$(rustc -vV | grep host | cut -d: -f2 | tr -d " ")
24 #TARGET_TRIPLE="m68k-unknown-linux-gnu"
29 if [[ "$TARGET_TRIPLE" == "m68k-unknown-linux-gnu" ]]; then
30 TARGET_TRIPLE="mips-unknown-linux-gnu"
31 linker='-Clinker=m68k-linux-gcc'
32 elif [[ "$TARGET_TRIPLE" == "aarch64-unknown-linux-gnu" ]]; then
33 # We are cross-compiling for aarch64. Use the correct linker and run tests in qemu.
[all …]
/third_party/toybox/www/
Dfaq.html2 <!--#include file="header.html" -->
26 <!-- get binaries -->
28 <li><h2><a href="#cross">How do I cross compile toybox?</h2></li>
30 <li><h2><a href="#mkroot">How do I build a working Linux system with toybox?</a></h2></li>
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
[all …]
/third_party/optimized-routines/
DREADME2 ----------------------
9 contributor-agreement.pdf. This is needed so upstreaming code
19 build/ - build directory (created by make).
20 math/ - math subproject sources for generic scalar
27 math/aarch64/ - math subproject AArch64-specific sources
29 math/aarch64/advsimd - AdvSIMD-specific math sources.
30 math/aarch64/experimental - Experimental math sources do not
33 math/aarch64/sve - SVE-specific math sources.
34 math/include/ - math library public headers.
35 math/test/ - math test and benchmark related sources.
[all …]
/third_party/rust/rust/library/portable-simd/.github/workflows/
Dci.yml7 - master
16 runs-on: ubuntu-latest
19 - uses: actions/checkout@v2
20 - name: Setup Rust
22 rustup update nightly --no-self-update
25 - name: Run rustfmt
26 run: cargo fmt --all -- --check
30 runs-on: ubuntu-latest
32 fail-fast: false
35 … # We shouldn't really have any OS-specific code, so think of this as a list of architectures
[all …]

123