From 09ee3f8d8e2a07a04406db7e2d10fabebfdcddf3 Mon Sep 17 00:00:00 2001 From: Robert Cohn Date: Tue, 19 Jan 2021 00:15:24 -0500 Subject: [PATCH] add required libs for sycl programs (#20728) --- lib/spack/spack/compilers/oneapi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/spack/spack/compilers/oneapi.py b/lib/spack/spack/compilers/oneapi.py index 1493c46d93..5b3a81b454 100644 --- a/lib/spack/spack/compilers/oneapi.py +++ b/lib/spack/spack/compilers/oneapi.py @@ -36,7 +36,8 @@ def verbose_flag(self): return "-v" required_libs = ['libirc', 'libifcore', 'libifcoremt', 'libirng', - 'libsvml', 'libintlc', 'libimf'] + 'libsvml', 'libintlc', 'libimf', 'libsycl', + 'libOpenCL'] @property def debug_flags(self):