Skip to content

Commit

Permalink
raja-perf: Fix support for SYCL (spack#46782)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienbernede authored and mvlopri committed Mar 4, 2025
1 parent 4284f0e commit 05b4333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/raja-perf/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def initconfig_package_entries(self):
entries.append(cmake_cache_option("BUILD_SHARED_LIBS", "+shared" in spec))
entries.append(cmake_cache_option("ENABLE_OPENMP", "+openmp" in spec))
entries.append(cmake_cache_option("RAJA_ENABLE_OPENMP_TASK", "+omptask" in spec))
entries.append(cmake_cache_option("RAJA_ENABLE_SYCL", spec.satisfies("+sycl")))
entries.append(cmake_cache_option("ENABLE_SYCL", spec.satisfies("+sycl")))

# C++17
if spec.satisfies("@2024.07.0:") and spec.satisfies("+sycl"):
Expand Down

0 comments on commit 05b4333

Please sign in to comment.