projects
/
platform
/
upstream
/
pytorch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f53c51
)
Throw exception when foxi is not checked out (#17477)
author
Lu Fang
<lufang@fb.com>
Mon, 25 Feb 2019 22:25:18 +0000
(14:25 -0800)
committer
Facebook Github Bot
<facebook-github-bot@users.noreply.github.com>
Mon, 25 Feb 2019 22:39:24 +0000
(14:39 -0800)
Summary:
Add check and provide useful warning/error information to user if foxi is not checked out.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17477
Reviewed By: zrphercule
Differential Revision:
D14212896
Pulled By: houseroad
fbshipit-source-id:
557247d5d8fdc016b1c24c2a21503e59f874ad09
setup.py
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index
20096a6
..
4ce1993
100644
(file)
--- a/
setup.py
+++ b/
setup.py
@@
-268,6
+268,7
@@
def build_deps():
check_file(os.path.join(third_party_path, "pybind11", "CMakeLists.txt"))
check_file(os.path.join(third_party_path, 'cpuinfo', 'CMakeLists.txt'))
check_file(os.path.join(third_party_path, 'onnx', 'CMakeLists.txt'))
+ check_file(os.path.join(third_party_path, 'foxi', 'CMakeLists.txt'))
check_file(os.path.join(third_party_path, 'QNNPACK', 'CMakeLists.txt'))
check_file(os.path.join(third_party_path, 'fbgemm', 'CMakeLists.txt'))