Home
last modified time | relevance | path

Searched +full:- +full:- +full:cross +full:- +full:file (Results 1 – 25 of 1018) sorted by relevance

12345678910>>...41

/third_party/libwebsockets/READMEs/
DREADME.build.md8 ./bootstrap-vcpkg.sh
16 CMake is a multi-platform build tool that can generate build files for many
19 CMake also allows/recommends you to do "out of source"-builds, that is,
27 - Windows (Visual Studio)
28 - Windows (MinGW)
29 - Linux (x86 and ARM)
30 - OSX
31 - NetBSD
38 output a Visual Studio project or Make file for instance. To see a list of
67 project file. All examples in this file assumes you use ".."
[all …]
DREADME.build-android.md16 `./contrib/cross-aarch64-android.cmake` toolchain file is shipped. You can
17 adapt some settings at the top of that file including the path if needed.
19 ## Fetching lws (needed first for cross toolchain file)
25 - /home/someone
26 - /home/someone/libwebsockets
27 - /home/someone/mbedtls
30 The reason is that building mbedtls need the cross toolchain file from
45 $ rm -f CMakeCache.txt && \
46 cmake .. -DCMAKE_TOOLCHAIN_FILE=../libwebsockets/contrib/cross-aarch64-android.cmake \
47 -DUSE_SHARED_MBEDTLS_LIBRARY=1 \
[all …]
DREADME.porting.md5 handling to platform-specific code in `./lib/plat/`.
7 Depending o which platform is built, different platform-specific implementations
10 ## 1) Prepare the cmake cross-build file if necessary
12 CMake isolates its settings for cross-build into a separate file, which can be
15 Find a similar examples already in `./contrib/cross-*` and copy and adapt it
18 All settings related to toolchain should go in there. For cross-toolchain,
33 ## 4) Add a section to force-select and deselect other cmake options based on platform flag
55 You can now do test builds using the cross-build file, your platform flag in
/third_party/mesa3d/.gitlab-ci/meson/
Dbuild.sh3 set -e
4 set -o xtrace
6 CROSS_FILE=/cross_file-"$CROSS".txt
8 # We need to control the version of llvm-config we're using, so we'll
9 # tweak the cross file or generate a native file to do so.
10 if test -n "$LLVM_VERSION"; then
11 LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
12 echo -e "[binaries]\nllvm-config = '`which $LLVM_CONFIG`'" > native.file
13 if [ -n "$CROSS" ]; then
14 sed -i -e '/\[binaries\]/a\' -e "llvm-config = '`which $LLVM_CONFIG`'" $CROSS_FILE
[all …]
/third_party/skia/third_party/externals/freetype/docs/
DINSTALL.CROSS1 This document contains instructions on how to cross-build the FreeType
4 file `INSTALL.UNIX' for required tools and the basic self-building
9 -----------------
11 For self-building the FreeType library on a Unix system, GNU Make
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
20 the name `mips-ip22-linuxelf-gcc'.
22 A C compiler for a self-build is required also, to build a tool
23 (`apinames') that is executed during the build procedure. Non-GNU
[all …]
/third_party/mesa3d/docs/
Dmeson.rst5 ---------------
19 <https://mesonbuild.com/Getting-meson.html>`__ to install the
25 Unix-like OSes
31 .. code-block:: console
33 sudo apt-get install meson # Ubuntu
37 .. code-block:: console
44 You'll also need `Ninja <https://ninja-build.org/>`__. If it's not
45 already installed, use apt-get or dnf to install the *ninja-build*
53 modules (Mako). You also need pkg-config (a hard dependency of Meson),
57 .. code-block:: console
[all …]
Dandroid.rst6 of Android, or out-of-tree using the Meson build system and the
15 ------------------------------
18 Then, create your meson cross file to use it, something like this
19 ``~/.local/share/meson/cross/android-aarch64`` file::
22 ar = 'NDKDIR/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-ar'
23 c = ['ccache', 'NDKDIR/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android29-clang']
24 …built/linux-x86_64/bin/aarch64-linux-android29-clang++', '-fno-exceptions', '-fno-unwind-tables', …
27 strip = 'NDKDIR/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip'
28 # Android doesn't come with a pkg-config, but we need one for meson to be happy not
29 # finding all the optional deps it looks for. Use system pkg-config pointing at a
[all …]
/third_party/skia/third_party/externals/spirv-cross/
DREADME.md1 <!--
2 Copyright 2020-2021 The Khronos Group, Inc.
3 SPDX-License-Identifier: CC-BY-4.0
4 -->
6 # SPIRV-Cross
8 SPIRV-Cross is a tool designed for parsing and converting SPIR-V to other shader languages.
10 …://github.com/KhronosGroup/SPIRV-Cross/actions/workflows/main.yml/badge.svg)](https://github.com/K…
11 …atus/github/KhronosGroup/SPIRV-Cross?svg=true&branch=master)](https://ci.appveyor.com/project/Hans…
15 - Convert SPIR-V to readable, usable and efficient GLSL
16 - Convert SPIR-V to readable, usable and efficient Metal Shading Language (MSL)
[all …]
DCMakeLists.txt1 # Copyright 2016-2021 Google Inc.
2 # SPDX-License-Identifier: Apache-2.0 OR MIT
5 # you may not use this file except in compliance with the License.
8 # http://www.apache.org/licenses/LICENSE-2.0
18 # 1. The Apache License, Version 2.0, found at <http://www.apache.org/licenses/LICENSE-2.0>, or
31 project(SPIRV-Cross LANGUAGES CXX C)
40 option(SPIRV_CROSS_ENABLE_TESTS "Enable SPIRV-Cross tests." ON)
63 option(SPIRV_CROSS_FORCE_PIC "Force position-independent code for all targets." OFF)
71 set(spirv-compiler-options "")
72 set(spirv-compiler-defines "")
[all …]
/third_party/skia/infra/bots/assets/armhf_sysroot/
Dcreate.py5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file.
26 print("Installing some cross-compiling packages. Hit enter to continue.")
29 "sudo","apt-get","install",
30 "libstdc++-6-dev-armhf-cross",
31 "libgcc-6-dev-armhf-cross",
32 "binutils-arm-linux-gnueabihf"
36 shutil.copytree('/usr/arm-linux-gnueabihf', target_dir)
37 shutil.copytree('/usr/lib/gcc-cross/arm-linux-gnueabihf/6',
38 os.path.join(target_dir, 'gcc-cross'))
[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
30 LDFLAGS="--static" CROSS_COMPILE=armv5l- make defconfig toybox
33 The file "configure" defines default values for many environment variables
35 environment, your value is used instead of the default in that file.
38 toybox to run on the current machine. Cross compiling requires an appropriately
[all …]
/third_party/mesa3d/.gitlab-ci/container/debian/
Dandroid_build.sh3 set -ex
11 apt-get install -y --no-remove $EPHEMERAL
14 ndk=android-ndk-r21d
15 wget -O $ndk.zip https://dl.google.com/android/repository/$ndk-linux-x86_64.zip
16 unzip -d / $ndk.zip "$ndk/toolchains/llvm/*"
18 # Since it was packed as a zip file, symlinks/hardlinks got turned into
20 rdfind -makehardlinks true -makeresultsfile false /android-ndk-r21d/
22 find /android-ndk-r21d/ -type f | egrep -i "clang-check|clang-tidy|lldb" | xargs rm -f
24 sh .gitlab-ci/container/create-android-ndk-pc.sh /$ndk zlib.pc "" "-lz" "1.2.3"
26 sh .gitlab-ci/container/create-android-cross-file.sh /$ndk x86_64-linux-android x86_64 x86_64
[all …]
/third_party/curl/scripts/
DMakefile.am10 # This software is licensed as described in the file COPYING, which
16 # furnished to do so, under the terms of the COPYING file.
21 # SPDX-License-Identifier: curl
25 EXTRA_DIST = coverage.sh completion.pl firefox-db2pem.sh checksrc.pl \
26 mk-ca-bundle.pl schemetable.c cd2nroff nroff2cd cdall cd2cd managen \
42 all-local: $(ZSH_COMPLETION_FUNCTION_FILENAME) $(FISH_COMPLETION_FUNCTION_FILENAME)
47 @echo "NOTICE: we can't generate zsh completion when cross-compiling!"
48 else # if not cross-compiling:
49 if test -z "$(PERL)"; then echo "No perl: can't install completion script"; else \
50 $(PERL) $(srcdir)/completion.pl --curl $(top_builddir)/src/curl$(EXEEXT) --shell zsh > $@ ; fi
[all …]
/third_party/mindspore/mindspore-src/source/tests/st/ops/cpu/
Dtest_cross_op.py4 # you may not use this file except in compliance with the License.
7 # http://www.apache.org/licenses/LICENSE-2.0
25 Feature: test cross functional API.
26 Description: test case for cross functional API.
29 a = Tensor([[-0.3956, 1.1455, 1.6895],
30 [-0.5849, 1.3672, 0.3599],
31 [-1.1626, 0.7180, -0.0521],
32 [-0.1339, 0.9902, -2.0225]], mstype.float32)
33 b = Tensor([[-0.0257, -1.4725, -1.2251],
34 [-1.1479, -0.7005, -1.9757],
[all …]
/third_party/googletest/docs/
Dpkgconfig.md3 GoogleTest comes with pkg-config files that can be used to determine all
5 Pkg-config is a standardised plain-text format containing
7 * the includedir (-I) path
8 * necessary macro (-D) definitions
9 * further required flags (-pthread)
10 * the library (-L) path
11 * the library (-l) to link to
13 All current build systems support pkg-config in one way or another. For all
19 Using `pkg-config` in CMake is fairly easy:
40 just -I flags (GoogleTest might require a macro indicating to internal headers
[all …]
/third_party/libwebsockets/contrib/
Dcross-w64.cmake2 # CMake Toolchain file for crosscompiling on 64bit Windows platforms.
6 # cmake .. -DCMAKE_TOOLCHAIN_FILE=../contrib/cross-w64.cmake
9 # the outermost path to your cross toolchain
12 # your cross root
13 set(CROSS_ROOT ${CROSS_PATH}/x86_64-w64-mingw32/sys-root/)
20 set(CMAKE_C_COMPILER "${CROSS_PATH}/bin/x86_64-w64-mingw32-gcc")
21 set(CMAKE_CXX_COMPILER "${CROSS_PATH}/bin/x86_64-w64-mingw32-g++")
22 set(CMAKE_RC_COMPILER "${CROSS_PATH}/bin/x86_64-w64-mingw32-windres")
23 set(CMAKE_C_FLAGS "-Wno-error")
27 # things according to their local policy, eg, Fedora is -O2 and Ubuntu is -O3
[all …]
Dcross-w32.cmake2 # CMake Toolchain file for crosscompiling on 32bit Windows platforms.
6 # cmake .. -DCMAKE_TOOLCHAIN_FILE=../contrib/cross-w32.cmake -DLWS_WITH_SSL=0
9 # the outermost path to your cross toolchain
12 # your cross root
13 set(CROSS_ROOT ${CROSS_PATH}/i686-w64-mingw32/sys-root/)
19 set(CMAKE_C_COMPILER "${CROSS_PATH}/bin/i686-w64-mingw32-gcc")
20 set(CMAKE_CXX_COMPILER "${CROSS_PATH}/bin/i686-w64-mingw32-g++")
21 set(CMAKE_RC_COMPILER "${CROSS_PATH}/bin/i686-w64-mingw32-windres")
25 # things according to their local policy, eg, Fedora is -O2 and Ubuntu is -O3
27 # our desire for cross-build release optimization policy for code built to run
[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>
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>
[all …]
/third_party/skia/docs/examples/
DPoint_cross.cpp3 // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
10 SkVector vectors[][2] = {{{50, 2}, {-14, 20}}, {{0, 50}, {-50, 0}}, {{-20, 25}, {25, -20}},
11 {{-20, -24}, {-24, -20}}};
16 canvas->drawLine(center[i], center[i] + vectors[i][0], paint);
18 canvas->drawLine(center[i], center[i] + vectors[i][1], paint);
20 SkScalar cross = vectors[i][0].cross(vectors[i][1]);
21 str.printf("cross = %g", cross);
22 paint.setColor(cross >= 0 ? SK_ColorRED : SK_ColorBLUE);
23 canvas->drawString(str, center[i].fX, center[i].fY, paint);
DPoint_CrossProduct.cpp3 // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
10 SkVector vectors[][2] = {{{50, 2}, {-14, 20}}, {{0, 50}, {-50, 0}}, {{-20, 25}, {25, -20}},
11 {{-20, -24}, {-24, -20}}};
16 canvas->drawLine(center[i], center[i] + vectors[i][0], paint);
18 canvas->drawLine(center[i], center[i] + vectors[i][1], paint);
20 SkScalar cross = SkPoint::CrossProduct(vectors[i][1], vectors[i][0]);
21 str.printf("cross = %g", cross);
22 paint.setColor(cross >= 0 ? SK_ColorRED : SK_ColorBLUE);
23 canvas->drawString(str, center[i].fX, center[i].fY, paint);
/third_party/skia/tests/
DGrVxTest.cpp4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
19 REPORTER_ASSERT(r, grvx::cross({0,1}, {0,1}) == 0); in DEF_TEST()
20 REPORTER_ASSERT(r, grvx::cross({1,0}, {1,0}) == 0); in DEF_TEST()
21 REPORTER_ASSERT(r, grvx::cross({1,1}, {1,1}) == 0); in DEF_TEST()
22 REPORTER_ASSERT(r, grvx::cross({1,1}, {1,-1}) == -2); in DEF_TEST()
23 REPORTER_ASSERT(r, grvx::cross({1,1}, {-1,1}) == 2); in DEF_TEST()
27 REPORTER_ASSERT(r, grvx::dot({1,1}, {1,-1}) == 0); in DEF_TEST()
29 REPORTER_ASSERT(r, grvx::dot({1,1}, {-1,-1}) == -2); in DEF_TEST()
33 float a=rand.nextRangeF(-1,1), b=rand.nextRangeF(-1,1), c=rand.nextRangeF(-1,1), in DEF_TEST()
[all …]
/third_party/openssl/test/
Ddane-cross.in1 # Copyright 2016-2022 The OpenSSL Project Authors. All Rights Reserved.
4 # this file except in compliance with the License. You can obtain a copy
5 # in the file LICENSE in the source distribution or at
12 # <TLSA-count> <cert-count> <nonamechecks> <desired-verify-result> <desired-match-depth>
14 # It is followed by <TLSA-count> lines of the form:
16 # <usage> <selector> <mtype> <hex-data>
18 # and finally, by <cert-count> certificates.
22 # cross-cert.
29 -----BEGIN CERTIFICATE-----
47 -----END CERTIFICATE-----
[all …]
/third_party/python/Tools/wasm/
DREADME.md3 **WARNING: WASM support is work-in-progress! Lots of features are not working yet.**
5 This directory contains configuration and helpers to facilitate cross
7 (*wasm32-emscripten*) and WASI (*wasm32-wasi*) targets. Emscripten builds
15 ## wasm32-emscripten build
18 target (``--with-emscripten-target=browser``) is optimized for browsers.
21 access the file system directly.
23 Cross compiling to the wasm32-emscripten platform needs the
29 build dependencies, WASI-SDK, wasmtime, and several additional tools.
35 podman run --rm -ti -v $(pwd):/python-wasm/cpython:Z -w /python-wasm/cpython quay.io/tiran/cpythonb…
38 docker run --rm -ti -v $(pwd):/python-wasm/cpython -w /python-wasm/cpython quay.io/tiran/cpythonbui…
[all …]
/third_party/skia/buildtools/reclient_cfgs/
Dfetch_reclient_cfgs.py3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
31 ['git', 'log', '-1', '--format=%H'],
33 ).decode('utf-8').strip()
38 ['cipd', 'ensure', '-root', directory,
39 '-ensure-file', '-'],
40 input=('%s %s' % (pkg_name, ref)).encode('utf-8'))
47 m = re.fullmatch(r'projects/([-\w]+)/instances/[-\w]+', instance)
54 parser.add_argument('--rbe_project',
57 parser.add_argument('--cipd_prefix',
[all …]
/third_party/mesa3d/.gitlab-ci/
Dprepare-artifacts.sh3 set -e
4 set -o xtrace
6 CROSS_FILE=/cross_file-"$CROSS".txt
9 rm -rf install/bin install/include
12 if [ -n "$CROSS" ]; then
13 STRIP=`sed -n -E "s/strip\s*=\s*'(.*)'/\1/p" "$CROSS_FILE"`
14 if [ -z "$STRIP" ]; then
15 echo "Failed to find strip command in cross file"
21 if [ -z "$ARTIFACTS_DEBUG_SYMBOLS" ]; then
22 find install -name \*.so -exec $STRIP {} \;
[all …]

12345678910>>...41