Skip to content

Commit 2773a6d

Browse files
authored
Fix auditwheel script (#639)
The recent change in auditwheel shows different file name for the `policy.json`. Let's use the right json file for manylinux as located at: https://github.com/pypa/auditwheel/blob/main/src/auditwheel/policy/manylinux-policy.json
1 parent 7cc34a1 commit 2773a6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third_party/tf/auditwheel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
TF_SHARED_LIBRARY_NAME=$(grep -r TF_SHARED_LIBRARY_NAME .bazelrc | awk -F= '{print$2}')
22

3-
POLICY_JSON=$(find / -name policy.json)
3+
POLICY_JSON=$(find / -name manylinux-policy.json)
44

55
sed -i "s/libresolv.so.2\"/libresolv.so.2\", $TF_SHARED_LIBRARY_NAME/g" $POLICY_JSON
66

0 commit comments

Comments
 (0)