зеркало из https://github.com/mozilla/DeepSpeech.git
Merge pull request #3539 from lissyx/new-swig
Tentative merge of SWIG master
This commit is contained in:
Коммит
385c8c769b
|
@ -209,11 +209,11 @@ endef
|
|||
SWIG_DIST_URL ?=
|
||||
ifeq ($(SWIG_DIST_URL),)
|
||||
ifeq ($(findstring Linux,$(OS)),Linux)
|
||||
SWIG_DIST_URL := "https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.swig.linux.amd64.f0e5d1a0be7383abd98a29a75f47d5dc10a87ef2.0/artifacts/public/ds-swig.tar.gz"
|
||||
SWIG_DIST_URL := "https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.swig.linux.amd64.fec7d5d3179833e37759ffc6532f86344982e26a.0/artifacts/public/ds-swig.tar.gz"
|
||||
else ifeq ($(findstring Darwin,$(OS)),Darwin)
|
||||
SWIG_DIST_URL := "https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.swig.darwin.amd64.f0e5d1a0be7383abd98a29a75f47d5dc10a87ef2.0/artifacts/public/ds-swig.tar.gz"
|
||||
SWIG_DIST_URL := "https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.swig.darwin.amd64.fec7d5d3179833e37759ffc6532f86344982e26a.0/artifacts/public/ds-swig.tar.gz"
|
||||
else ifeq ($(findstring _NT,$(OS)),_NT)
|
||||
SWIG_DIST_URL := "https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.swig.win.amd64.f0e5d1a0be7383abd98a29a75f47d5dc10a87ef2.0/artifacts/public/ds-swig.tar.gz"
|
||||
SWIG_DIST_URL := "https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.swig.win.amd64.fec7d5d3179833e37759ffc6532f86344982e26a.0/artifacts/public/ds-swig.tar.gz"
|
||||
else
|
||||
$(error There is no prebuilt SWIG available for your platform. Please produce one and set SWIG_DIST_URL.)
|
||||
endif # findstring()
|
||||
|
@ -224,7 +224,7 @@ SWIG_ROOT ?= $(abspath $(shell dirname "$(lastword $(MAKEFILE_LIST))"))/ds-swig
|
|||
ifeq ($(findstring _NT,$(OS)),_NT)
|
||||
SWIG_ROOT ?= $(shell cygpath -u "$(SWIG_ROOT)")
|
||||
endif
|
||||
SWIG_LIB ?= $(SWIG_ROOT)/share/swig/4.0.2/
|
||||
SWIG_LIB ?= $(SWIG_ROOT)/share/swig/4.1.0/
|
||||
|
||||
SWIG_BIN := swig$(PLATFORM_EXE_SUFFIX)
|
||||
DS_SWIG_BIN := ds-swig$(PLATFORM_EXE_SUFFIX)
|
||||
|
|
|
@ -172,17 +172,17 @@ system:
|
|||
namespace: "project.deepspeech.kenlm.689a25aae9171b3ea46bd80d4189f540f35f1a02.4.win"
|
||||
swig:
|
||||
repo: "https://github.com/lissyx/swig"
|
||||
sha1: "f0e5d1a0be7383abd98a29a75f47d5dc10a87ef2"
|
||||
sha1: "fec7d5d3179833e37759ffc6532f86344982e26a"
|
||||
swig_build:
|
||||
linux:
|
||||
url: "https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.swig.linux.amd64.f0e5d1a0be7383abd98a29a75f47d5dc10a87ef2.0/artifacts/public/ds-swig.tar.gz"
|
||||
namespace: "project.deepspeech.swig.linux.amd64.f0e5d1a0be7383abd98a29a75f47d5dc10a87ef2.0"
|
||||
url: "https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.swig.linux.amd64.fec7d5d3179833e37759ffc6532f86344982e26a.0/artifacts/public/ds-swig.tar.gz"
|
||||
namespace: "project.deepspeech.swig.linux.amd64.fec7d5d3179833e37759ffc6532f86344982e26a.0"
|
||||
osx:
|
||||
url: "https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.swig.darwin.amd64.f0e5d1a0be7383abd98a29a75f47d5dc10a87ef2.0/artifacts/public/ds-swig.tar.gz"
|
||||
namespace: "project.deepspeech.swig.darwin.amd64.f0e5d1a0be7383abd98a29a75f47d5dc10a87ef2.0"
|
||||
url: "https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.swig.darwin.amd64.fec7d5d3179833e37759ffc6532f86344982e26a.0/artifacts/public/ds-swig.tar.gz"
|
||||
namespace: "project.deepspeech.swig.darwin.amd64.fec7d5d3179833e37759ffc6532f86344982e26a.0"
|
||||
win:
|
||||
url: "https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.swig.win.amd64.f0e5d1a0be7383abd98a29a75f47d5dc10a87ef2.0/artifacts/public/ds-swig.tar.gz"
|
||||
namespace: "project.deepspeech.swig.win.amd64.f0e5d1a0be7383abd98a29a75f47d5dc10a87ef2.0"
|
||||
url: "https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.swig.win.amd64.fec7d5d3179833e37759ffc6532f86344982e26a.0/artifacts/public/ds-swig.tar.gz"
|
||||
namespace: "project.deepspeech.swig.win.amd64.fec7d5d3179833e37759ffc6532f86344982e26a.0"
|
||||
tensorflow:
|
||||
linux_amd64_cpu:
|
||||
url: "https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.tensorflow.pip.r2.3.23ad988fcde60fb01f9533e95004bbc4877a9143.0.cpu/artifacts/public/home.tar.xz"
|
||||
|
|
|
@ -34,7 +34,7 @@ install_nuget()
|
|||
|
||||
ls -halR "${PROJECT_NAME}.${DS_VERSION}"
|
||||
|
||||
nuget install NAudio
|
||||
nuget install NAudio -Version 1.10.0
|
||||
cp NAudio*/lib/net35/NAudio.dll ${TASKCLUSTER_TMP_DIR}/ds/
|
||||
cp ${PROJECT_NAME}.${DS_VERSION}/build/libdeepspeech.so ${TASKCLUSTER_TMP_DIR}/ds/
|
||||
cp ${PROJECT_NAME}.${DS_VERSION}/lib/net46/DeepSpeechClient.dll ${TASKCLUSTER_TMP_DIR}/ds/
|
||||
|
|
Загрузка…
Ссылка в новой задаче