Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
one
spconv
Commits
8c25ed52
Commit
8c25ed52
authored
Sep 25, 2022
by
yan.yan
Browse files
fix python 3.11 build
parent
2f66dd23
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
spconv/core_cc/csrc/sparse/all/__init__.pyi
spconv/core_cc/csrc/sparse/all/__init__.pyi
+2
-0
tools/build-wheels.sh
tools/build-wheels.sh
+4
-0
No files found.
spconv/core_cc/csrc/sparse/all/__init__.pyi
View file @
8c25ed52
...
@@ -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.
...
...
tools/build-wheels.sh
View file @
8c25ed52
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment