summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Cohn <rscohn2@gmail.com>2021-01-19 00:15:24 -0500
committerGitHub <noreply@github.com>2021-01-18 23:15:24 -0600
commit09ee3f8d8e2a07a04406db7e2d10fabebfdcddf3 (patch)
tree33275d6c66378ffdd65da24d40e2b0d1e8512e50 /lib
parent83eec2d170793f542a07c84bb37d5e82f608d1a4 (diff)
downloadspack-09ee3f8d8e2a07a04406db7e2d10fabebfdcddf3.tar.gz
spack-09ee3f8d8e2a07a04406db7e2d10fabebfdcddf3.tar.bz2
spack-09ee3f8d8e2a07a04406db7e2d10fabebfdcddf3.tar.xz
spack-09ee3f8d8e2a07a04406db7e2d10fabebfdcddf3.zip
add required libs for sycl programs (#20728)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/compilers/oneapi.py3
1 files changed, 2 insertions, 1 deletions
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 @@ class Oneapi(Compiler):
return "-v"
required_libs = ['libirc', 'libifcore', 'libifcoremt', 'libirng',
- 'libsvml', 'libintlc', 'libimf']
+ 'libsvml', 'libintlc', 'libimf', 'libsycl',
+ 'libOpenCL']
@property
def debug_flags(self):