From afd069208b048ec27cfbf6c22d5da6f08b60624f Mon Sep 17 00:00:00 2001 From: Nicolas Miller Date: Thu, 15 Sep 2022 10:49:03 +0100 Subject: [PATCH] [SYCL][Windows] Fix DataMovement test Using `-g` with the regular `clang` command line is not supported on Windows. On Windows `clang-cl` and `/Mdd` should be used instead. However it doesn't seem like this test is testing anything to do debug info and I couldn't find any reason for having it in the history, so removing `-g` is the simplest solution to make the test work on both Linux and Windows. --- sycl/test/scheduler/DataMovement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/test/scheduler/DataMovement.cpp b/sycl/test/scheduler/DataMovement.cpp index 6d6368e59b2e5..08d66980a5a7a 100644 --- a/sycl/test/scheduler/DataMovement.cpp +++ b/sycl/test/scheduler/DataMovement.cpp @@ -1,4 +1,4 @@ -// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -I %sycl_source_dir %s -o %t.out -g +// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -I %sycl_source_dir %s -o %t.out // RUN: env SYCL_DEVICE_FILTER=host %t.out // //==-------------------------- DataMovement.cpp ----------------------------==//