Home
last modified time | relevance | path

Searched +full:cmake +full:- +full:toolchains (Results 1 – 25 of 54) sorted by relevance

123

/third_party/skia/third_party/externals/tint/
DREADME.md9 * CMake (3.10.2 or later)
15 * `TINT_BUILD_SPV_READER` : enable the SPIR-V input reader (off by default)
17 * `TINT_BUILD_SPV_WRITER` : enable the SPIR-V output writer (on by default)
25 [depot_tools]: http://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html…
37 # Fetch external dependencies and toolchains with gclient
41 ### Compiling using CMake + Ninja
43 mkdir -p out/Debug
45 cmake -GNinja ../..
49 ### Compiling using CMake + make
51 mkdir -p out/Debug
[all …]
/third_party/skia/m133/third_party/externals/libyuv/docs/
Dgetting_started.md5 ## Pre-requisites
7 …need to have depot tools installed: https://www.chromium.org/developers/how-tos/install-depot-tools
14 gclient config --name src https://chromium.googlesource.com/libyuv/libyuv
62 call gn gen out\Release "--args=is_debug=false target_cpu=\"x64\""
63 call gn gen out\Debug "--args=is_debug=true target_cpu=\"x64\""
64 ninja -v -C out\Release
65 ninja -v -C out\Debug
67 call gn gen out\Release "--args=is_debug=false target_cpu=\"x86\""
68 call gn gen out\Debug "--args=is_debug=true target_cpu=\"x86\""
69 ninja -v -C out\Release
[all …]
Ddeprecated_builds.md5 ## Pre-requisites
7 …need to have depot tools installed: https://www.chromium.org/developers/how-tos/install-depot-tools
77 call python gyp_libyuv -fninja -G msvs_version=2013
78 ninja -j7 -C out\Release
79 ninja -j7 -C out\Debug
82 call python gyp_libyuv -fninja -G msvs_version=2013
83 ninja -C out\Debug_x64
84 ninja -C out\Release_x64
89 call python gyp_libyuv -fninja libyuv_test.gyp
90 ninja -C out\Debug
[all …]
/third_party/glfw/docs/
Dcompile.md11 ## Using CMake {#compile_cmake}
13 GLFW behaves like most other libraries that use CMake so this guide mostly
16 compile_deps and @ref compile_options sections for GLFW-specific information.
18 GLFW uses [CMake](https://cmake.org/) to generate project files or makefiles
20 files with CMake and then use them to compile the GLFW library.
23 CMake](https://cmake.org/download/) from their site.
25 If you are on a Unix-like system such as Linux, FreeBSD or Cygwin or have
26 a package system like Fink, MacPorts or Homebrew, you can install its CMake
29 CMake is a complex tool and this guide will only show a few of the possible ways
30 to set up and compile GLFW. The CMake project has their own much more detailed
[all …]
/third_party/mesa3d/.gitlab-ci/container/
Dbuild-android-x86_64-llvm.sh3 set -exu
5 # If CI vars are not set, assign an empty value, this prevents -u to fail
9 # Early check for required env variables, relies on `set -u`
18 # Check for CI if the auth file used later on is non-empty
19 if [ -n "$CI" ] && [ ! -s "${S3_JWT_FILE}" ]; then
24 if curl -s -o /dev/null -I -L -f --retry 4 --retry-delay 15 "https://${S3_HOST}/${S3_ANDROID_BUCKET…
25 echo "Artifact ${ANDROID_LLVM_ARTIFACT_NAME}.tar.zst already exists, skip re-building."
29 curl -L --retry 4 -f --retry-all-errors --retry-delay 60 \
30-o "/${ANDROID_LLVM_ARTIFACT_NAME}.tar.zst" "https://${S3_HOST}/${S3_ANDROID_BUCKET}/${CI_PROJECT_…
31 tar -C / --zstd -xf "/${ANDROID_LLVM_ARTIFACT_NAME}.tar.zst"
[all …]
/third_party/vk-gl-cts/external/amber/src/kokoro/scripts/linux/
Dbuild_dawn-docker.sh9 # http://www.apache.org/licenses/LICENSE-2.0
17 set -e # fail on error
19 . /bin/using.sh # Declare the bash `using` function for configuring toolchains.
21 set -x # show commands
23 # Disable git's "detected dubious ownership" error - kokoro checks out the repo with a different
25 git config --global --add safe.directory '*'
27 using cmake-3.17.2
28 using ninja-1.10.0
30 if [ ! -z "$COMPILER" ]; then
44 mkdir -p $ROOT_DIR/build/out/dawn-deps && cd $ROOT_DIR/build/out/dawn-deps
[all …]
Dbuild-docker.sh9 # http://www.apache.org/licenses/LICENSE-2.0
17 set -e # fail on error
19 . /bin/using.sh # Declare the bash `using` function for configuring toolchains.
21 set -x # show commands
23 # Disable git's "detected dubious ownership" error - kokoro checks out the repo with a different
25 git config --global --add safe.directory '*'
27 using cmake-3.17.2
28 using ninja-1.10.0
30 if [ ! -z "$COMPILER" ]; then
45 DEPS_ARGS+=" --with-clspv"
[all …]
/third_party/libwebsockets/READMEs/
DREADME.build-android.md3 If you have the ndk and prebuilt toolchains with that, you can simply build
4 lws library for your android app from one cmake and one make command.
7 to that first. But if it's a cmake project like mbedtls, that also is just a
8 matter of one cmake and one make.
16 `./contrib/cross-aarch64-android.cmake` toolchain file is shipped. You can
25 - /home/someone
26 - /home/someone/libwebsockets
27 - /home/someone/mbedtls
45 $ rm -f CMakeCache.txt && \
46 cmake .. -DCMAKE_TOOLCHAIN_FILE=../libwebsockets/contrib/cross-aarch64-android.cmake \
[all …]
/third_party/mesa3d/.gitlab-ci/container/debian/
Dandroid_build.sh5 # .gitlab-ci/image-tags.yml tags:
8 set -e
10 . .gitlab-ci/setup-test-env.sh
12 set -x
20 apt-get install -y --no-remove "${EPHEMERAL[@]}"
23 ndk="android-ndk-${ANDROID_NDK_VERSION}"
24 curl -L --retry 4 -f --retry-all-errors --retry-delay 60 \
25 -o $ndk.zip https://dl.google.com/android/repository/$ndk-linux.zip
26 unzip -d / $ndk.zip "$ndk/source.properties" "$ndk/build/cmake/*" "$ndk/toolchains/llvm/*"
30 rdfind -makehardlinks true -makeresultsfile false /${ndk}/
[all …]
/third_party/libwebsockets/contrib/
Dcross-aarch64-android.cmake2 # CMake Toolchain file for crosscompiling Android / aarch64
4 # This can be used when running cmake in the following way:
6 # cmake .. -DCMAKE_TOOLCHAIN_FILE=contrib/cross-aarch64-android.cmake
14 set(CROSS_SYSROOT "${NDK}/platforms/android-${ANDROID_API_VER}/arch-${ABARCH1}")
15 set(BUILD_ARCH linux-x86_64)
20 set(TC_PATH ${NDK}/toolchains/llvm/prebuilt/${BUILD_ARCH})
21 set(TC_BASE ${TC_PATH}/bin/${CMAKE_SYSTEM_PROCESSOR}-linux-android)
24 set(CMAKE_C_COMPILER "${TC_BASE}${ANDROID_API_VER}-clang")
25 set(CMAKE_CXX_COMPILER "${TC_BASE}${ANDROID_API_VER}-clang++")
30 # things according to their local policy, eg, Fedora is -O2 and Ubuntu is -O3
[all …]
/third_party/glslang/kokoro/linux-gcc-cmake/
Dbuild-docker.sh36 set -e # Fail on any error.
38 . /bin/using.sh # Declare the bash `using` function for configuring toolchains.
40 set -x # Display commands being run.
42 using cmake-3.17.2
43 using gcc-9
44 using ninja-1.10.0
49 cmake "$ROOT_DIR" -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$(pwd)/install" -DBUIL…
/third_party/glslang/kokoro/linux-clang-cmake/
Dbuild-docker.sh36 set -e # Fail on any error.
38 . /bin/using.sh # Declare the bash `using` function for configuring toolchains.
40 set -x # Display commands being run.
42 using cmake-3.17.2
43 using clang-10.0.0
44 using ninja-1.10.0
49 cmake "$ROOT_DIR" -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$(pwd)/install" -DBUIL…
/third_party/skia/third_party/externals/tint/kokoro/linux/
Ddocker.sh9 # https://www.apache.org/licenses/LICENSE-2.0
17 set -e # Fail on any error.
19 function show_cmds { set -x; }
26 if [ ! -z "${TASK_NAME}" ]; then
47 if [[ $ATTEMPT -ge $MAX_ATTEMPTS ]]; then
59 . /bin/using.sh # Declare the bash `using` function for configuring toolchains.
62 using go-1.14.4 # Speeds up ./tools/lint
63 using doxygen-1.8.18
67 mkdir -p ${SRC_DIR}
79 if [ "$BUILD_SYSTEM" == "cmake" ]; then
[all …]
/third_party/libwebsockets/test-apps/android/app/src/main/jni/
DNativeLibs.mk28 # zlib-1.2.8.tar.gz
29 # openssl-1.0.2g.tar.gz
39 # At least on Debian, building openssl requires package xutils-dev
41 # installed, but xutils-dev is not that obvious in this case...
50 -include Application.mk
56 NDK_ROOT := /opt/Android/SDK/ndk-bundle
68 NDK_APP_ABI = armeabi armeabi-v7a arm64-v8a mips mips64 x86 x86_64
78 APP_PLATFORM = android-21
97 ZLIB_TGZ_SOURCE := zlib-$(ZLIB_VERSION).tar.gz
100 OPENSSL_TGZ_SOURCE := openssl-$(OPENSSL_VERSION).tar.gz
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/kokoro/ubuntu/
Ddocker.sh9 # https://www.apache.org/licenses/LICENSE-2.0
17 set -e # Fail on any error.
19 function show_cmds { set -x; }
29 . /bin/using.sh # Declare the bash `using` function for configuring toolchains.
32 git submodule update --init
35 using gcc-9 # Always update gcc so we get a newer standard library.
37 if [ "$BUILD_SYSTEM" == "cmake" ]; then
38 using cmake-3.17.2
41 BUILD_DIR=/tmp/marl-build
45 COMMON_CMAKE_FLAGS+=" -DCMAKE_BUILD_TYPE=${BUILD_TYPE}"
[all …]
/third_party/libuv/.github/workflows/
DCI-win.yml1 name: CI-win
6 - '**'
7 - '!docs/**'
8 - '!src/unix/**'
9 - '!.**'
10 - '.github/workflows/CI-win.yml'
13 - v[0-9].*
14 - master
17 build-windows:
18 runs-on: windows-${{ matrix.config.server }}
[all …]
/third_party/spirv-tools/kokoro/scripts/linux/
Dbuild-docker.sh8 # http://www.apache.org/licenses/LICENSE-2.0
19 set -e
21 set -x
26 git config --global --add safe.directory $ROOT_DIR
28 . /bin/using.sh # Declare the bash `using` function for configuring toolchains.
31 using clang-10.0.0
33 using gcc-9
40 if [[ -d "$dir" ]]; then
41 rm -fr "$dir"
46 if [ $TOOL != "cmake-smoketest" ]; then
[all …]
/third_party/skia/third_party/externals/spirv-tools/kokoro/scripts/linux/
Dbuild-docker.sh8 # http://www.apache.org/licenses/LICENSE-2.0
19 set -e
21 set -x
23 . /bin/using.sh # Declare the bash `using` function for configuring toolchains.
26 using clang-10.0.0
28 using gcc-9
36 if [[ ! -d "$dir" ]]; then
43 if [[ -d "$dir" ]]; then
44 rm -fr "$dir"
49 clone_if_missing https://github.com/KhronosGroup/SPIRV-Headers external/spirv-headers --depth=1
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/kokoro/scripts/linux/
Dbuild-docker.sh8 # http://www.apache.org/licenses/LICENSE-2.0
19 set -e
21 set -x
23 . /bin/using.sh # Declare the bash `using` function for configuring toolchains.
26 using clang-10.0.0
28 using gcc-9
36 if [[ ! -d "$dir" ]]; then
43 if [[ -d "$dir" ]]; then
44 rm -fr "$dir"
49 clone_if_missing https://github.com/KhronosGroup/SPIRV-Headers external/spirv-headers --depth=1
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_node/
DREADME.md3 Note: This code is currently WIP. There are a number of [known issues](#known-issues).
9 - [CMake 3.10](https://cmake.org/download/) or greater
10 - [Go 1.13](https://golang.org/dl/) or greater
16 [install depot_tools]: http://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/d…
27 cp scripts/standalone-with-node.gclient .gclient
29 # Fetch external dependencies and toolchains with gclient
35 Currently, the node bindings can only be built with CMake:
38 mkdir <build-output-path>
39 cd <build-output-path>
40 cmake <dawn-root-path> -GNinja -DDAWN_BUILD_NODE_BINDINGS=1 -DDAWN_ENABLE_PIC=1
[all …]
/third_party/protobuf/upb_generator/reflection/
DBUILD1 # Copyright (c) 2009-2024, Google LLC
4 # Use of this source code is governed by a BSD-style
6 # https://developers.google.com/open-source/licenses/bsd
8 load("//bazel/toolchains:proto_lang_toolchain.bzl", "proto_lang_toolchain")
27 name = "protoc-gen-upbdefs",
28 linkopts = ["-lm"],
34 # In Bazel 7, our cmake dependency scraping works fine with cc_binary.
41 …# /usr/bin/x86_64-linux-gnu-ld: bazel-out/k8-opt-exec-2B5CBBC6-ST-c1776f9924ec/bin/external/com_go…
42 …# /usr/bin/x86_64-linux-gnu-ld: /opt/manylinux/2014/x86_64/lib64/libm.so.6: error adding symbols: …
43 # clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
[all …]
/third_party/skia/m133/third_party/externals/libwebp/infra/
Dcompile_android.sh32 set -xe
35 readonly WORKSPACE=${WORKSPACE:-"$(mktemp -d -t webp.android.XXX)"}
45 static-debug
47 shared-debug
49 armeabi-v7a
50 arm64-v8a
62 if [[ ! -d "${WORKSPACE}" ]]; then
79 readonly BUILD_DIR="${WORKSPACE}/build-${BUILD_TYPE}"
82 if [[ ! -x "${ANDROID_NDK_DIR}/ndk-build" ]]; then
83 log_err "unable to find ndk-build in ANDROID_NDK_DIR: ${ANDROID_NDK_DIR}."
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/
Dbuild_lite.sh2 # Copyright 2021-2022 Huawei Technologies Co., Ltd
8 # http://www.apache.org/licenses/LICENSE-2.0
17 set -e
21 echo -e "\e[31mANDROID_NDK=$ANDROID_NDK \e[0m"
23 …echo -e "\e[31mplease set ANDROID_NDK in environment variable for example: export ANDROID_NDK=/roo…
33 cp -r ${HI35XX_SDK_PATH}/third_patry ${BASEPATH}/mindspore/lite/providers/nnie
42 # ${CPACK_PACKAGE_DIR}/${pkg_name} is the output of package_lite.cmake(make package)
46 local ms_pack="mindspore-lite-${VERSION_STR}"
49 local linux_x86_path="${cpack_dir}/Linux/TGZ/${ms_pack}/linux-x64"
50 local linux_cortex_path="${cpack_dir}/Linux/TGZ/${ms_pack}/none-cortex-m7"
[all …]
/third_party/protobuf/upb_generator/c/
DBUILD1 # Copyright (c) 2009-2024, Google LLC
4 # Use of this source code is governed by a BSD-style
6 # https://developers.google.com/open-source/licenses/bsd
8 load("//bazel/toolchains:proto_lang_toolchain.bzl", "proto_lang_toolchain")
46 name = "protoc-gen-upb",
57 # In Bazel 7, our cmake dependency scraping works fine with cc_binary.
93 command_line = "--upb_out=$(OUT)",
95 plugin = ":protoc-gen-upb_stage1",
96 plugin_format_flag = "--plugin=protoc-gen-upb=%s",
/third_party/protobuf/upb_generator/minitable/
DBUILD1 # Copyright (c) 2009-2024, Google LLC
4 # Use of this source code is governed by a BSD-style
6 # https://developers.google.com/open-source/licenses/bsd
8 load("//bazel/toolchains:proto_lang_toolchain.bzl", "proto_lang_toolchain")
88 name = "protoc-gen-upb_minitable",
102 # In Bazel 7, our cmake dependency scraping works fine with cc_binary.
130 command_line = "--upb_minitable_out=$(OUT)",
132 plugin = ":protoc-gen-upb_minitable_stage1",
133 plugin_format_flag = "--plugin=protoc-gen-upb_minitable=%s",

123