Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
setup.cmake_build Class Reference
Inheritance diagram for setup.cmake_build:

Public Member Functions

def initialize_options (self)
def finalize_options (self)
def run (self)
- Public Member Functions inherited from setup.Caffe2Command
def initialize_options (self)
def finalize_options (self)

Public Attributes


Static Public Attributes

list user_options
bool built = False
- Static Public Attributes inherited from setup.Caffe2Command
list user_options = []

Detailed Description

Compiles everything when `python build` is run using cmake.

Custom args can be passed to cmake by specifying the `CMAKE_ARGS`
environment variable. E.g. to build without cuda support run:
    `CMAKE_ARGS=-DUSE_CUDA=Off python build`

The number of CPUs used by `make` can be specified by passing `-j<ncpus>`
to ` build`.  By default all CPUs are used.

Definition at line 94 of file

Member Data Documentation

list setup.cmake_build.user_options
Initial value:
1 = [
2  (str('jobs='), str('j'), str('Specifies the number of jobs to use with make'))
3  ]

Definition at line 105 of file

The documentation for this class was generated from the following file: