pytorch/build_android_prepare.py
Yangqing Jia 2535720654 fbsync
2016-10-07 15:47:52 -07:00

19 lines
476 B
Python

"""Configuration for the Caffe2 installation.
"""
from build import Config
import sys
Config.USE_SYSTEM_PROTOBUF = False
Config.PROTOC_BINARY = 'gen/third_party/protoc'
Config.USE_OPENMP = False
if __name__ == '__main__':
from brewtool.brewery import Brewery
Brewery.Run(
Config,
['build_android_prepare.py',
'build', '//third_party:protoc'])
else:
print('This script is not intended to be used as an imported module.')
sys.exit(1)