From 9e67ef75b46b4d267b9df4ac6c1f232681470a4c Mon Sep 17 00:00:00 2001 From: Zack Zhiyuan Li Date: Sun, 3 Nov 2024 21:29:09 +0000 Subject: [PATCH] remove uneccesary build and rename shared lib --- CMakeLists.txt | 10 +++++----- examples/nexa-omni-audio/CMakeLists.txt | 2 +- examples/qwen2-audio/CMakeLists.txt | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cf4a48f43..3f265bfc2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -190,12 +190,12 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/llama.pc" add_subdirectory(common) -if (LLAMA_BUILD_TESTS AND NOT CMAKE_JS_VERSION) - include(CTest) - add_subdirectory(tests) -endif () +# if (LLAMA_BUILD_TESTS AND NOT CMAKE_JS_VERSION) +# include(CTest) +# add_subdirectory(tests) +# endif () if (LLAMA_BUILD_EXAMPLES) add_subdirectory(examples) - add_subdirectory(pocs) + # add_subdirectory(pocs) endif() diff --git a/examples/nexa-omni-audio/CMakeLists.txt b/examples/nexa-omni-audio/CMakeLists.txt index 13cc3e355..f9b78a44b 100644 --- a/examples/nexa-omni-audio/CMakeLists.txt +++ b/examples/nexa-omni-audio/CMakeLists.txt @@ -45,7 +45,7 @@ if(BUILD_SHARED_LIBS) set_target_properties(${OMNI_AUDIO_LIB}_shared PROPERTIES PUBLIC_HEADER omni.h POSITION_INDEPENDENT_CODE ON - OUTPUT_NAME "${OMNI_AUDIO_LIB}" + OUTPUT_NAME "${OMNI_AUDIO_LIB}_shared" ) install(TARGETS ${OMNI_AUDIO_LIB}_shared LIBRARY diff --git a/examples/qwen2-audio/CMakeLists.txt b/examples/qwen2-audio/CMakeLists.txt index a4d1ba8a9..4ef7430c7 100644 --- a/examples/qwen2-audio/CMakeLists.txt +++ b/examples/qwen2-audio/CMakeLists.txt @@ -37,7 +37,7 @@ if(BUILD_SHARED_LIBS) set_target_properties(${QWEN2_AUDIO_LIB}_shared PROPERTIES PUBLIC_HEADER qwen2.h POSITION_INDEPENDENT_CODE ON - OUTPUT_NAME "${QWEN2_AUDIO_LIB}" + OUTPUT_NAME "${QWEN2_AUDIO_LIB}_shared" ) install(TARGETS ${QWEN2_AUDIO_LIB}_shared LIBRARY