Skip to content

Commit

Permalink
Update build_wheels.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
fikisipi authored Jan 24, 2021
1 parent 3fea739 commit ef8ee98
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions build_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,10 @@ yum install -y atlas-devel

MPATH="$PATH"

# Don't need this hack anymore, cmake is available!
if [[ 0 -eq 1 ]]; then
# Reuse 3.7 CMake for 3.8
for PYBIN in /opt/python/cp37*/bin; do
"${PYBIN}/python" -m pip install cmake
cp -r /opt/python/cp37*/lib/python3.7/site-packages/cmake /opt/python/cp38-cp38/lib/python3.8/site-packages/
cp /opt/python/cp37*/bin/cmake /opt/python/cp38-cp38/bin
done
fi

# Compile wheels
for PYBIN in /opt/python/cp3*/bin; do
PATH="${PYBIN}/:${MPATH}"
#if [[ $PYBIN != *"cp38"* ]]; then
"${PYBIN}/python" -m pip install cmake
#fi
"${PYBIN}/python" -m pip install scikit-build ninja
"${PYBIN}/python" -m pip wheel /io/ -w dist/
/bin/rm -rf /io/_skbuild
Expand Down

0 comments on commit ef8ee98

Please sign in to comment.