Skip to content

Commit

Permalink
inference-backends rootpaths after download now contain also os and a…
Browse files Browse the repository at this point in the history
…rchitecture
  • Loading branch information
faressc committed Dec 6, 2024
1 parent 9734602 commit ab5afb9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake/SetupLibTorch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ else()
endif()

option(LIBTORCH_ROOTDIR "libtorch root dir")
set(LIBTORCH_DIR_NAME "libtorch-${LIBTORCH_VERSION}${TORCH_BUILD_TYPE}")
set(LIBTORCH_DIR_NAME "libtorch-${LIBTORCH_VERSION}${TORCH_BUILD_TYPE}-${ANIRA_OPERATING_SYSTEM}-${CMAKE_SYSTEM_PROCESSOR}")
set(LIBTORCH_ROOTDIR ${CMAKE_CURRENT_SOURCE_DIR}/modules/${LIBTORCH_DIR_NAME})

if(EXISTS ${LIBTORCH_ROOTDIR}/)
Expand Down
2 changes: 1 addition & 1 deletion cmake/SetupOnnxRuntime.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
set(LIBONNXRUNTIME_VERSION 1.19.2)

option(ONNXRUNTIME_ROOTDIR "onnxruntime root dir")
set(ONNXRUNTIME_DIR_NAME "onnxruntime-${LIBONNXRUNTIME_VERSION}")
set(ONNXRUNTIME_DIR_NAME "onnxruntime-${LIBONNXRUNTIME_VERSION}-${ANIRA_OPERATING_SYSTEM}-${CMAKE_SYSTEM_PROCESSOR}")
set(ONNXRUNTIME_ROOTDIR ${CMAKE_CURRENT_SOURCE_DIR}/modules/${ONNXRUNTIME_DIR_NAME})

if(EXISTS ${ONNXRUNTIME_ROOTDIR}/)
Expand Down
2 changes: 1 addition & 1 deletion cmake/SetupTensorflowLite.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ else()
endif()

option(TENSORFLOWLITE_ROOTDIR "tensorflowlite root dir")
set(TENSORFLOWLITE_DIR_NAME "tensorflowlite-${LIBTENSORFLOWLITE_VERSION}")
set(TENSORFLOWLITE_DIR_NAME "tensorflowlite-${LIBTENSORFLOWLITE_VERSION}-${ANIRA_OPERATING_SYSTEM}-${CMAKE_SYSTEM_PROCESSOR}")
set(TENSORFLOWLITE_ROOTDIR ${CMAKE_CURRENT_SOURCE_DIR}/modules/${TENSORFLOWLITE_DIR_NAME})

if(EXISTS ${TENSORFLOWLITE_ROOTDIR}/)
Expand Down

0 comments on commit ab5afb9

Please sign in to comment.