@@ -34,10 +34,8 @@ def _get_build(var, default=False):
3434
3535
3636_BUILD_CPP_TEST = _get_build ("BUILD_CPP_TEST" , False )
37- _BUILD_SOX = False if platform .system () == "Windows" else _get_build ("BUILD_SOX" , True )
3837_BUILD_RIR = _get_build ("BUILD_RIR" , True )
3938_BUILD_RNNT = _get_build ("BUILD_RNNT" , True )
40- _USE_FFMPEG = _get_build ("USE_FFMPEG" , True )
4139_USE_ROCM = _get_build ("USE_ROCM" , torch .backends .cuda .is_built () and torch .version .hip is not None )
4240_USE_CUDA = _get_build ("USE_CUDA" , torch .backends .cuda .is_built () and torch .version .hip is None )
4341_BUILD_ALIGN = _get_build ("BUILD_ALIGN" , True )
@@ -102,7 +100,6 @@ def build_extension(self, ext):
102100 "-DCMAKE_VERBOSE_MAKEFILE=ON" ,
103101 f"-DPython_INCLUDE_DIR={ distutils .sysconfig .get_python_inc ()} " ,
104102 f"-DBUILD_CPP_TEST={ 'ON' if _BUILD_CPP_TEST else 'OFF' } " ,
105- f"-DBUILD_SOX:BOOL={ 'ON' if _BUILD_SOX else 'OFF' } " ,
106103 f"-DBUILD_RIR:BOOL={ 'ON' if _BUILD_RIR else 'OFF' } " ,
107104 f"-DBUILD_RNNT:BOOL={ 'ON' if _BUILD_RNNT else 'OFF' } " ,
108105 f"-DBUILD_ALIGN:BOOL={ 'ON' if _BUILD_ALIGN else 'OFF' } " ,
@@ -112,7 +109,6 @@ def build_extension(self, ext):
112109 f"-DUSE_ROCM:BOOL={ 'ON' if _USE_ROCM else 'OFF' } " ,
113110 f"-DUSE_CUDA:BOOL={ 'ON' if _USE_CUDA else 'OFF' } " ,
114111 f"-DUSE_OPENMP:BOOL={ 'ON' if _USE_OPENMP else 'OFF' } " ,
115- f"-DUSE_FFMPEG:BOOL={ 'ON' if _USE_FFMPEG else 'OFF' } " ,
116112 ]
117113 build_args = ["--target" , "install" ]
118114 # Pass CUDA architecture to cmake
0 commit comments