File tree 1 file changed +11
-12
lines changed
1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -43,19 +43,18 @@ This will install
43
43
Steps to build Python Dist Wheel on CentOS with manylinux
44
44
===================================================
45
45
```
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
54
55
pip3 install numpy onnx==1.5.0 wheel twine
55
56
56
-
57
- git clone https://github.com/ai-techsystems/dnnCompiler.git
58
- cd dnnCompiler
59
- make CC=g++
60
57
python3 setup.py bdist_wheel
58
+ auditwheel repair dist/deepC*whl
59
+ python3 -m twine upload wheelhouse/deepC*whl
61
60
```
You can’t perform that action at this time.
0 commit comments