-
Notifications
You must be signed in to change notification settings - Fork 159
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
[Compiler FE] Build armv7l target on tizen gbs #8480
Comments
Error on bd2bb66
mio needs tensorflow-2.6. Thus tf-2.6 source should be included into packaging folder.
```
[ 120s] -- !!! FlatBuffers_FOUND
[ 120s] -- Download TENSORFLOW from https://github.com/tensorflow/tensorflow/archive/v2.6.0.tar.gz
[ 120s] -- (Trial Count : 0)
[ 120s] CMake Warning at /home/abuild/rpmbuild/BUILD/nnfw-1.20.0/infra/cmake/modules/ExternalSourceTools.cmake:66 (message):
[ 120s] error: downloading
[ 120s] 'https://github.com/tensorflow/tensorflow/archive/v2.6.0.tar.gz' failed
[ 120s]
[ 120s] status_code: 6
[ 120s] status_string: "Couldn't resolve host name"
[ 120s] log: getaddrinfo(3) failed for github.com:443
[ 120s]
[ 120s] Could not resolve host: github.com
[ 120s]
[ 120s] Closing connection 0
[ 120s]
[ 120s] Call Stack (most recent call first):
[ 120s] /home/abuild/rpmbuild/BUILD/nnfw-1.20.0/infra/cmake/packages/TensorFlowSource-2.6.0/TensorFlowSourceConfig.cmake:12 (ExternalSource_Download)
[ 120s] /home/abuild/rpmbuild/BUILD/nnfw-1.20.0/infra/cmake/packages/TensorFlowSource-2.6.0/TensorFlowSourceConfig.cmake:18 (_TensorFlowSource_import)
[ 120s] CMakeLists.txt:43 (find_package)
[ 120s] /home/abuild/rpmbuild/BUILD/nnfw-1.20.0/compiler/mio-tflite260/CMakeLists.txt:13 (nnas_find_package)
[ 120s]
[ 120s]
```
|
On fd645ea Need to reduce build time. it takes 840s till the following :
And build fail :
|
on 5ec7b6a, fail at 1923s in
|
We may need to revise luci-interprete backend... |
On fe0f477,
|
Unfortunately, tizen build system for gcc already accelerated !!!
|
{
"directory": "/home/twoflower/dev/ONE/build/arm32.debug/compiler/luci-interpreter/src",
"command": "/home/twoflower/dev/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++
--sysroot=/home/twoflower/dev/rootfs/arm-ubuntu/arm -Dluci_interpreter_EXPORTS
-I/home/twoflower/dev/ONE/compiler/luci-interpreter/include
-I/home/twoflower/dev/ONE/compiler/luci-interpreter/src -I/home/twoflower/dev/ONE/compiler/luci/lang/include
-I/home/twoflower/dev/ONE/compiler/loco/include -I/home/twoflower/dev/ONE/compiler/angkor/include
-I/home/twoflower/dev/ONE/compiler/oops/include -I/home/twoflower/dev/ONE/compiler/pepper-str/include
-I/home/twoflower/dev/ONE/compiler/luci-interpreter/pal/linux -g -fPIC -Werror -Wall -Wextra -Wno-reorder
-std=gnu++14 -o CMakeFiles/luci_interpreter.dir/BuddyMemoryManager.cpp.o -c
/home/twoflower/dev/ONE/compiler/luci-interpreter/src/BuddyMemoryManager.cpp",
"file": "/home/twoflower/dev/ONE/compiler/luci-interpreter/src/BuddyMemoryManager.cpp"
},
{
"directory": "/home/abuild/rpmbuild/BUILD/nnfw-1.20.0/build/arm32.debug/compiler/luci-interpreter/src/kernels",
"command": "/bin/c++ -isystem
/home/abuild/rpmbuild/BUILD/nnfw-1.20.0/infra/nncc/../../externals/TENSORFLOW-2.6.0-RUY -isystem
/home/abuild/rpmbuild/BUILD/nnfw-1.20.0/infra/nncc/../../externals/TENSORFLOW-2.6.0-GEMMLOWP -isystem
/home/abuild/rpmbuild/BUILD/nnfw-1.20.0/infra/nncc/../../externals/TENSORFLOW-2.6.0-EIGEN -isystem
/home/abuild/rpmbuild/BUILD/nnfw-1.20.0/infra/nncc/../../externals/TENSORFLOW-2.6.0 -O2 -g2 -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0
-frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8
-mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu
-Wa,-mimplicit-it=thumb -g -g -fPIC -std=gnu++14 -o
CMakeFiles/luci_interpreter_linux_pal.dir/home/abuild/rpmbuild/BUILD/nnfw-1.20.0/externals/TENSORFLOW-2.6.0/tenso\
rflow/lite/kernels/internal/optimized/neon_tensor_utils.cc.o -c
/home/abuild/rpmbuild/BUILD/nnfw-1.20.0/externals/TENSORFLOW-2.6.0/tensorflow/lite/kernels/internal/optimized/neo\
n_tensor_utils.cc",
"file":
"/home/abuild/rpmbuild/BUILD/nnfw-1.20.0/externals/TENSORFLOW-2.6.0/tensorflow/lite/kernels/internal/optimized/ne\
on_tensor_utils.cc"
},
{ |
now, build is fine ob 0be8a49. 1 test failed :
|
Now, all the tests passed on 4b12f67. |
I'll check this for x86_64 build. --> how to reproduce
|
seems done? plz reopen if not. |
parent : #8379 (draft: #8407)
Let try to build and run Compiler FE on tizen obs build system !
DRAFT PR is updated on #8481
The text was updated successfully, but these errors were encountered: