From 861c731a4519d0800cd2a475e14c09a3ba0a23ef Mon Sep 17 00:00:00 2001 From: winston Date: Sun, 22 Jun 2025 23:28:12 +0200 Subject: [PATCH] intel-compute-runtime: disable mitigations --- pkgs/by-name/in/intel-compute-runtime/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/in/intel-compute-runtime/package.nix b/pkgs/by-name/in/intel-compute-runtime/package.nix index 6bc5b5ef524c..dca9f486d5c8 100644 --- a/pkgs/by-name/in/intel-compute-runtime/package.nix +++ b/pkgs/by-name/in/intel-compute-runtime/package.nix @@ -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 = [