Lines Matching full:cmake

10 # Enables CMake to set LTO on compilers other than Intel.
12 # Enable the policy for CMake subprojects. protobuf currently causes issues
16 # we do this (and we don't if cmake is old), but it's nice when it's possible,
55 include(cmake/public/utils.cmake)
72 include(cmake/CheckAbi.cmake)
90 # One variable that determines whether the current cmake process is being run
93 # caffe2 in the cmake script. One can usually guard it in some way like if(NOT
97 # Googletest's cmake files are going to set it on once they are processed. Let's
206 # also add it to cmake/Summary.cmake so that the summary prints out the option
257 # USE_ROCM is guarded against in Dependencies.cmake because USE_ROCM is not properly defined here
493 # /Z7 override option When generating debug symbols, CMake default to use the
766 # ---[ CMake scripts + modules
767 list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/Modules)
769 # ---[ CMake build directories
776 # ---[ Build variables set within the cmake tree
777 include(cmake/BuildVariables.cmake)
800 # the cmake compiler check for cross-compiling
804 # We write to a temp scriptfile because CMake COMMAND dislikes double quotes
828 include(cmake/MiscCheck.cmake)
850 # include(cmake/Dependencies.cmake) 2. USE_CUDA will become OFF during
860 # The only solution is to include(cmake/Dependencies.cmake), and defer the
863 include(cmake/Dependencies.cmake)
887 # Cannot be put into Dependencies.cmake due circular dependency:
888 # USE_FLASH_ATTENTION -> USE_ROCM -> Dependencies.cmake -> aotriton.cmake
892 include(cmake/External/aotriton.cmake)
974 include(cmake/Allowlist.cmake)
987 include(cmake/public/utils.cmake)
1241 # ---[ CMake related files Uninistall option.
1244 ${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in
1245 ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake IMMEDIATE @ONLY)
1249 ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
1252 # ---[ Make configuration files for cmake to allow dependent libraries easier
1258 message(WARNING "Generated cmake files are only fully tested if one builds "
1272 # fail. As a result, we will only provide the targets cmake files for shared lib
1274 # https://cmake.org/pipermail/cmake/2016-May/063400.html
1276 configure_file(${PROJECT_SOURCE_DIR}/cmake/Caffe2Config.cmake.in
1277 ${PROJECT_BINARY_DIR}/Caffe2Config.cmake @ONLY)
1279 FILES ${PROJECT_BINARY_DIR}/Caffe2Config.cmake
1280 DESTINATION share/cmake/Caffe2
1283 FILES ${PROJECT_SOURCE_DIR}/cmake/public/cuda.cmake
1284 ${PROJECT_SOURCE_DIR}/cmake/public/xpu.cmake
1285 ${PROJECT_SOURCE_DIR}/cmake/public/glog.cmake
1286 ${PROJECT_SOURCE_DIR}/cmake/public/gflags.cmake
1287 ${PROJECT_SOURCE_DIR}/cmake/public/mkl.cmake
1288 ${PROJECT_SOURCE_DIR}/cmake/public/mkldnn.cmake
1289 ${PROJECT_SOURCE_DIR}/cmake/public/protobuf.cmake
1290 ${PROJECT_SOURCE_DIR}/cmake/public/utils.cmake
1291 ${PROJECT_SOURCE_DIR}/cmake/public/LoadHIP.cmake
1292 DESTINATION share/cmake/Caffe2/public
1295 DIRECTORY ${PROJECT_SOURCE_DIR}/cmake/Modules_CUDA_fix
1296 DESTINATION share/cmake/Caffe2/
1299 FILES ${PROJECT_SOURCE_DIR}/cmake/Modules/FindCUDAToolkit.cmake
1300 DESTINATION share/cmake/Caffe2/
1303 FILES ${PROJECT_SOURCE_DIR}/cmake/Modules/FindCUSPARSELT.cmake
1304 DESTINATION share/cmake/Caffe2/
1307 FILES ${PROJECT_SOURCE_DIR}/cmake/Modules/FindCUDSS.cmake
1308 DESTINATION share/cmake/Caffe2/
1311 FILES ${PROJECT_SOURCE_DIR}/cmake/Modules/FindSYCLToolkit.cmake
1312 DESTINATION share/cmake/Caffe2/
1317 DESTINATION share/cmake/Caffe2
1318 FILE Caffe2Targets.cmake
1322 message(WARNING "Generated cmake files are only available when building "
1344 include(cmake/Summary.cmake)