From 1429061b5e1c1e7b43433aa3ba7d2f20e64b863a Mon Sep 17 00:00:00 2001 From: Marcos Maronas Date: Fri, 29 Mar 2024 16:47:33 -0700 Subject: [PATCH] [SYCL][E2E] Pass -std=c++17 to the compiler provided via -fsycl-host-compiler Author: Marcos Maronas --- sycl/test-e2e/Complex/sycl_complex_include_order.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sycl/test-e2e/Complex/sycl_complex_include_order.cpp b/sycl/test-e2e/Complex/sycl_complex_include_order.cpp index 92c4d341e7f3f..52a7fd1f2ceb9 100644 --- a/sycl/test-e2e/Complex/sycl_complex_include_order.cpp +++ b/sycl/test-e2e/Complex/sycl_complex_include_order.cpp @@ -3,9 +3,9 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out -// RUN: %if linux %{ %{build} -DINCLUDE_BEFORE -fsycl-host-compiler=g++ -o %t.out %} +// RUN: %if linux %{ %{build} -DINCLUDE_BEFORE -fsycl-host-compiler=g++ -fsycl-host-compiler-options="-std=c++17" -o %t.out %} // RUN: %if linux %{ %{run} %t.out %} -// RUN: %if linux %{ %{build} -fsycl-host-compiler=g++ -o %t.out %} +// RUN: %if linux %{ %{build} -fsycl-host-compiler=g++ -fsycl-host-compiler-options="-std=c++17" -o %t.out %} // RUN: %if linux %{ %{run} %t.out %} // RUN: %if windows %{ %{build} -DINCLUDE_BEFORE -fsycl-host-compiler=cl -fsycl-host-compiler-options="/std:c++17" -o %t.out %}