mxnet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] eLvErDe commented on issue #8295: Building with cmake - error
Date Thu, 01 Jan 1970 00:00:00 GMT
eLvErDe commented on issue #8295: Building with cmake - error 
URL: https://github.com/apache/incubator-mxnet/issues/8295#issuecomment-344731825
 
 
   So first try on a fresh Jessie env:
   
   ```
   echo "deb http://ftp.de.debian.org/debian jessie main contrib non-free" > /etc/apt/sources.list
   echo "deb http://ftp.de.debian.org/debian jessie-backports main contrib non-free" >>
/etc/apt/sources.list
   apt-get update
   apt-get install -y g++-4.9 cmake ninja-build ca-certificates vim git libopenblas-dev --no-install-recommends
   apt-get install -y -t jessie-backports nvidia-cuda-dev nvidia-cuda-toolkit
   git clone -b 0.12.0 --recursive https://github.com/apache/incubator-mxnet.git /tmp/src
   cd /tmp/src/
   CC=gcc-4.9 CXX=g++-4.9 CCBIN=g++-4.9 cmake -DUSE_CUDA=ON -DUSE_LAPACK=OFF -DUSE_OPENCV=OFF
-DUSE_MKL_IF_AVAILABLE=OFF -DCUDA_VERBOSE_BUILD:BOOL=ON -GNinja . | tee /tmp/log
   ninja -v | tee -a /tmp/log
   ```
   
   A few notes here:
   - libopenblas-dev installed otherwise CMake complains
   - Pass -DUSE_OPENCV=OFF to CMake
   - CUDA taken from backports (7.5.18) otherwise it's a very old 6 version
   - Sources cloned to 0.12 tag with --recursive, btw do you know the attached tarballs in
Github's release page are useless because they miss submodules ?
   
   Please find attached output of tee. It's failing with the first issue because -std c++11
is not passed to g++ when nvcc calls it. I'll redo exactly the same with CMake from backports
(3.5 instead of 3.0) and will provide log too.
   [log.txt](https://github.com/apache/incubator-mxnet/files/1476386/log.txt)
   

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


With regards,
Apache Git Services

Mime
View raw message