Closed kiritigowda closed 2 years ago
I have fixed these warnings.
@gyenesvi failing to build
Cloning into 'NNEF-Tools'...
remote: Enumerating objects: 4368, done.
remote: Counting objects: 100% (882/882), done.
remote: Compressing objects: 100% (480/480), done.
remote: Total 4368 (delta 606), reused 631 (delta 387), pack-reused 3486
Receiving objects: 100% (4368/4368), 2.10 MiB | 5.33 MiB/s, done.
Resolving deltas: 100% (2887/2887), done.
-- The CXX compiler identification is GNU 9.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build Configuration:
-- Build executables in:
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kiriti/.mivisionx-model-compiler-deps/nnef-deps/NNEF-Tools/parser/cpp/build
Scanning dependencies of target nnef
[ 33%] Building CXX object CMakeFiles/nnef.dir/src/nnef.cpp.o
[ 66%] Building CXX object CMakeFiles/nnef.dir/src/cnnef.cpp.o
[100%] Linking CXX static library libnnef.a
[100%] Built target nnef
Traceback (most recent call last):
File "setup.py", line 15, in <module>
from setuptools import setup, Extension
ModuleNotFoundError: No module named 'setuptools'
TOT Builds fine -- log below
Question about the NNEF version 0.3? @gyenesvi
Installed /usr/local/lib/python3.8/dist-packages/nnef-0.3-py3.8-linux-x86_64.egg
Processing dependencies for nnef==0.3
Finished processing dependencies for nnef==0.3
Cloning into 'NNEF-Tools'...
remote: Enumerating objects: 4368, done.
remote: Counting objects: 100% (882/882), done.
remote: Compressing objects: 100% (480/480), done.
remote: Total 4368 (delta 606), reused 631 (delta 387), pack-reused 3486
Receiving objects: 100% (4368/4368), 2.10 MiB | 14.61 MiB/s, done.
Resolving deltas: 100% (2887/2887), done.
-- The CXX compiler identification is GNU 9.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build Configuration:
-- Build executables in:
-- Configuring done
-- Generating done
-- Build files have been written to: /root/.mivisionx-model-compiler-deps/nnef-deps/NNEF-Tools/parser/cpp/build
Scanning dependencies of target nnef
[ 33%] Building CXX object CMakeFiles/nnef.dir/src/nnef.cpp.o
[ 66%] Building CXX object CMakeFiles/nnef.dir/src/cnnef.cpp.o
[100%] Linking CXX static library libnnef.a
[100%] Built target nnef
running install
running bdist_egg
running egg_info
creating nnef.egg-info
writing nnef.egg-info/PKG-INFO
writing dependency_links to nnef.egg-info/dependency_links.txt
writing top-level names to nnef.egg-info/top_level.txt
writing manifest file 'nnef.egg-info/SOURCES.txt'
reading manifest file 'nnef.egg-info/SOURCES.txt'
writing manifest file 'nnef.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/nnef
copying nnef/printer.py -> build/lib.linux-x86_64-3.8/nnef
copying nnef/__init__.py -> build/lib.linux-x86_64-3.8/nnef
copying nnef/shapes.py -> build/lib.linux-x86_64-3.8/nnef
copying nnef/parser.py -> build/lib.linux-x86_64-3.8/nnef
copying nnef/binary.py -> build/lib.linux-x86_64-3.8/nnef
running build_ext
building '_nnef' extension
creating build/temp.linux-x86_64-3.8
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I../cpp/include -I/usr/local/lib/python3.8/dist-packages/numpy/core/include -I/usr/include/python3.8 -c nnef.cpp -o build/temp.linux-x86_64-3.8/nnef.o -std=c++11
x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/nnef.o -o build/lib.linux-x86_64-3.8/_nnef.cpython-38-x86_64-linux-gnu.so
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/nnef
copying build/lib.linux-x86_64-3.8/nnef/printer.py -> build/bdist.linux-x86_64/egg/nnef
copying build/lib.linux-x86_64-3.8/nnef/__init__.py -> build/bdist.linux-x86_64/egg/nnef
copying build/lib.linux-x86_64-3.8/nnef/shapes.py -> build/bdist.linux-x86_64/egg/nnef
copying build/lib.linux-x86_64-3.8/nnef/parser.py -> build/bdist.linux-x86_64/egg/nnef
copying build/lib.linux-x86_64-3.8/nnef/binary.py -> build/bdist.linux-x86_64/egg/nnef
copying build/lib.linux-x86_64-3.8/_nnef.cpython-38-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg
byte-compiling build/bdist.linux-x86_64/egg/nnef/printer.py to printer.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/nnef/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/nnef/shapes.py to shapes.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/nnef/parser.py to parser.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/nnef/binary.py to binary.cpython-38.pyc
creating stub loader for _nnef.cpython-38-x86_64-linux-gnu.so
byte-compiling build/bdist.linux-x86_64/egg/_nnef.py to _nnef.cpython-38.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying nnef.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying nnef.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying nnef.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying nnef.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
__pycache__._nnef.cpython-38: module references __file__
creating dist
creating 'dist/nnef-0.3-py3.8-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing nnef-0.3-py3.8-linux-x86_64.egg
creating /usr/local/lib/python3.8/dist-packages/nnef-0.3-py3.8-linux-x86_64.egg
Extracting nnef-0.3-py3.8-linux-x86_64.egg to /usr/local/lib/python3.8/dist-packages
Adding nnef 0.3 to easy-install.pth file
Installed /usr/local/lib/python3.8/dist-packages/nnef-0.3-py3.8-linux-x86_64.egg
Processing dependencies for nnef==0.3
Finished processing dependencies for nnef==0.3
-- The C compiler identification is GNU 9.4.0 -- The CXX compiler identification is GNU 9.4.0