Comments (3)
While build on macOS with target=android-aarch64,
[INFO] build protobuf in /Users/blank/Desktop/bolt-master/third_party/android-aarch64/protobuf...
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/blank/Desktop/bolt-master/third_party/android-aarch64/protobuf/protobuf-3.14.0/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_9c965/fast && make -f CMakeFiles/cmTC_9c965.dir/build.make CMakeFiles/cmTC_9c965.dir/build
Building C object CMakeFiles/cmTC_9c965.dir/testCCompiler.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --target=aarch64-linux-android21 --target=aarch64-linux-android21 --target=aarch64-linux-android21 -MD -MT CMakeFiles/cmTC_9c965.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_9c965.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_9c965.dir/testCCompiler.c.o -c /Users/blank/Desktop/bolt-master/third_party/android-aarch64/protobuf/protobuf-3.14.0/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_9c965
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9c965.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --target=aarch64-linux-android21 --target=aarch64-linux-android21 --target=aarch64-linux-android21 -rdynamic CMakeFiles/cmTC_9c965.dir/testCCompiler.c.o -o cmTC_9c965
ld: unknown option: -z
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [cmTC_9c965] Error 1
make: *** [cmTC_9c965/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:20 (project)
from bolt.
when build for android using android-aarch64 target, you need to set ANDROID_NDK_ROOT shell environment to find ndk toolchains in ${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/darwin-x86_64/bin
from bolt.
Can you give more information for windows build? you can refer bolt windows workflow in https://github.com/huawei-noah/bolt/blob/master/.github/workflows/windows-x86-avx2.yml
you can use --converter=off to close converter build.
from bolt.
Related Issues (20)
- Elewise算子耗时较大 HOT 2
- android平台编译失败 HOT 6
- 如何设置运行时浮点精度为fp16 HOT 4
- 展开OCL kernel中的标量dot操作可以获得更高的GFLOPs HOT 2
- arm cpu dilated conv遇到nchw类型的输入会出错
- 是否支持BGEMM? HOT 3
- TinyBert模型经过post_training_quantization进行INT8量化后,在Linux_X86-64平台推理报错 HOT 4
- version 1.2.1 and 1.3.0 issues HOT 7
- x86_64编译报错 HOT 5
- I have a problem. Does bolt quantization support x86? HOT 2
- x2bolt转化工具报错 HOT 3
- 请问bolt有1.3.1的发布计划吗? HOT 2
- BNN 只支持conv算子么? HOT 1
- binary conv arm中input bit-packing像素顺序问题 HOT 6
- Kotlin MultiPlatform Library HOT 1
- 声音克隆的demo可以参考一下吗? HOT 1
- Unable to compile jpeg on Windows HOT 1
- 请问支持mips架构的板子吗 HOT 1
- Can't convert model to int8 precision with post_training_quantization HOT 3
- C API ducument don't exsit
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bolt.