File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
shared/offline_compiler/source Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,11 +102,11 @@ macro(macro_for_each_gen)
102102 foreach (SRC_IT ${RUNTIME_GENX_CPP_FILES} )
103103 foreach (BRANCH_DIR ${BRANCH_DIR_LIST} )
104104 set (SRC_FILE ${NEO_SOURCE_DIR} /opencl/source /${GEN_TYPE_LOWER}${BRANCH_DIR}${SRC_IT} )
105- string (REGEX REPLACE "/$" "" _BRANCH_SUFFIX "${BRANCH_DIR} " )
106- string (REGEX REPLACE "^/" "_" _BRANCH_SUFFIX "${_BRANCH_SUFFIX } " )
105+ string (REGEX REPLACE "/$" "" _BRANCH_FILENAME_SUFFIX "${BRANCH_DIR} " )
106+ string (REGEX REPLACE "^/" "_" _BRANCH_FILENAME_SUFFIX "${_BRANCH_FILENAME_SUFFIX } " )
107107
108- if (EXISTS ${SRC_FILE} _${GEN_TYPE_LOWER}${_BRANCH_SUFFIX } .cpp)
109- list (APPEND CLOC_LIB_SRCS_LIB ${SRC_FILE} _${GEN_TYPE_LOWER}${_BRANCH_SUFFIX } .cpp)
108+ if (EXISTS ${SRC_FILE} _${GEN_TYPE_LOWER}${_BRANCH_FILENAME_SUFFIX } .cpp)
109+ list (APPEND CLOC_LIB_SRCS_LIB ${SRC_FILE} _${GEN_TYPE_LOWER}${_BRANCH_FILENAME_SUFFIX } .cpp)
110110 endif ()
111111 endforeach ()
112112 endforeach ()
You can’t perform that action at this time.
0 commit comments