Exclude generated SWIG wrapper code from decoder sources

This commit is contained in:
Reuben Morais 2019-07-17 13:16:38 +00:00 committed by GitHub
parent 69ad6016a7
commit 8af1286d87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ OPENFST_SOURCES_PLATFORM = select({
DECODER_SOURCES = glob([ DECODER_SOURCES = glob([
"ctcdecode/*.h", "ctcdecode/*.h",
"ctcdecode/*.cpp", "ctcdecode/*.cpp",
]) + OPENFST_SOURCES_PLATFORM + KENLM_SOURCES ], exclude=["ctcdecode/*_wrap.cpp"]) + OPENFST_SOURCES_PLATFORM + KENLM_SOURCES
OPENFST_INCLUDES_PLATFORM = select({ OPENFST_INCLUDES_PLATFORM = select({
"//tensorflow:windows": ["ctcdecode/third_party/openfst-1.6.9-win/src/include"], "//tensorflow:windows": ["ctcdecode/third_party/openfst-1.6.9-win/src/include"],