Skip to content

Instantly share code, notes, and snippets.

Last active Aug 29, 2015
What would you like to do?
(deb) Cuda Compile without Card

Seen here

language: cpp

  - gcc

  - mkdir build_tmp && cd build_tmp
  - make

  - sudo apt-get update -qq
  - sudo apt-get install -qq build-essential
  - sudo apt-get install -qq gcc-4.4 g++-4.4
  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.4 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.4
  - gcc --version && g++ --version
  - sudo apt-get install -qq nvidia-common
  - sudo apt-get install -qq nvidia-current
  - sudo apt-get install -qq nvidia-cuda-toolkit nvidia-cuda-dev
  - sudo find /usr/ -name libcuda*.so

Probably, nvidia-common and nvidia-current are not necessary to be installed beforehand (last tested on ubuntu 13.04 "raring")

Note: "raring" has already cuda 5.0 shipped one can use up to gcc-4.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment