mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-13 20:12:22 +00:00
small fixes
This commit is contained in:
parent
372de2d22c
commit
3e90b086e0
@ -19,9 +19,16 @@ echo "Installing ${PYTHON_VERSION}.1"
|
||||
|
||||
yum -y install openssl-devel bzip2-devel libffi-devel xz-devel wget redhat-lsb-core
|
||||
|
||||
|
||||
if [[ $PYTHON_VERSION == 3.6 ]]; then
|
||||
curl -O https://www.python.org/ftp/python/${PYTHON_VERSION}.1/Python-${PYTHON_VERSION}.1.tgz
|
||||
tar xf Python-${PYTHON_VERSION}.1.tgz
|
||||
pushd Python-${PYTHON_VERSION}.1
|
||||
else
|
||||
curl -O https://www.python.org/ftp/python/${PYTHON_VERSION}.9/Python-${PYTHON_VERSION}.1.tgz
|
||||
tar xf Python-${PYTHON_VERSION}.9.tgz
|
||||
pushd Python-${PYTHON_VERSION}.9
|
||||
fi
|
||||
|
||||
PYTHON_INSTALL_DIR=$PWD/py-${PYTHON_VERSION}
|
||||
|
||||
|
@ -163,6 +163,8 @@ def generate_build_matrix(enable_cuda, for_windows, for_macos, test_only_latest_
|
||||
ans.append({"torch": torch, "python-version": p, "cuda": c})
|
||||
else:
|
||||
for p in python_versions:
|
||||
if p != "3.6":
|
||||
continue
|
||||
if for_windows or for_macos:
|
||||
p = "cp" + "".join(p.split("."))
|
||||
ans.append({"torch": torch, "python-version": p})
|
||||
|
Loading…
x
Reference in New Issue
Block a user