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:
setup.Caffe2Command

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

 jobs
 

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 setup.py 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 setup.py build`

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

Definition at line 94 of file setup.py.

Member Data Documentation

list setup.cmake_build.user_options
static
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 setup.py.


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