Skip to content

Instantly share code, notes, and snippets.

@jacobkahn
Created October 12, 2022 16:11
Show Gist options
  • Save jacobkahn/f345a94974838c89df6b07f77824fca5 to your computer and use it in GitHub Desktop.
Save jacobkahn/f345a94974838c89df6b07f77824fca5 to your computer and use it in GitHub Desktop.
diff --git a/bindings/python/CMakeLists.txt b/bindings/python/CMakeLists.txt
index 08b4c486..7f32e9b8 100644
--- a/bindings/python/CMakeLists.txt
+++ b/bindings/python/CMakeLists.txt
@@ -21,7 +21,7 @@ function (add_pybind11_extension ext_name)
target_link_libraries(
${ext_name}
PUBLIC
- fl_lib_audio
+ # fl_lib_audio
fl_lib_sequence
)
@@ -31,5 +31,5 @@ function (add_pybind11_extension ext_name)
endfunction ()
-add_pybind11_extension(flashlight_lib_audio_feature)
+# add_pybind11_extension(flashlight_lib_audio_feature)
add_pybind11_extension(flashlight_lib_sequence_criterion)
diff --git a/bindings/python/setup.py b/bindings/python/setup.py
index f92148d2..4adb3e13 100644
--- a/bindings/python/setup.py
+++ b/bindings/python/setup.py
@@ -72,6 +72,7 @@ class CMakeBuild(build_ext):
"-DFL_BUILD_ALL_LIBS=ON",
"-DFL_BUILD_EXAMPLES=OFF",
"-DFL_BUILD_TESTS=OFF",
+ "-DFL_BUILD_LIB_AUDIO=OFF",
"-DFL_LIBRARIES_BUILD_FOR_PYTHON=ON",
"-DFL_LIBRARIES_USE_CUDA=" + use_cuda,
"-DFL_LIBRARIES_USE_MKL=" + use_mkl,
@@ -116,11 +117,11 @@ setup(
packages=[
"flashlight",
"flashlight.lib",
- "flashlight.lib.audio",
+ # "flashlight.lib.audio",
"flashlight.lib.sequence",
],
ext_modules=[
- CMakeExtension("flashlight.lib.audio.feature"),
+ # CMakeExtension("flashlight.lib.audio.feature"),
CMakeExtension("flashlight.lib.sequence.criterion"),
],
cmdclass={"build_ext": CMakeBuild},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment