Skip to content

Commit

Permalink
pass checker to compile command
Browse files Browse the repository at this point in the history
Signed-off-by: Lilith Oberhauser <lilith.oberhauser@huawei.com>
  • Loading branch information
lilith218 committed May 17, 2024
1 parent 51f995d commit 621382c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmake/check.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function(add_vsyncer_check)
foreach(WMM IN ITEMS ${WMMS})
set(TEST_NAME ${TARGET}_${WMM})
string(TOUPPER ${WMM} WMM_UP)
list(APPEND CFLAGS -DVSYNC_VERIFICATION_${WMM_UP})
set(COMPILE_FLAGS ${CFLAGS} -DVSYNC_VERIFICATION_${WMM_UP})

# ######################################################################
# Compile ll file with vsyncer
Expand All @@ -104,10 +104,12 @@ function(add_vsyncer_check)

set(VSYNCER_COMPILE_CMD
env
CFLAGS="${CFLAGS}"
CFLAGS="${COMPILE_FLAGS}"
vsyncer
compile
-d
--checker
${CHECKER}
-o=${VSYNCER_CHECK_LL}
${CLIENT}
|
Expand Down

0 comments on commit 621382c

Please sign in to comment.