-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem compiling TensorFlow for Android using Clang via CK #19
Comments
Still have the same problem when recompiling from scratch: /home/fursin/data/android-ndk-r13b/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/clang++ --std=c++11 -DIS_SLIM_BUILD -fno-exceptions -DNDEBUG -O2 -fPIE -pie -target aarch64-linux-android -gcc-toolchain /home/fursin/data/android-ndk-r13b/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64 --sysroot=/home/fursin/data/android-ndk-r13b/platforms/android-21/arch-arm64 -Wno-narrowing -fPIE -I/home/fursin/CK/local/env/e2148e84d72bbb61/install/include -I/home/fursin/data/android-ndk-r13b/sources/android/support/include -I/home/fursin/data/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/fursin/data/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include -I. -I/home/fursin/CK/local/env/21ba10beb6ae41b3/src/tensorflow/contrib/makefile/downloads/ -I/home/fursin/CK/local/env/21ba10beb6ae41b3/src/tensorflow/contrib/makefile/downloads/eigen -I/home/fursin/CK/local/env/21ba10beb6ae41b3/src/tensorflow/contrib/makefile/downloads/gemmlowp -I/home/fursin/CK/local/env/e2148e84d72bbb61/install/include -I/home/fursin/CK/local/env/21ba10beb6ae41b3/src/tensorflow/contrib/makefile/gen/proto/ -I/home/fursin/CK/local/env/21ba10beb6ae41b3/src/tensorflow/contrib/makefile/gen/proto_text/ -c /home/fursin/CK/local/env/21ba10beb6ae41b3/src/tensorflow/contrib/makefile/gen/proto/tensorflow/core/util/test_log.pb.cc -o /home/fursin/CK/local/env/21ba10beb6ae41b3/src/tensorflow/contrib/makefile/gen/obj/tensorflow/core/util/test_log.pb.o Error: make for android classification failed! |
Ok I'll fix LLVM compilation issue for android |
I fixed that problem, but now I have another problem compiling assembly: /home/fursin/data/android-ndk-r13b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --std=c++11 -DIS_SLIM_BUILD -fno-exceptions -DNDEBUG -O2 -fPIE -pie -target aarch64-linux-android -gcc-toolchain /home/fursin/data/android-ndk-r13b/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64 --sysroot=/home/fursin/data/android-ndk-r13b/platforms/android-21/arch-arm64 -Wno-narrowing -fPIE -MT /home/fursin/CK/local/env/9eb14a624291bed4/src/tensorflow/contrib/makefile/gen/obj/tensorflow/core/kernels/meta_support.o -MMD -MP -MF /home/fursin/CK/local/env/9eb14a624291bed4/src/tensorflow/contrib/makefile/gen/dep//tensorflow/core/kernels/meta_support.Td -I/home/fursin/CK/local/env/e2148e84d72bbb61/install/include -I/home/fursin/data/android-ndk-r13b/sources/android/support/include -I/home/fursin/data/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/fursin/data/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include -I. -I/home/fursin/CK/local/env/9eb14a624291bed4/src/tensorflow/contrib/makefile/downloads/ -I/home/fursin/CK/local/env/9eb14a624291bed4/src/tensorflow/contrib/makefile/downloads/eigen -I/home/fursin/CK/local/env/9eb14a624291bed4/src/tensorflow/contrib/makefile/downloads/gemmlowp -I/home/fursin/CK/local/env/e2148e84d72bbb61/install/include -I/home/fursin/CK/local/env/9eb14a624291bed4/src/tensorflow/contrib/makefile/gen/proto/ -I/home/fursin/CK/local/env/9eb14a624291bed4/src/tensorflow/contrib/makefile/gen/proto_text/ -c tensorflow/core/kernels/meta_support.cc -o /home/fursin/CK/local/env/9eb14a624291bed4/src/tensorflow/contrib/makefile/gen/obj/tensorflow/core/kernels/meta_support.o Error: make for android classification failed! |
The problem seems to be with gemmlowp ... |
I didn't manage to compile TensorFlow for Android using Clang (from Android NDK), due to some strange error that clang is detected, but then full path used by TensorFlow make is wrong. Need to check it later - maybe some obvious mistake with registering clang in the CK env ...
The text was updated successfully, but these errors were encountered: