From 98d2140a88f1862b5ba3d93cf6a96a8b915b00b6 Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Wed, 17 Feb 2021 16:48:42 +0000 Subject: [PATCH] [SYCL 2020] Add note about glibc --- SYCL.make | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SYCL.make b/SYCL.make index 4326da5..b251f2e 100644 --- a/SYCL.make +++ b/SYCL.make @@ -7,6 +7,9 @@ Available compilers are: For HIPSYCL and COMPUTECPP, SYCL_SDK_DIR must be specified, the directory should contain [/lib, /bin, ...] For DPCPP, the compiler must be on path + + You may need to use the following if running old glibc: + EXTRA_FLAGS="--gcc-toolchain=$(realpath "$(dirname "$(which gcc)")"/..)" endef $(info $(compiler_help)) COMPILER=HIPSYCL