mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
19 lines
476 B
Python
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)
|