Public Member Functions | |
def | initialize_options (self) |
def | finalize_options (self) |
def | run (self) |
![]() | |
def | initialize_options (self) |
def | finalize_options (self) |
Public Attributes | |
jobs | |
Static Public Attributes | |
list | user_options |
bool | built = False |
![]() | |
list | user_options = [] |
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`/`ninja` can be specified by passing `-j<ncpus>` to `setup.py build`. By default all CPUs are used.
Definition at line 98 of file setup_caffe2.py.
|
static |
Definition at line 109 of file setup_caffe2.py.