Skip to content

Commit

Permalink
[libtorch] cmake script/module installation
Browse files Browse the repository at this point in the history
  • Loading branch information
luncliff committed Oct 25, 2024
1 parent e2a8a8f commit a4609c8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ports/libtorch/fix-cmake.patch
Original file line number Diff line number Diff line change
Expand Up @@ -365,3 +365,18 @@ index b5aaeba..d55ffe7 100644
set(FXDIV_BUILD_TESTS OFF CACHE BOOL "")
set(FXDIV_BUILD_BENCHMARKS OFF CACHE BOOL "")
add_subdirectory(
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7502685..9c31022 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1318,10 +1318,6 @@ if(BUILD_SHARED_LIBS)
DIRECTORY ${PROJECT_SOURCE_DIR}/cmake/Modules_CUDA_fix
DESTINATION share/cmake/Caffe2/
COMPONENT dev)
- install(
- FILES ${PROJECT_SOURCE_DIR}/cmake/Modules/FindCUDAToolkit.cmake
- DESTINATION share/cmake/Caffe2/
- COMPONENT dev)
install(
FILES ${PROJECT_SOURCE_DIR}/cmake/Modules/FindCUSPARSELT.cmake
DESTINATION share/cmake/Caffe2/

0 comments on commit a4609c8

Please sign in to comment.