mxnet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
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 
   So first try on a fresh Jessie env:
   echo "deb jessie main contrib non-free" > /etc/apt/sources.list
   echo "deb jessie-backports main contrib non-free" >>
   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 /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
   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.

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:

With regards,
Apache Git Services

View raw message