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)
91
91
option ( PRECOMPILE_GEMM_TRANS_CT "AutoGemm: pre-compile CT transpose cases" OFF )
92
92
option ( PRECOMPILE_GEMM_TRANS_CC "AutoGemm: pre-compile CC transpose cases" OFF )
93
93
94
+ option ( INSTALL_SRC "Install source tree" OFF )
95
+
94
96
set ( AUTOGEMM_ARCHITECTURE "Hawaii" CACHE STRING "AutoGemm: device for kernel selection logic" )
95
97
set_property ( CACHE AUTOGEMM_ARCHITECTURE PROPERTY STRINGS "Hawaii" "Fiji" )
96
98
@@ -920,8 +922,11 @@ install( DIRECTORY ${PROJECT_BINARY_DIR}/staging/
920
922
CONFIGURATIONS Debug
921
923
FILES_MATCHING PATTERN "*.pdb" )
922
924
925
+ if (INSTALL_SRC )
923
926
# 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