Home
last modified time | relevance | path

Searched full:cross (Results 1 – 25 of 6730) sorted by relevance

12345678910>>...270

/external/llvm/include/llvm/IR/
DTypeBuilder.h25 /// known at compile time. To support cross-compilation, we define a
31 /// to guarantee that its result is suitable for cross-compilation.
87 // Types for use with cross-compilable TypeBuilders. These correspond
104 template<typename T, bool cross> class TypeBuilder<const T, cross>
105 : public TypeBuilder<T, cross> {};
106 template<typename T, bool cross> class TypeBuilder<volatile T, cross>
107 : public TypeBuilder<T, cross> {};
108 template<typename T, bool cross> class TypeBuilder<const volatile T, cross>
109 : public TypeBuilder<T, cross> {};
112 template<typename T, bool cross> class TypeBuilder<T*, cross> {
[all …]
/external/eigen/test/
Dgeo_orthomethods.cpp31 // cross product in orthomethods_3()
32 VERIFY_IS_MUCH_SMALLER_THAN(v1.cross(v2).dot(v1), Scalar(1)); in orthomethods_3()
33 VERIFY_IS_MUCH_SMALLER_THAN(v1.dot(v1.cross(v2)), Scalar(1)); in orthomethods_3()
34 VERIFY_IS_MUCH_SMALLER_THAN(v1.cross(v2).dot(v2), Scalar(1)); in orthomethods_3()
35 VERIFY_IS_MUCH_SMALLER_THAN(v2.dot(v1.cross(v2)), Scalar(1)); in orthomethods_3()
36 VERIFY_IS_MUCH_SMALLER_THAN(v1.cross(Vector3::Random()).dot(v1), Scalar(1)); in orthomethods_3()
39 (v0.cross(v1)).normalized(), in orthomethods_3()
40 (v0.cross(v1).cross(v0)).normalized(); in orthomethods_3()
44 VERIFY_IS_APPROX(v0.cross(mat3*v1), -(mat3*v1).cross(v0)); in orthomethods_3()
45 VERIFY_IS_APPROX(v0.cross(mat3.lazyProduct(v1)), -(mat3.lazyProduct(v1)).cross(v0)); in orthomethods_3()
[all …]
/external/toybox/mkroot/
Dmkroot.sh7 LINUX="$LINUX" CROSS="$CROSS" CROSS_COMPILE="$CROSS_COMPILE" "$0" "$@"
20 announce() { printf "\033]2;$CROSS $*\007" 2>/dev/null >/dev/tty; printf "\n=== $*\n";}
23 # ----- Are we cross compiling (via CROSS_COMPILE= or CROSS=)
29 [ -z "$CROSS" ] && CROSS=${CROSS_COMPILE/*\//} CROSS=${CROSS/-*/}
31 elif [ -n "$CROSS" ]; then # CROSS=all/allnonstop/$ARCH else list known $ARCHes
35 if [ "${CROSS::3}" == all ]; then # loop calling ourselves for each target
37 "$0" "$@" CROSS=$i || [ "$CROSS" == allnonstop ] || exit 1
40 else # Find matching cross compiler under ccc/ else list available targets
41 CROSS_COMPILE="$(echo "$CCC/$CROSS"-*cross/bin/"$CROSS"*-cc)" # wildcard
47 # Set per-target output directory (using "host" if not cross-compiling)
[all …]
DREADME15 and one or more musl cross compiler toolchain(s) in the "ccc" directory:
19 $ wget https://landley.net/bin/toolchains/latest/i686-linux-musl-cross.tar.xz
21 $ tar xvJCf ccc i686-linux-musl-cross.tar.xz
25 $ mkroot/mkroot.sh CROSS=i686 LINUX=linux
31 --- Building without a cross compiler (warning: glibc sucks)
52 Otherwise, you'll probably want to cross compile with a musl-libc toolchain
58 --- Building with a cross compiler.
61 commands such as "cc" and "ld". Since prefixed cross compiler names tend
66 If you haven't added the cross compiler to your $PATH, you can specify
69 $ mkroot/mkroot.sh CROSS_COMPILE=~/x86_64-linux-musl-cross/bin/x86_64-linux-musl-cross-
[all …]
/external/libwebsockets/READMEs/
DREADME.build.md387 For cross-build or building against local miniz, you need the following kind of
506 @section cross Cross compiling
508 To enable cross-compiling **libwebsockets** using CMake you need to create
510 CMake will then use the cross compilers and build paths specified in this file
513 …Libwebsockets** includes an example toolchain file [cross-arm-linux-gnueabihf.cmake](../contrib/cr…
516 The commandline to configure for cross with this would look like
518 $ cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr/lib/my-cross-root \
519 -DCMAKE_TOOLCHAIN_FILE=../contrib/cross-arm-linux-gnueabihf.cmake \
523 The example shows how to build with no external cross lib dependencies, you
524 need to provide the cross libraries otherwise.
[all …]
DREADME.build-android.md16 `./contrib/cross-aarch64-android.cmake` toolchain file is shipped. You can
19 ## Fetching lws (needed first for cross toolchain file)
30 The reason is that building mbedtls need the cross toolchain file from
46 cmake .. -DCMAKE_TOOLCHAIN_FILE=../libwebsockets/contrib/cross-aarch64-android.cmake \
54 The lws toolchain file sets the path to install into as the cross root path, so
62 same toolchain file that sets the cross root to the same place as mbedtls, it
69 cmake .. -DCMAKE_TOOLCHAIN_FILE=../libwebsockets/contrib/cross-aarch64-android.cmake \
77 ndk cross root.
/external/bazelbuild-rules_rust/crate_universe/tools/cross_installer/
DCross.toml2 # https://github.com/rust-embedded/cross/issues/223
4 # image = "rustembedded/cross:aarch64-apple-darwin"
7 image = "rustembedded/cross:aarch64-unknown-linux-gnu@sha256:f0695f83156b2bfd3f946637852779207ff247…
10 # https://github.com/rust-embedded/cross/issues/223
12 # image = "rustembedded/cross:x86_64-apple-darwin"
15 image = "rustembedded/cross:x86_64-pc-windows-gnu@sha256:14d1808255d9e45fb99ef175d75820c3f2194c683d…
18 # https://github.com/rust-embedded/cross/issues/487
20 # image = "rustembedded/cross:x86_64-pc-windows-msvc"
23 image = "rustembedded/cross:x86_64-unknown-linux-gnu@sha256:f279cf1a8aa8b85717cd53d48bcb2f82e01bde6…
26 image = "rustembedded/cross:x86_64-unknown-linux-musl@sha256:156c441c6b4da1d68599b9d88b4737cf05b7f1…
DBUILD.bazel10 name = "cross",
11 actual = "@cross_rs_host_bin//:cross",
19 "Cross.toml",
20 ":cross",
27 "CROSS_BIN": "$(rootpath :cross)",
28 "CROSS_CONFIG": "$(rootpath :Cross.toml)",
Dcross_installer_deps.bzl1 """Dependencies needed for the cross-installer tool"""
11 """Define cross repositories used for compiling cargo-bazel for various platforms"""
16 … urls = ["https://github.com/cross-rs/cross/archive/764d258e8b88323df7e88b1b6f178d09f951966a.zip"],
17 strip_prefix = "cross-764d258e8b88323df7e88b1b6f178d09f951966a",
29 binary = "cross",
/external/capstone/
DCOMPILE.TXT2 Linux, *BSD & Solaris. We also show steps to cross-compile for Microsoft Windows.
60 - On 64-bit OS, run the command below to cross-compile Capstone for 32-bit binary:
105 (3) Cross-compile for Windows from *nix
107 To cross-compile for Windows, Linux & gcc-mingw-w64-i686 (and also gcc-mingw-w64-x86-64
110 - To cross-compile Windows 32-bit binary, simply run:
112 $ ./make.sh cross-win32
114 - To cross-compile Windows 64-bit binary, run:
116 $ ./make.sh cross-win64
123 (4) Cross-compile for iOS from Mac OSX.
125 To cross-compile for iOS (iPhone/iPad/iPod), Mac OSX with XCode installed is required.
[all …]
Dmake.sh6 # Note: to cross-compile "nix32" on Linux, package gcc-multilib is required.
28 CROSS=arm-linux-androideabi
32 CROSS=aarch64-linux-android
50 …ANDROID=1 CROSS="${STANDALONE}/${CROSS}/bin/" CC=clang CFLAGS="--sysroot=${STANDALONE}/sysroot" ${…
124 "cross-win32" ) CROSS=i686-w64-mingw32- ${MAKE} $*;;
125 "cross-win64" ) CROSS=x86_64-w64-mingw32- ${MAKE} $*;;
126 "cygwin-mingw32" ) CROSS=i686-pc-mingw32- ${MAKE} $*;;
127 "cygwin-mingw64" ) CROSS=x86_64-w64-mingw32- ${MAKE} $*;;
128 "cross-android" ) build_android $*;;
129 "cross-android64" ) CROSS=aarch64-linux-gnu- ${MAKE} $*;; # Linux cross build
/external/rust/android-crates-io/crates/taffy/src/compute/
Dflexbox.rs36 /// The cross-alignment of this item
93 /// A temporary value for the cross offset
111 /// The dimensions of the cross-axis
113 /// The relative offset of the cross-axis
242 // 2. Determine the available main and cross space for the flex items in compute_preliminary()
297 // 9.4. Cross Size Determination in compute_preliminary()
299 // 7. Determine the hypothetical cross size of each item. in compute_preliminary()
310 // 8. Calculate the cross size of each flex line. in compute_preliminary()
319 // note the cross size of the line they’re in as the item’s strut size, and restart in compute_preliminary()
325 // calculating the cross size of the lines, if any line’s cross size is less than the in compute_preliminary()
[all …]
/external/mesa3d/.gitlab-ci/meson/
Dbuild.sh8 section_switch meson-cross-file "meson: cross file generate"
18 CROSS_FILE=/cross_file-"$CROSS".txt
29 # tweak the cross file or generate a native file to do so.
33 if [ -n "$CROSS" ]; then
39 # cross-xfail-$CROSS, if it exists, contains a list of tests that are expected
40 # to fail for the $CROSS configuration, one per line. you can then mark those
48 # not cross-compiling (which is empty, because for amd64 everything is
50 if [ -n "$CROSS" ]; then
51 CROSS_XFAIL=.gitlab-ci/cross-xfail-"$CROSS"
68 # Compile a host version for the few tools we need for a cross build (for
[all …]
/external/virglrenderer/.gitlab-ci/meson/
Dbuild.sh6 CROSS_FILE=/cross_file-"$CROSS".txt
9 # tweak the cross file or generate a native file to do so.
13 if [ -n "$CROSS" ]; then
22 # cross-xfail-$CROSS, if it exists, contains a list of tests that are expected
23 # to fail for the $CROSS configuration, one per line. you can then mark those
31 # not cross-compiling (which is empty, because for amd64 everything is
33 if [ -n "$CROSS" ]; then
34 CROSS_XFAIL=.gitlab-ci/cross-xfail-"$CROSS"
65 ${CROSS+--cross "$CROSS_FILE"} \
/external/freetype/docs/
DINSTALL.CROSS1 This document contains instructions on how to cross-build the FreeType
15 The GNU C compiler to cross-build the target system is required.
16 Currently, using a non-GNU cross compiler is untested. The cross
19 system is Linux/MIPS, the cross compiler should be installed with
32 To configure a cross-build, the options `--host=<system>' and
55 `configure' script while trying to find the cross and native C
66 cross-building system, the prefix is expected to be different
72 use a prefix to install the cross-build into a separate system
87 (cross-compiled) libraries on the build system.
96 cross-compile and cross-link with the target platform's
[all …]
/external/clang/docs/
DCrossCompilation.rst2 Cross-compilation using Clang
9 for cross-compiling your code to a different architecture. It assumes you
17 `instructions for cross-compiling LLVM itself
21 related to cross-compilation, and what main compiler options Clang provides
22 for performing cross-compilation.
24 Cross compilation issues
33 On the other hand, Clang/LLVM is natively a cross-compiler, meaning that
40 But, as is true to any cross-compiler, and given the complexity of
56 true when your cross-compiler was installed by the distribution's package
68 General Cross-Compilation Options in Clang
[all …]
/external/ltp/.github/workflows/
Dci-docker-build.yml23 # cross compilation builds
30 VARIANT: cross-compile
38 VARIANT: cross-compile
46 VARIANT: cross-compile
148 … case "$VARIANT" in cross-compile*) BUILD="cross";; i386) BUILD="32";; *) BUILD="native";; esac
156 … case "$VARIANT" in cross-compile*) BUILD="cross";; i386) BUILD="32";; *) BUILD="native";; esac
161 … case "$VARIANT" in cross-compile*) BUILD="cross";; i386) BUILD="32";; *) BUILD="native";; esac
166 … case "$VARIANT" in cross-compile*) BUILD="cross";; i386) BUILD="32";; *) BUILD="native";; esac
/external/pytorch/aten/src/ATen/native/
DCross.cpp2 #include <ATen/native/Cross.h>
27 // linalg.cross(torch.randn(2, 3), torch.randn(5, 2, 3), dim=2) in TORCH_META_FUNC()
28 TORCH_CHECK(x_d == y_d, "linalg.cross: inputs must have the same number of dimensions."); in TORCH_META_FUNC()
29 …TORCH_CHECK(input.size(dim) == 3 && other.size(dim) == 3, "linalg.cross: inputs dimension ", dim, … in TORCH_META_FUNC()
46 // _default_cross_dim is called internally inside the cross implementation to calculate in _default_cross_dim()
47 // the dim and finally cross delegates to the linalg_cross implementation with this dim in _default_cross_dim()
60 Tensor cross(const Tensor & input, const Tensor & other, const std::optional<int64_t> dimension) { in cross() function
63 "Using torch.cross without specifying the dim arg is deprecated.\n", in cross()
64 "Please either pass the dim explicitly or simply use torch.linalg.cross.\n", in cross()
65 "The default value of dim will change to agree with that of linalg.cross in a future release." in cross()
/external/libaom/build/cmake/toolchains/
Darm64-mingw-gcc.cmake19 if("${CROSS}" STREQUAL "")
21 # Default the cross compiler prefix to one used by MSYS2.
22 set(CROSS aarch64-w64-mingw32-) variable
26 set(CMAKE_C_COMPILER ${CROSS}gcc)
29 set(CMAKE_CXX_COMPILER ${CROSS}g++)
32 set(CMAKE_AR ${CROSS}ar CACHE FILEPATH Archiver)
35 set(CMAKE_RANLIB ${CROSS}ranlib CACHE FILEPATH Indexer)
Dx86_64-mingw-gcc.cmake19 if("${CROSS}" STREQUAL "")
21 # Default the cross compiler prefix to one used by Debian and other package
23 set(CROSS x86_64-w64-mingw32-) variable
27 set(CMAKE_C_COMPILER ${CROSS}gcc)
30 set(CMAKE_CXX_COMPILER ${CROSS}g++)
33 set(CMAKE_AR ${CROSS}ar CACHE FILEPATH Archiver)
36 set(CMAKE_RANLIB ${CROSS}ranlib CACHE FILEPATH Indexer)
Darmv7-mingw-gcc.cmake19 if("${CROSS}" STREQUAL "")
21 # Default the cross compiler prefix to one used by MSYS2.
22 set(CROSS armv7-w64-mingw32-) variable
26 set(CMAKE_C_COMPILER ${CROSS}gcc)
29 set(CMAKE_CXX_COMPILER ${CROSS}g++)
32 set(CMAKE_AR ${CROSS}ar CACHE FILEPATH Archiver)
35 set(CMAKE_RANLIB ${CROSS}ranlib CACHE FILEPATH Indexer)
Dx86-mingw-gcc.cmake22 if("${CROSS}" STREQUAL "")
24 # Default the cross compiler prefix to one used by Debian and other package
26 set(CROSS i686-w64-mingw32-) variable
30 set(CMAKE_C_COMPILER ${CROSS}gcc)
33 set(CMAKE_CXX_COMPILER ${CROSS}g++)
36 set(CMAKE_AR ${CROSS}ar CACHE FILEPATH Archiver)
39 set(CMAKE_RANLIB ${CROSS}ranlib CACHE FILEPATH Indexer)
Darmv7-linux-gcc.cmake18 if("${CROSS}" STREQUAL "")
20 # Default the cross compiler prefix to one used by Debian and other package
22 set(CROSS arm-linux-gnueabihf-) variable
25 if(NOT ${CROSS} MATCHES hf-$)
30 set(CMAKE_C_COMPILER ${CROSS}gcc)
33 set(CMAKE_CXX_COMPILER ${CROSS}g++)
36 set(CMAKE_ASM_COMPILER ${CROSS}as)
/external/tensorflow/tensorflow/lite/tools/pip_package/
DREADME.md23 the following command will cross-compile tflite-runtime package for python2.7
31 Another option is to cross-compile for python3.5 (from Debian Stretch) on ARM64
56 This approach can leverage TF's ci_build.sh for ARM cross builds.
72 ### Cross build for armhf Python 3.5
79 ### Cross build for armhf Python 3.7
86 ### Cross build for aarch64 Python 3.5
93 ### Cross build for aarch64 Python 3.8
100 ### Cross build for aarch64 Python 3.9
128 ### Cross build with Flex for armhf Python 3.7
147 the future, cross compilation to smaller SOCs like Raspberry Pi from
/external/bazelbuild-rules_rust/crate_universe/tools/cross_installer/src/
Dmain.rs1 //! A utility for cross compiling binaries using Cross
21 /// Prepare cross for building.
23 // Unfortunately, cross runs into issues when cross compiling incrementally. in prepare_workspace()
35 let cross = env::current_dir().unwrap().join(env!("CROSS_BIN")); in execute_cross() localVariable
36 let status = Command::new(cross) in execute_cross()
44 // https://github.com/cross-rs/cross/issues/1447 in execute_cross()

12345678910>>...270