Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 46d4cf6

Browse files
bokhisoumith
authored andcommitted
fix missing hashes from wheel's RECORD
- generate hashes for files in caffe2/ folder
1 parent 73e150a commit 46d4cf6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

manywheel/build_common.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -288,12 +288,8 @@ for pkg in /$WHEELHOUSE_DIR/torch*linux*.whl /$LIBTORCH_HOUSE_DIR/libtorch*.zip;
288288
if [[ -e $record_file ]]; then
289289
echo "Generating new record file $record_file"
290290
rm -f $record_file
291-
# generate records for torch folder
292-
find torch -type f | while read fname; do
293-
echo $(make_wheel_record $fname) >>$record_file
294-
done
295-
# generate records for torch-[version]-dist-info folder
296-
find torch*dist-info -type f | while read fname; do
291+
# generate records for folders in wheel
292+
find * -type f | while read fname; do
297293
echo $(make_wheel_record $fname) >>$record_file
298294
done
299295
fi

0 commit comments

Comments
 (0)