Masquerade0097 commented on issue #18667:
URL: 
https://github.com/apache/incubator-mxnet/issues/18667#issuecomment-666403574


   @leezu I tried to build the cpp package using cmake for your PR #18749 on 
s390x. Although the build succeeds, I'm unable to find the build files. 
`incubator-mxnet/build/lib`, `incubator-mxnet/build/bin` are empty. Can you 
please let me know if this is an issue or am I missing something?
   
   Here are the logs -
   
   ```
   root@e0e720e9a63c:~/mxnet-latest/incubator-mxnet/build# cmake .. 
-DUSE_MKLDNN=0 -DUSE_MKL_IF_AVAILABLE=0
   -- The C compiler identification is GNU 7.5.0
   -- The CXX compiler identification is GNU 7.5.0
   -- Check for working C compiler: /usr/bin/cc
   -- Check for working C compiler: /usr/bin/cc -- works
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- 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
   -- CMAKE_CROSSCOMPILING FALSE
   -- CMAKE_HOST_SYSTEM_PROCESSOR s390x
   -- CMAKE_SYSTEM_PROCESSOR s390x
   -- CMAKE_SYSTEM_NAME Linux
   -- CMake version '3.13.4' using generator 'Unix Makefiles'
   -- Could not find CCache. Consider installing CCache to speed up compilation.
   -- Found OpenCV: /usr (found version "3.2.0") found components:  core 
highgui imgproc imgcodecs 
   -- OpenCV 3.2.0 found (/usr/share/OpenCV)
   --  OpenCV_LIBS=opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs
   -- Looking for pthread.h
   -- Looking for pthread.h - found
   -- Looking for pthread_create
   -- Looking for pthread_create - not found
   -- Check if compiler accepts -pthread
   -- Check if compiler accepts -pthread - yes
   -- Found Threads: TRUE  
   USE_LAPACK is ON
   CMake Warning at 3rdparty/googletest/googletest/CMakeLists.txt:47 (project):
     VERSION keyword not followed by a value or was followed by a value that
     expanded to nothing.
   
   
   -- Found PythonInterp: /usr/bin/python (found version "2.7.17") 
   -- Found GTest: gtest  
   -- Looking for clock_gettime in rt
   -- Looking for clock_gettime in rt - found
   -- Looking for fopen64
   -- Looking for fopen64 - not found
   -- Looking for C++ include cxxabi.h
   -- Looking for C++ include cxxabi.h - found
   -- Looking for nanosleep
   -- Looking for nanosleep - found
   -- Looking for backtrace
   -- Looking for backtrace - found
   -- backtrace facility detected in default set of libraries
   -- Found Backtrace: /usr/include  
   -- Check if the system is big endian
   -- Searching 16 bit integer
   -- Looking for sys/types.h
   -- Looking for sys/types.h - found
   -- Looking for stdint.h
   -- Looking for stdint.h - found
   -- Looking for stddef.h
   -- Looking for stddef.h - found
   -- Check size of unsigned short
   -- Check size of unsigned short - done
   -- Using unsigned short
   -- Check if the system is big endian - big endian
   -- 
/root/mxnet-latest/incubator-mxnet/3rdparty/dmlc-core/cmake/build_config.h.in 
-> include/dmlc/build_config.h
   -- Performing Test SUPPORT_MSSE2
   -- Performing Test SUPPORT_MSSE2 - Failed
   -- Found Python3: /usr/bin/python3.6 (found version "3.6.9") found 
components:  Interpreter 
   -- Configuring done
   -- Generating done
   -- Build files have been written to: /root/mxnet-latest/incubator-mxnet/build
   
   ```
   
   ```
   root@e0e720e9a63c:~/mxnet-latest/incubator-mxnet/build# cmake -DUSE_MKLDNN=0 
-DUSE_MKL_IF_AVAILABLE=0 --build .
   
   -- CMAKE_CROSSCOMPILING FALSE
   -- CMAKE_HOST_SYSTEM_PROCESSOR s390x
   -- CMAKE_SYSTEM_PROCESSOR s390x
   -- CMAKE_SYSTEM_NAME Linux
   -- CMake version '3.13.4' using generator 'Unix Makefiles'
   -- Could not find CCache. Consider installing CCache to speed up compilation.
   -- OpenCV 3.2.0 found (/usr/share/OpenCV)
   --  OpenCV_LIBS=opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs
   USE_LAPACK is ON
   CMake Warning at 3rdparty/googletest/googletest/CMakeLists.txt:47 (project):
     VERSION keyword not followed by a value or was followed by a value that
     expanded to nothing.
   
   -- 
/root/mxnet-latest/incubator-mxnet/3rdparty/dmlc-core/cmake/build_config.h.in 
-> include/dmlc/build_config.h
   -- Configuring done
   -- Generating done
   -- Build files have been written to: /root/mxnet-latest/incubator-mxnet/build
   
   ```


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to