GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Packages
  • Classes
  • Files
  • C++ API
  • GitHub
  • Package Functions

This view

  • Original page
  • New address

GeezerVison is showing caffe2.ai — Caffe2 - Python API: get_python_cmake_flags Namespace Reference

Logo
Caffe2 - Python API
A deep learning, cross platform ML framework
  • Packages
  • Classes
  • Files
  • C++ API
  • Python API
  • GitHub
  • Packages
  • Package Functions
Variables
get_python_cmake_flags Namespace Reference

Module scripts.get_python_cmake_flags. More...

Variables

list flags
 
 end
 

Detailed Description

Module scripts.get_python_cmake_flags.

Use this script to find your preferred python installation.

You can use the following to build with your preferred version of python if your installation is not being properly detected by CMake.

mkdir -p build && cd build cmake $(python ../scripts/get_python_cmake_flags.py) .. make

Variable Documentation

list get_python_cmake_flags.flags
Initial value:
1 = [
2  '-DPYTHON_EXECUTABLE:FILEPATH={}'.format(sys.executable),
3  '-DPYTHON_INCLUDE_DIR={}'.format(sysconfig.get_python_inc()),
4 ]

Definition at line 21 of file get_python_cmake_flags.py.


Generated on Thu Mar 21 2019 13:06:38 for Caffe2 - Python API by   doxygen 1.8.11

Facebook Open Source

Open Source Projects GitHub Twitter
Contribute to this project on GitHub
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.