Use gcc13 for llvm-ompss2 for intel

This commit is contained in:
Aleix Boné 2025-09-16 14:52:56 +02:00
parent ac93781cbd
commit 8f07c3803c
No known key found for this signature in database

View File

@ -2,6 +2,7 @@
stdenv
, lib
, gcc
, gcc13
, clangOmpss2Unwrapped
, writeShellScript
, openmp ? null
@ -92,7 +93,8 @@ let
'';
wrappedCCIntel = wrapCCWith {
inherit cc bintools extraPackages;
inherit bintools extraPackages;
cc = cc.override { gcc = gcc13; }; # Intel uses gcc13, so we have to match it
# extraPackages adds packages to depsTargetTargetPropagated
extraBuildCommands = intelExtraBuildCommands + envExports;
};