File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,8 @@ option( PRECOMPILE_GEMM_TRANS_CN "AutoGemm: pre-compile CN transpose cases" OFF)
9191option ( PRECOMPILE_GEMM_TRANS_CT "AutoGemm: pre-compile CT transpose cases" OFF )
9292option ( PRECOMPILE_GEMM_TRANS_CC "AutoGemm: pre-compile CC transpose cases" OFF )
9393
94+ option ( INSTALL_SRC "Install source tree" OFF )
95+
9496set ( AUTOGEMM_ARCHITECTURE "Hawaii" CACHE STRING "AutoGemm: device for kernel selection logic" )
9597set_property ( CACHE AUTOGEMM_ARCHITECTURE PROPERTY STRINGS "Hawaii" "Fiji" )
9698
@@ -920,8 +922,11 @@ install( DIRECTORY ${PROJECT_BINARY_DIR}/staging/
920922 CONFIGURATIONS Debug
921923 FILES_MATCHING PATTERN "*.pdb" )
922924
925+ if (INSTALL_SRC)
923926# Install a snapshot of the source as it was for this build; useful for the .pdb's
924- install ( DIRECTORY ${PROJECT_SOURCE_DIR}
925- DESTINATION ${CLBLAS_RUNTIME_DESTINATION}
926- OPTIONAL
927- CONFIGURATIONS Debug )
927+ install ( DIRECTORY ${PROJECT_SOURCE_DIR}
928+ DESTINATION ${CLBLAS_RUNTIME_DESTINATION}
929+ OPTIONAL
930+ CONFIGURATIONS Debug )
931+ endif ()
932+
You can’t perform that action at this time.
0 commit comments