Skip to content

Commit 9d5586a

Browse files
committed
Remove new line changes in Cmake File.
1 parent 5eef3a4 commit 9d5586a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

mlir/cmake/modules/FindLevelZeroRuntime.cmake

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,22 +74,17 @@ function(compare_versions VERSION_STR1 VERSION_STR2 OUTPUT)
7474
# If they differ in size pad the shorter list with 0s
7575
if(VL1_LEN GREATER VL2_LEN)
7676
math(EXPR DIFF "${VL1_LEN} - ${VL2_LEN}" OUTPUT_FORMAT DECIMAL)
77-
7877
foreach(IDX RANGE 1 ${DIFF} 1)
7978
list(APPEND VL2 "0")
8079
endforeach()
8180
elseif(VL2_LEN GREATER VL2_LEN)
8281
math(EXPR DIFF "${VL1_LEN} - ${VL2_LEN}" OUTPUT_FORMAT DECIMAL)
83-
8482
foreach(IDX RANGE 1 ${DIFF} 1)
8583
list(APPEND VL2 "0")
8684
endforeach()
87-
8885
set(LEN ${VL2_LEN})
8986
endif()
90-
9187
math(EXPR LEN_SUB_ONE "${LEN}-1")
92-
9388
foreach(IDX RANGE 0 ${LEN_SUB_ONE} 1)
9489
list(GET VL1 ${IDX} VAL1)
9590
list(GET VL2 ${IDX} VAL2)

0 commit comments

Comments
 (0)