Commit 8c25ed52 authored by yan.yan's avatar yan.yan
Browse files

fix python 3.11 build

parent 2f66dd23
...@@ -13,6 +13,8 @@ class SpconvOps: ...@@ -13,6 +13,8 @@ class SpconvOps:
""" """
... ...
@staticmethod @staticmethod
def is_cpu_only_build() -> bool: ...
@staticmethod
def pccm_version() -> str: def pccm_version() -> str:
""" """
get pccm version when build spconv. get pccm version when build spconv.
......
...@@ -41,6 +41,10 @@ do ...@@ -41,6 +41,10 @@ do
if [ "$PYVER2" = "37" ]; then if [ "$PYVER2" = "37" ]; then
PYVER_CP="cp$PYVER2-cp${PYVER2}m" PYVER_CP="cp$PYVER2-cp${PYVER2}m"
fi fi
if [[ $PYVER2 == *"311"* ]]; then
PYVER_CP="cp311-cp311"
fi
"/opt/python/$PYVER_CP/bin/pip" wheel /io/ -v --no-deps -w /io/wheelhouse_tmp "/opt/python/$PYVER_CP/bin/pip" wheel /io/ -v --no-deps -w /io/wheelhouse_tmp
done done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment