mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Differential Revision: D36694963 Pull Request resolved: https://github.com/pytorch/pytorch/pull/78345 Approved by: https://github.com/kit1980
11 lines
353 B
Python
11 lines
353 B
Python
# Only used for PyTorch open source BUCK build
|
|
# @lint-ignore-every BUCKRESTRICTEDSYNTAX
|
|
|
|
load("@fbcode_macros//build_defs:python_binary.bzl", "python_binary")
|
|
|
|
def fb_python_binary(**kwgs):
|
|
if read_config("pt", "is_oss", "0") == "0":
|
|
fail("This file is for open source pytorch build. Do not use it in fbsource!")
|
|
|
|
python_binary(**kwgs)
|