mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Remove unused autitwheel code
This commit is contained in:
parent
d79b259ece
commit
eaec560618
@ -17,8 +17,6 @@ mv /opt/mpich/usr/lib/x86_64-linux-gnu/mpich/include /opt/mpich/include
|
|||||||
rm -rf wheelhouse
|
rm -rf wheelhouse
|
||||||
export NETGEN_CCACHE=1
|
export NETGEN_CCACHE=1
|
||||||
|
|
||||||
/opt/python/cp39-cp39/bin/python tests/fix_auditwheel_policy.py
|
|
||||||
|
|
||||||
for pyversion in 313 312 311 310 39 38
|
for pyversion in 313 312 311 310 39 38
|
||||||
do
|
do
|
||||||
export PYDIR="/opt/python/cp${pyversion}-cp${pyversion}/bin"
|
export PYDIR="/opt/python/cp${pyversion}-cp${pyversion}/bin"
|
||||||
@ -31,7 +29,6 @@ do
|
|||||||
rm -rf _skbuild
|
rm -rf _skbuild
|
||||||
NETGEN_ARCH=avx2 $PYDIR/pip wheel .
|
NETGEN_ARCH=avx2 $PYDIR/pip wheel .
|
||||||
mkdir -p wheelhouse
|
mkdir -p wheelhouse
|
||||||
#auditwheel repair netgen_mesher*-cp${pyversion}-*.whl
|
|
||||||
rename linux_x86_64 manylinux_2_17_x86_64.manylinux2014_x86_64 netgen_mesher*-cp${pyversion}-*.whl
|
rename linux_x86_64 manylinux_2_17_x86_64.manylinux2014_x86_64 netgen_mesher*-cp${pyversion}-*.whl
|
||||||
mv netgen_mesher*-cp${pyversion}-*.whl wheelhouse/
|
mv netgen_mesher*-cp${pyversion}-*.whl wheelhouse/
|
||||||
|
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
import json
|
|
||||||
|
|
||||||
policy_file = "/opt/_internal/pipx/venvs/auditwheel/lib/python3.10/site-packages/auditwheel/policy/manylinux-policy.json"
|
|
||||||
data = json.load(open(policy_file))
|
|
||||||
additional_libs = [
|
|
||||||
"libbz2.so.1.0.6",
|
|
||||||
"libfontconfig.so.1.11.1",
|
|
||||||
"libfreetype.so.6.14.0",
|
|
||||||
"libGLU.so.1.3.1",
|
|
||||||
"libpng15.so.15.13.0",
|
|
||||||
"libtcl8.so",
|
|
||||||
"libtk8.so",
|
|
||||||
"libuuid.so.1.3.0",
|
|
||||||
"libz.so.1.2.7",
|
|
||||||
"libXmu.so.6",
|
|
||||||
"libOpenGL.so.0",
|
|
||||||
"libGLdispatch.so.0",
|
|
||||||
"libGLX.so.0",
|
|
||||||
"libGLU.so.1",
|
|
||||||
]
|
|
||||||
|
|
||||||
for entry in data:
|
|
||||||
if 'manylinux' in entry['name']:
|
|
||||||
entry['lib_whitelist'] += additional_libs
|
|
||||||
|
|
||||||
json.dump(data, open(policy_file, 'w'))
|
|
Loading…
Reference in New Issue
Block a user