intel-compute-runtime: disable mitigations (#419103)

This commit is contained in:
Sandro
2025-06-25 15:32:00 +02:00
committed by GitHub
@@ -39,6 +39,9 @@ stdenv.mkDerivation rec {
(lib.cmakeFeature "OCL_ICD_VENDORDIR" "${placeholder "out"}/etc/OpenCL/vendors")
# The install script assumes this path is relative to CMAKE_INSTALL_PREFIX
(lib.cmakeFeature "CMAKE_INSTALL_LIBDIR" "lib")
# disable spectre mitigations (already mitigated in the kernel)
# https://bugs.launchpad.net/ubuntu/+source/intel-compute-runtime/+bug/2110131
(lib.cmakeBool "NEO_DISABLE_MITIGATIONS" true)
];
outputs = [