From 9e08c998dbf5ab3da755b06c5c9b5e2b76aac31a Mon Sep 17 00:00:00 2001 From: Lu Fang Date: Mon, 25 Feb 2019 14:25:18 -0800 Subject: [PATCH] Throw exception when foxi is not checked out (#17477) 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 20096a6..4ce1993 100644 --- 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')) -- 2.7.4