Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
FAST-RNNT
Commits
03b82cc4
Commit
03b82cc4
authored
Oct 31, 2022
by
pkufool
Browse files
Update pypi
parent
a4cdc05b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
CMakeLists.txt
CMakeLists.txt
+1
-1
setup.py
setup.py
+2
-3
No files found.
CMakeLists.txt
View file @
03b82cc4
...
@@ -46,7 +46,7 @@ message(STATUS "Enabled languages: ${languages}")
...
@@ -46,7 +46,7 @@ message(STATUS "Enabled languages: ${languages}")
project
(
fast_rnnt
${
languages
}
)
project
(
fast_rnnt
${
languages
}
)
set
(
FT_VERSION
"1.
1
"
)
set
(
FT_VERSION
"1.
2
"
)
set
(
ALLOWABLE_BUILD_TYPES Debug Release RelWithDebInfo MinSizeRel
)
set
(
ALLOWABLE_BUILD_TYPES Debug Release RelWithDebInfo MinSizeRel
)
set
(
DEFAULT_BUILD_TYPE
"Release"
)
set
(
DEFAULT_BUILD_TYPE
"Release"
)
...
...
setup.py
View file @
03b82cc4
...
@@ -36,11 +36,10 @@ class BuildExtension(build_ext):
...
@@ -36,11 +36,10 @@ class BuildExtension(build_ext):
system_make_args
=
os
.
environ
.
get
(
"MAKEFLAGS"
,
""
)
system_make_args
=
os
.
environ
.
get
(
"MAKEFLAGS"
,
""
)
if
cmake_args
==
""
:
if
cmake_args
==
""
:
cmake_args
=
"-DCMAKE_BUILD_TYPE=Release"
cmake_args
=
"-DCMAKE_BUILD_TYPE=Release
-DFT_BUILD_TESTS=OFF
"
if
make_args
==
""
and
system_make_args
==
""
:
if
make_args
==
""
and
system_make_args
==
""
:
print
(
"For fast compilation, run:"
)
make_args
=
' -j '
print
(
'export FT_MAKE_ARGS="-j"; python setup.py install'
)
if
"PYTHON_EXECUTABLE"
not
in
cmake_args
:
if
"PYTHON_EXECUTABLE"
not
in
cmake_args
:
print
(
f
"Setting PYTHON_EXECUTABLE to
{
sys
.
executable
}
"
)
print
(
f
"Setting PYTHON_EXECUTABLE to
{
sys
.
executable
}
"
)
...
...
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