Skip to content

Conversation

@akosiorek
Copy link
Contributor

  • CPU-ONLY CMake build option to facilitate CPU-only build #561
  • CPU-Only build added to Travis-CI
  • Tests of the CMake CPU-Only build under Travis-CI

In order to build CPU-Only version of Caffe you have to run:
cmake -DCPU-ONLY=ON path/to/CMakeLists.txt

When CPU-ONLY is enabled no CUDA libraries are looked for or linked to any target, nor are any *.cu files compiled.

@jeffdonahue
Copy link
Contributor

looks good, thanks!

jeffdonahue added a commit that referenced this pull request Jul 25, 2014
@jeffdonahue jeffdonahue merged commit 9d954fa into BVLC:cmake Jul 25, 2014
@akosiorek akosiorek deleted the cmake_cpu_only branch July 25, 2014 10:24
@ipazc
Copy link

ipazc commented Jan 5, 2017

You meant DCPU_ONLY instead of DCPU-ONLY.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants