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 3535
3636 ls dist/*
3737 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
3939 done
40+ sudo chown -R $( id -nu) :$( id -ng) .
4041 ls wheelhouse/*
4142fi
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