File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 35
35
36
36
ls dist/*
37
37
for f in dist/* .whl; do
38
- docker run -i --rm --user $( id -u ) : $( id -g ) -v /etc/password:/etc/password -v $PWD :/v -w /v --net=host -e LD_LIBRARY_PATH=/v/build quay.io/pypa/manylinux2010_x86_64 auditwheel repair --plat manylinux2010_x86_64 $f
38
+ docker run -i --rm -v $PWD :/v -w /v --net=host quay.io/pypa/manylinux2010_x86_64 bash -x -e /v/third_party/tf/ auditwheel repair --plat manylinux2010_x86_64 $f
39
39
done
40
+ sudo chown -R $( id -nu) :$( id -ng) .
40
41
ls wheelhouse/*
41
42
fi
Original file line number Diff line number Diff line change
1
+ TF_SHARED_LIBRARY_NAME=$(grep -r TF_SHARED_LIBRARY_NAME .bazelrc | awk -F= '{print$2}')
2
+
3
+ POLICY_JSON=$(find / -name policy.json)
4
+
5
+ sed -i "s/libresolv.so.2\"/libresolv.so.2\", $TF_SHARED_LIBRARY_NAME/g" $POLICY_JSON
6
+
7
+ cat $POLICY_JSON
8
+
9
+ auditwheel $@
You can’t perform that action at this time.
0 commit comments