Skip to content

Commit 7eecef6

Browse files
[SYCL][Doc] Fix compiler define name in sycl/test-e2e/README.md (#8834)
SYCL_CXX_COMPILER -> CMAKE_CXX_COMPILER. The former was an internal (not user visible) variable used in lit.site.cfg.py.in. Fixes #8824
1 parent fb60092 commit 7eecef6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/test-e2e/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ With compiler tools available in the PATH:
3838
```
3939
# Configure
4040
cmake \
41-
-DSYCL_CXX_COMPILER=clang++ \
41+
-DCMAKE_CXX_COMPILER=clang++ \
4242
-DSYCL_TEST_E2E_TARGETS="opencl:cpu" \
4343
..
4444
@@ -71,7 +71,7 @@ CC=<> CXX=<> python llvm/buildbot/configure.py -o build ... \
7171

7272
These parameters can be used to configure tests:
7373

74-
***SYCL_CXX_COMPILER*** - path to DPCPP compiler
74+
***CMAKE_CXX_COMPILER*** - path to DPCPP compiler
7575

7676
***TEST_SUITE_LLVM_SIZE*** - path to llvm-size tool, required for code size
7777
collection

0 commit comments

Comments
 (0)