From dacfc63e79df3ff0988b9577bf9565bded3b1d65 Mon Sep 17 00:00:00 2001 From: Roy Shilkrot Date: Tue, 1 Oct 2024 16:03:51 -0400 Subject: [PATCH] refactor: Update version to 0.3.6 and adjust website URL Update the version of the OBS Localvocal project to 0.3.6 and adjust the website URL to point to the correct GitHub repository. --- buildspec.json | 4 ++-- cmake/FetchOnnxruntime.cmake | 14 +++++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/buildspec.json b/buildspec.json index fd6c6f7..937767d 100644 --- a/buildspec.json +++ b/buildspec.json @@ -38,9 +38,9 @@ }, "name": "obs-localvocal", "displayName": "OBS Localvocal", - "version": "0.3.5", + "version": "0.3.6", "author": "Roy Shilkrot", - "website": "https://github.com/occ-ai/obs-localvocal", + "website": "https://github.com/locaal-ai/obs-localvocal", "email": "roy.shil@gmail.com", "uuids": { "macosPackage": "CB66E5DF-FF45-4BEA-B38B-7AD3705860C9", diff --git a/cmake/FetchOnnxruntime.cmake b/cmake/FetchOnnxruntime.cmake index 940bada..fa9556f 100644 --- a/cmake/FetchOnnxruntime.cmake +++ b/cmake/FetchOnnxruntime.cmake @@ -82,13 +82,17 @@ elseif(MSVC) target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE Ort) else() + set(Onnxruntime_LINK_LIBS "${onnxruntime_SOURCE_DIR}/lib/libonnxruntime.so.${Onnxruntime_VERSION}") + set(Onnxruntime_ADDITIONAL_LIBS + "${onnxruntime_SOURCE_DIR}/lib/libonnxruntime_providers_shared.so" + "${onnxruntime_SOURCE_DIR}/lib/libonnxruntime.so" "${onnxruntime_SOURCE_DIR}/lib/libonnxruntime.so.1") if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64") - set(Onnxruntime_LINK_LIBS "${onnxruntime_SOURCE_DIR}/lib/libonnxruntime.so.${Onnxruntime_VERSION}") - set(Onnxruntime_INSTALL_LIBS ${Onnxruntime_LINK_LIBS}) + set(Onnxruntime_INSTALL_LIBS ${Onnxruntime_LINK_LIBS} ${Onnxruntime_ADDITIONAL_LIBS}) else() - set(Onnxruntime_LINK_LIBS "${onnxruntime_SOURCE_DIR}/lib/libonnxruntime.so.${Onnxruntime_VERSION}") - set(Onnxruntime_INSTALL_LIBS ${Onnxruntime_LINK_LIBS} - "${onnxruntime_SOURCE_DIR}/lib/libonnxruntime_providers_shared.so") + set(Onnxruntime_INSTALL_LIBS + ${Onnxruntime_LINK_LIBS} ${Onnxruntime_ADDITIONAL_LIBS} + "${onnxruntime_SOURCE_DIR}/lib/libonnxruntime_providers_cuda.so" + "${onnxruntime_SOURCE_DIR}/lib/libonnxruntime_providers_tensorrt.so") endif() target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE ${Onnxruntime_LINK_LIBS}) target_include_directories(${CMAKE_PROJECT_NAME} SYSTEM PUBLIC "${onnxruntime_SOURCE_DIR}/include")