Skip to content

Commit ff22429

Browse files
committed
Strip size_test binaries and report their sizes in build_size_test.sh
ghstack-source-id: 5474710345a2a2712c47265b4428a886c6867438 ghstack-comment-id: 2752782870 Pull-Request-resolved: #9633
1 parent 0e3b076 commit ff22429

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/build_size_test.sh

+9
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@ test_cmake_size_test() {
4040

4141
echo 'ExecuTorch with portable ops binary size, unstripped:'
4242
ls -al cmake-out/test/size_test_all_ops
43+
44+
strip cmake-out/test/size_test
45+
strip cmake-out/test/size_test_all_ops
46+
47+
echo 'ExecuTorch with no ops binary size, stripped:'
48+
ls -al cmake-out/test/size_test
49+
50+
echo 'ExecuTorch with portable ops binary size, stripped:'
51+
ls -al cmake-out/test/size_test_all_ops
4352
}
4453

4554
if [[ -z $PYTHON_EXECUTABLE ]]; then

0 commit comments

Comments
 (0)