pytorch/tools/code_analyzer
Ann Shan 0e3cf6b8d2 [pytorch] remove code analyzer build folder between builds (#44148)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/44148

Automatically remove the build_code_analyzer folder each time build.sh is run
ghstack-source-id: 111458413

Test Plan:
Run build.sh with different options and compare the outputs (should be different).
Ex:
`ANALYZE_TORCH=1 DEPLOY=1 BASE_OPS_FILE=/path/to/baseops MOBILE_BUILD_FLAGS='-DBUILD_MOBILE_AUTOGRAD=OFF' tools/code_analyzer/build.sh `

should produce a shorter file than
`ANALYZE_TORCH=1 DEPLOY=1 BASE_OPS_FILE=/path/to/baseops MOBILE_BUILD_FLAGS='-DBUILD_MOBILE_AUTOGRAD=ON' tools/code_analyzer/build.sh`

Reviewed By: iseeyuan

Differential Revision: D23503886

fbshipit-source-id: 9b95d4365540da0bd2d27760e1315caed5f44eec
2020-09-04 10:38:12 -07:00
..
analyzer.cpp
build.sh [pytorch] remove code analyzer build folder between builds (#44148) 2020-09-04 10:38:12 -07:00
CMakeLists.txt
default_op_deps.yaml [pytorch][bot] update mobile op deps (#44100) 2020-09-03 11:24:26 -07:00
gen_op_registration_whitelist.py
op_deps_pass.cpp Reimplement per-operator selective build (#39401) 2020-08-20 19:10:02 -07:00
op_deps_processor.py
run_analyzer.sh [pytorch] tweak code analyzer script to handle new namespaces (#40276) 2020-06-19 14:54:21 -07:00