File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -210,10 +210,9 @@ function(TensileCreateLibraryFiles
210
210
set (Options ${Options} "--architecture=${archString} " )
211
211
endif ()
212
212
213
- if (WIN32 )
214
- set (CommandLine ${VIRTUALENV_BIN_DIR} /${VIRTUALENV_PYTHON_EXENAME} ${Script} ${Options} ${Tensile_LOGIC_PATH} ${Tensile_OUTPUT_PATH} HIP )
215
- else ()
216
- set (CommandLine ${Script} ${Options} ${Tensile_LOGIC_PATH} ${Tensile_OUTPUT_PATH} HIP )
213
+ set (CommandLine ${Script} ${Options} ${Tensile_LOGIC_PATH} ${Tensile_OUTPUT_PATH} HIP )
214
+ if (WIN32 OR (VIRTUALENV_BIN_DIR AND VIRTUALENV_PYTHON_EXENAME ))
215
+ set (CommandLine ${VIRTUALENV_BIN_DIR} /${VIRTUALENV_PYTHON_EXENAME} ${CommandLine} )
217
216
endif ()
218
217
message (STATUS "Tensile_CREATE_COMMAND: ${CommandLine} " )
219
218
You can’t perform that action at this time.
0 commit comments