1 Star 0 Fork 27

coffinian/mnn

forked from Gitee 极速下载/mnn 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.travis.yml 5.75 KB
一键复制 编辑 原始数据 按行查看 历史
git:
depth: 3
quiet: true
matrix:
include:
- os: osx
language: cpp
osx_image: xcode11.2
compiler: clang
script:
- ./ciscripts/macOS/CPU_Metal.sh
name: "macOS11.2 | CPU_Metal"
env:
- MNNCITARGET=MACOSCPUMETAL
- os: osx
language: cpp
osx_image: xcode11.2
compiler: clang
script:
- ./ciscripts/macOS/CPU.sh
name: "macOS11.2 | CPU"
env:
- MNNCITARGET=MACOSCPU
- os: osx
language: cpp
osx_image: xcode11.2
compiler: clang
script:
- ./ciscripts/iOS/Xcode.sh
name: "iOS | CPU_Metal | Xcode"
env:
- MNNCITARGET=IOSCPUMETALXCODE
- os: osx
language: cpp
osx_image: xcode11.2
compiler: clang
script:
- ./ciscripts/iOS/CMake.sh
name: "iOS | CPU_Metal | CMake"
env:
- MNNCITARGET=IOSCPUMETALCMAKE
- os: linux
sudo: required
dist: bionic
language: cpp
install:
- sudo apt-get install ant libprotobuf-dev libvulkan-dev libglew-dev freeglut3-dev protobuf-compiler ocl-icd-opencl-dev libglfw3-dev
compiler: gcc
script:
- ./ciscripts/Linux/CL_ThreadPool_Vulkan.sh
name: "Linux | CPU_CL_ThreadPool_Vulkan"
env:
- MNNCITARGET=LINUXCLTHREADPOOLVULKAN
- os: linux
sudo: required
dist: bionic
language: cpp
install:
- sudo apt-get install ant libprotobuf-dev libvulkan-dev libglew-dev freeglut3-dev protobuf-compiler ocl-icd-opencl-dev libglfw3-dev
compiler: gcc
script:
- ./ciscripts/Linux/CL_OMP_Vulkan.sh
name: "Linux | CPU_CL_OMP_Vulkan"
env:
- MNNCITARGET=LINUXCLOMPVULKAN
- os: linux
sudo: required
dist: trusty
language: android
compiler: clang
android:
components:
- tools
- build-tools
- platform-tools
- android-21
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
before_script:
- sudo apt-get install ant libprotobuf-dev protobuf-compiler
- sudo apt-get remove cmake
- echo yes | sdkmanager "ndk-bundle"
- echo yes | sdkmanager "cmake;3.10.2.4988404"
- export ANDROID_NDK=$ANDROID_HOME/ndk-bundle
- export PATH=/usr/local/android-sdk/cmake/3.10.2.4988404/bin/:$PATH
script:
- ./ciscripts/Android/32.sh
name: "Android | AArch32_ThreadPool_Vulkan"
env:
- MNNCITARGET=ARM32THREADPOOLVULKAN
- os: linux
sudo: required
dist: trusty
language: android
compiler: clang
android:
components:
- tools
- build-tools
- platform-tools
- android-21
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
before_script:
- sudo apt-get install ant libprotobuf-dev protobuf-compiler
- echo yes | sdkmanager "ndk-bundle"
- echo yes | sdkmanager "cmake;3.10.2.4988404"
- export ANDROID_NDK=$ANDROID_HOME/ndk-bundle
- export PATH=/usr/local/android-sdk/cmake/3.10.2.4988404/bin/:$PATH
script:
- ./ciscripts/Android/32OMP.sh
name: "Android | AArch32_OMP_Vulkan"
env:
- MNNCITARGET=ARM32OMPVULKAN
- os: linux
sudo: required
dist: trusty
language: android
compiler: clang
android:
components:
- tools
- build-tools
- platform-tools
- android-21
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
before_script:
- sudo apt-get install ant libprotobuf-dev protobuf-compiler
- echo yes | sdkmanager "ndk-bundle"
- echo yes | sdkmanager "cmake;3.10.2.4988404"
- export ANDROID_NDK=$ANDROID_HOME/ndk-bundle
- export PATH=/usr/local/android-sdk/cmake/3.10.2.4988404/bin/:$PATH
script:
- ./ciscripts/Android/64.sh
name: "Android | AArch64_ThreadPool_Vulkan"
env:
- MNNCITARGET=ARM64THREADPOOLVULKAN
- os: linux
sudo: required
dist: trusty
language: android
compiler: clang
android:
components:
- tools
- build-tools
- platform-tools
- android-21
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
before_script:
- sudo apt-get install ant libprotobuf-dev protobuf-compiler
- echo yes | sdkmanager "ndk-bundle"
- echo yes | sdkmanager "cmake;3.10.2.4988404"
- export ANDROID_NDK=$ANDROID_HOME/ndk-bundle
- export PATH=/usr/local/android-sdk/cmake/3.10.2.4988404/bin/:$PATH
script:
- ./ciscripts/Android/64OMP.sh
name: "Android | AArch64_OMP_Vulkan"
env:
- MNNCITARGET=ARM64OMPVULKAN
- os: windows
language: cpp
install:
- PowerShell -Command 'Set-ExecutionPolicy -ExecutionPolicy RemoteSigned'
- choco install ninja
script:
- ciscripts/Windows/X64.bat
name: "Windows | x64 CPU"
env:
- MNNCITARGET=WINX64
- CXX=cl.exe
- CXX_FOR_BUILD=cl.exe
- CC=cl.exe
- CC_FOR_BUILD=cl.exe
- os: windows
language: cpp
install:
- PowerShell -Command 'Set-ExecutionPolicy -ExecutionPolicy RemoteSigned'
- choco install ninja
script:
- ciscripts/Windows/X86.bat
name: "Windows | x86 CPU"
env:
- MNNCITARGET=WINX86
- CXX=cl.exe
- CXX_FOR_BUILD=cl.exe
- CC=cl.exe
- CC_FOR_BUILD=cl.exe
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/coffinian/mnn.git
git@gitee.com:coffinian/mnn.git
coffinian
mnn
mnn
master

搜索帮助