Home
last modified time | relevance | path

Searched +full:- +full:dandroid_native_api_level (Results 1 – 16 of 16) sorted by relevance

/third_party/mindspore/cmake/external_libs/
Djpeg_turbo.cmake3 set(REQ_URL "https://gitee.com/mirrors/libjpeg-turbo/repository/archive/2.0.4.tar.gz")
6 set(REQ_URL "https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.0.4.tar.gz")
11 …set(jpeg_turbo_CFLAGS "-fstack-protector-all -Wno-uninitialized -Wno-unused-parameter -fPIC -D_FOR…
12 -O2")
14 …set(jpeg_turbo_CFLAGS "-fstack-protector-all -Wno-maybe-uninitialized -Wno-unused-parameter -fPIC \
15 -D_FORTIFY_SOURCE=2 -O2")
18 set(jpeg_turbo_LDFLAGS "-Wl,-z,relro,-z,now,-z,noexecstack,-s")
23 set(CMAKE_OPTION -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH=TRUE -DWITH_SIMD=ON)
28 … set(CMAKE_OPTION -DCMAKE_TOOLCHAIN_FILE=$ENV{ANDROID_NDK}/build/cmake/android.toolchain.cmake
29 -DANDROID_NATIVE_API_LEVEL=19
[all …]
Dgtest.cmake1 set(gtest_CXXFLAGS "-D_FORTIFY_SOURCE=2 -O2")
2 set(gtest_CFLAGS "-D_FORTIFY_SOURCE=2 -O2")
5 -DBUILD_TESTING=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_SHARED_LIBS=ON
6 -DCMAKE_MACOSX_RPATH=TRUE -Dgtest_disable_pthreads=ON)
9 … set(CMAKE_OPTION -DCMAKE_TOOLCHAIN_FILE=$ENV{ANDROID_NDK}/build/cmake/android.toolchain.cmake
10 -DANDROID_NATIVE_API_LEVEL=19
11 -DANDROID_NDK=$ENV{ANDROID_NDK}
12 -DANDROID_ABI=arm64-v8a
13 -DANDROID_TOOLCHAIN_NAME=aarch64-linux-android-clang
14 -DANDROID_STL=${ANDROID_STL}
[all …]
/third_party/mindspore/mindspore/lite/micro/example/mobilenetv2/
DREADME.md5 <!-- TOC -->
7 - Android编译部署
8 - [编译依赖](#编译依赖)
9 - [工程构建](#工程构建)
10 - [工程部署](#工程部署)
11 - [更多详情](#更多详情)
12 - [Linux_x86_64编译部署](#Linux_x86_64编译部署)
13 - [STM32F746编译部署](#STM32F746编译部署)
15 <!-- /TOC -->
19 …odegen的获取以及详细参数介绍可参考mindspore的[编译构建介绍](https://www.mindspore.cn/lite/docs/zh-CN/r1.5/use/build.htm…
[all …]
Dmobilenetv2.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -e
21 echo "bash build.sh [-I arm64|arm32]"
23 echo " -I download and build for arm64 or arm32, default arm64"
29 OPTARG=$(echo ${OPTARG} | tr '[A-Z]' '[a-z]')
37 echo "-I parameter must be arm64 or arm32"
58 local VERSION_MAJOR=$(grep "const int ms_version_major =" ${VERSION_HEADER} | tr -dc "[0-9]")
59 local VERSION_MINOR=$(grep "const int ms_version_minor =" ${VERSION_HEADER} | tr -dc "[0-9]")
60 …local VERSION_REVISION=$(grep "const int ms_version_revision =" ${VERSION_HEADER} | tr -dc "[0-9]")
70 MINDSPORE_FILE_NAME="mindspore-lite-${VERSION_STR}-android-${ARM_NAME}"
[all …]
/third_party/ejdb/src/bindings/ejdb2_android/test/ejdb2/
Dbuild.gradle17 arguments "-DCMAKE_BUILD_TYPE=Release",
18 "-DBUILD_JNI_BINDING=ON",
19 "-DENABLE_HTTP=OFF",
20 "-DBUILD_EXAMPLES=OFF",
21 "-DCMAKE_TOOLCHAIN_FILE=$ndkDirectory/build/cmake/android.toolchain.cmake",
22 "-DANDROID_ABI=$props.abiName",
23 "-DANDROID_PLATFORM=android-21",
24 "-DANDROID_NATIVE_API_LEVEL=21"
64 androidTestImplementation "com.android.support.test.espresso:espresso-core:3.0.2"
/third_party/ejdb/src/bindings/ejdb2_android/
DCMakeLists.txt5 message(FATAL_ERROR "Missing required ANDROID_NDK_HOME option/env. Use -DANDROID_NDK_HOME=...")
17 COMMAND ${CMAKE_COMMAND} -E remove_directory ${ANDROID_BUILD_DIR}
18 COMMAND ${CMAKE_COMMAND} -E make_directory ${ANDROID_BUILD_DIR}
19 COMMAND ${CMAKE_COMMAND} -G ${CMAKE_GENERATOR} -S ${CMAKE_SOURCE_DIR}
20 -B ${ANDROID_BUILD_DIR}
21 -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
22 -DBUILD_JNI_BINDING=ON
23 -DENABLE_HTTP=OFF
24 -DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake
25 -DANDROID_ABI=${AABI}
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/
D.travis.yml6 - linux
7 - osx
18 - BUILD_TYPE=Release
19 - BUILD_TYPE=Debug
22 - clang
23 - gcc
29 - env: BUILD_NDK=ON
32 - os: osx
43 - master
46 - if [[ "$BUILD_NDK" == "ON" ]]; then
[all …]
/third_party/mindspore/mindspore/lite/
Dbuild_lite.sh8 # 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…
29 …(grep "const int ms_version_major =" ${BASEPATH}/mindspore/lite/include/version.h | tr -dc "[0-9]")
30 …(grep "const int ms_version_minor =" ${BASEPATH}/mindspore/lite/include/version.h | tr -dc "[0-9]")
31 …ep "const int ms_version_revision =" ${BASEPATH}/mindspore/lite/include/version.h | tr -dc "[0-9]")
36 COMMIT_STR=$(git log -1 | grep commit)
44 local pkg_name=mindspore-lite-${VERSION_STR}-linux-x64
47 rm -rf ${pkg_name}
[all …]
/third_party/mindspore/mindspore/lite/examples/runtime_gpu_extend/
Dbuild.sh8 # http://www.apache.org/licenses/LICENSE-2.0
19 …N_MAJOR=$(grep "const int ms_version_major =" ${BASEPATH}/../../include/version.h | tr -dc "[0-9]")
20 …N_MINOR=$(grep "const int ms_version_minor =" ${BASEPATH}/../../include/version.h | tr -dc "[0-9]")
21 …SION=$(grep "const int ms_version_revision =" ${BASEPATH}/../../include/version.h | tr -dc "[0-9]")
27 MINDSPORE_FILE_NAME="mindspore-lite-${VERSION_STR}-linux-x64"
29 MINDSPORE_LITE_DOWNLOAD_URL="https://ms-release.obs.cn-north-4.myhuaweicloud.com/${VERSION_STR}/Min…
31 mkdir -p build
32 mkdir -p model
33 if [ ! -e ${BASEPATH}/model/add_extend.ms ]; then
34 wget -c -O ${BASEPATH}/model/add_extend.ms --no-check-certificate ${MODEL_DOWNLOAD_URL}
[all …]
/third_party/mindspore/mindspore/lite/test/st/scripts/
Drun_benchmark_codegen.sh8 tar -zxf mindspore-lite-${version}-linux-x64.tar.gz || exit 1
9 cd ${x86_path}/mindspore-lite-${version}-linux-x64/ || exit 1
14 rm -rf ${ms_models_path}
15 mkdir -p ${ms_models_path}
27 local CODEGEN_PATH=${x86_path}/mindspore-lite-${version}-linux-x64/tools/codegen
28 rm -rf $1
29 mkdir -p $1
47 …${CODEGEN_PATH}/codegen --codePath=$1 --modelPath=$2/${model_name}.ms --supportParallel=${support_…
49 mkdir -p $1/${model_name}/build && cd $1/${model_name}/build || exit 1
50 cmake -DPKG_PATH=${x86_path}/mindspore-lite-${version}-linux-x64 $1/${model_name} >> $4
[all …]
/third_party/mindspore/mindspore/lite/examples/runtime_cpp/
Dbuild.sh8 # http://www.apache.org/licenses/LICENSE-2.0
20 echo "bash build.sh [-e npu] "
23 …echo " If set to -e npu, we will download the library of CPU+NPU, otherwise it will download th…
31 …N_MAJOR=$(grep "const int ms_version_major =" ${BASEPATH}/../../include/version.h | tr -dc "[0-9]")
32 …N_MINOR=$(grep "const int ms_version_minor =" ${BASEPATH}/../../include/version.h | tr -dc "[0-9]")
33 …SION=$(grep "const int ms_version_revision =" ${BASEPATH}/../../include/version.h | tr -dc "[0-9]")
43 MINDSPORE_FILE_NAME="mindspore-lite-${VERSION_STR}-android-aarch64"
45 …MINDSPORE_LITE_DOWNLOAD_URL="https://ms-release.obs.cn-north-4.myhuaweicloud.com/${VERSION_STR}/Mi…
49 OPTARG=$(echo ${OPTARG} | tr '[A-Z]' '[a-z]')
56 MINDSPORE_FILE_NAME="mindspore-lite-${VERSION_STR}-android-aarch64"
[all …]
/third_party/glslang/.github/workflows/
Dcontinuous_integration.yml13 - master
17 runs-on: ${{matrix.os}}
19 fail-fast: false
21 os: [ubuntu-20.04]
25 - uses: actions/checkout@v2
26 - uses: actions/setup-python@v2
28 python-version: '3.7'
29 - name: Install Ubuntu Package Dependencies
31 sudo apt-get -qq update
32 sudo apt-get install -y clang-6.0
[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; }
32 git submodule update --init
35 using gcc-9 # Always update gcc so we get a newer standard library.
38 using cmake-3.17.2
41 BUILD_DIR=/tmp/marl-build
45 COMMON_CMAKE_FLAGS+=" -DCMAKE_BUILD_TYPE=${BUILD_TYPE}"
46 COMMON_CMAKE_FLAGS+=" -DMARL_BUILD_EXAMPLES=1"
47 COMMON_CMAKE_FLAGS+=" -DMARL_BUILD_TESTS=1"
[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 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
51 pushd external/googletest; git reset --hard 1fb1bb23bb8418dc73a5a9a82bbed31dc610fec7; popd
[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
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
51 pushd external/googletest; git reset --hard 1fb1bb23bb8418dc73a5a9a82bbed31dc610fec7; popd
[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
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
51 pushd external/googletest; git reset --hard 1fb1bb23bb8418dc73a5a9a82bbed31dc610fec7; popd
[all …]