michiboo commented on issue #15935: unused -mf16c compiler flag during android 
build
URL: 
https://github.com/apache/incubator-mxnet/issues/15935#issuecomment-581786618
 
 
   I try the exact same command, but I ended up with a error. I checked I 
already has opencv 4 so it shouldn't be a problem
   
   + cmake -DANDROID=ON -DUSE_CUDA=OFF -DUSE_SSE=OFF -DSUPPORT_F16C=OFF 
-DUSE_LAPACK=OFF -DUSE_OPENCV=OFF -DUSE_OPENMP=OFF -DUSE_SIGNAL_HANDLER=ON 
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_MKL_IF_AVAILABLE=OFF -G Ninja 
/work/mxnet
   -- CMAKE_CROSSCOMPILING FALSE
   -- CMAKE_HOST_SYSTEM_PROCESSOR x86_64
   -- CMAKE_SYSTEM_PROCESSOR x86_64
   -- CMAKE_SYSTEM_NAME Linux
   -- CMake version '3.13.2' using generator 'Ninja'
   -- Determining F16C support
   -- F16C enabled
   -- Found OpenBLAS libraries: /usr/arm-linux-androideabi/lib/libopenblas.a
   -- Found OpenBLAS include: /usr/arm-linux-androideabi/include
   -- OpenCV Disabled
   CMake Error at CMakeLists.txt:491 (add_subdirectory):
     add_subdirectory given source "/work/mxnet/3rdparty/googletest/googletest"
     which is not an existing directory.
   
   
   CMake Warning at CMakeLists.txt:847 (message):
     OpenCV_VERSION_MAJOR: , version 3 with imgcodecs is required for im2rec,
     im2rec will not be available
   
   
   CMake Warning at example/image-classification/predict-cpp/CMakeLists.txt:3 
(message):
     OpenCV version >= 3 should be enabled and found to build image
     classification example, skipping...
   
   
   -- Configuring incomplete, errors occurred!
   See also "/work/build/CMakeFiles/CMakeOutput.log".
   2020-02-04 15:57:17,189 - root - INFO - Waiting for status of container 
d73f47c477fe for 600 s.
   2020-02-04 15:57:17,303 - root - INFO - Container exit status: {'Error': 
None, 'StatusCode': 1}
   2020-02-04 15:57:17,303 - root - ERROR - Container exited with an error 😞
   2020-02-04 15:57:17,303 - root - INFO - Executed command for reproduction:
   
   ./ci/build.py -p android_armv7
   
   2020-02-04 15:57:17,304 - root - INFO - Stopping container: d73f47c477fe
   2020-02-04 15:57:17,305 - root - INFO - Removing container: d73f47c477fe
   2020-02-04 15:57:17,322 - root - CRITICAL - Execution of 
['/work/mxnet/ci/docker/runtime_functions.sh', 'build_android_armv7'] failed 
with status: 1

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to