File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed
Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -43,19 +43,18 @@ This will install
4343Steps to build Python Dist Wheel on CentOS with manylinux
4444===================================================
4545```
46- docker pull quay.io/pypa/manylinux2014_x86_64
47- sudo docker run -it quay.io/pypa/manylinux2014_x86_64 /bin/bash
48-
49- cd /
50-
51- yum group install "Development Tools"
52- yum remove swig
53- yum install python36 python36-devel swig3
46+ pip install https://github.com/pypa/manylinux
47+ cd manylinux
48+ PLATFORM=$(uname -m) TRAVIS_COMMIT=latest ./build.sh
49+
50+ yum install wget
51+ wget https://downloads.sourceforge.net/swig/swig-3.0.12.tar.gz
52+ tar xvfz swig-3.0.12.tar.gz
53+ cd swig-3.0.12
54+ ./configure --prefix=/usr --without-clisp --without-maximum-compile-warnings --without-pcre && make && make install
5455pip3 install numpy onnx==1.5.0 wheel twine
5556
56-
57- git clone https://github.com/ai-techsystems/dnnCompiler.git
58- cd dnnCompiler
59- make CC=g++
6057python3 setup.py bdist_wheel
58+ auditwheel repair dist/deepC*whl
59+ python3 -m twine upload wheelhouse/deepC*whl
6160```
You can’t perform that action at this time.
0 commit comments