Skip to content

Commit

Permalink
Fix cmake if statement
Browse files Browse the repository at this point in the history
Update if-checks to cmake best practice
  • Loading branch information
s-Nick committed Jun 28, 2024
1 parent 1e28318 commit 8116dbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unittest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ if(is_dpcpp)
)
endif()

if( (DEFINED TUNING_TARGET AND (${TUNING_TARGET} STREQUAL "INTEL_GPU")) OR
(DEFINED DPCPP_SYCL_ARCH AND (${DPCPP_SYCL_ARCH} MATCHES "_pvc|_agm")) )
if( ("${TUNING_TARGET}" STREQUAL "INTEL_GPU") OR
("${DPCPP_SYCL_ARCH}" MATCHES "_pvc|_agm") )
message(WARNING "disabling trsv, tbsv and tpsv tests for Intel ARC and Intel GPU Max GPUs")
set(TESTS_TO_SKIP
${PORTBLAS_UNITTEST}/blas2/blas2_trsv_test.cpp
Expand Down

0 comments on commit 8116dbf

Please sign in to comment.