Compare commits

..

2 Commits

Author SHA1 Message Date
f0afa10462 Remove unused inputs from intel compiler 2023 2025-07-21 17:01:06 +02:00
92f8904b21 Use gcc 13 for intel compiler 2023
Intel compiler for C++ (icpc) is not able to parse the location of C++
headers from the output of gcc 14, but works fine for gcc 13.
2025-07-21 17:00:19 +02:00

View File

@ -1,6 +1,5 @@
{ stdenv
, fetchurl
, ncurses
, lib
, dpkg
, rsync
@ -10,12 +9,9 @@
, hwloc
, zlib
, autoPatchelfHook
, symlinkJoin
, libfabric
, gcc13
, gcc7
, wrapCCWith
, linuxHeaders
}:
# The distribution of intel packages is a mess. We are doing the installation
@ -30,6 +26,8 @@
let
gcc = gcc13;
v = {
hpckit = "2023.1.0";
compiler = "2023.1.0";
@ -413,7 +411,7 @@ let
icx-wrapper = wrapIntel rec {
cc = intel-compiler;
mygcc = gcc13;
mygcc = gcc;
extraBuild = ''
wrap icx $wrapper $ccPath/icx
wrap icpx $wrapper $ccPath/icpx
@ -432,7 +430,7 @@ let
# Intel icc classic compiler tries to behave like the gcc found in $PATH.
# EVEN if it doesn't support some of the features. See:
# https://community.intel.com/t5/Intel-C-Compiler/builtin-shuffle-GCC-compatibility-and-has-builtin/td-p/1143619
mygcc = gcc13;
mygcc = gcc;
extraBuild = ''
wrap icc $wrapper $ccPath/icc
wrap icpc $wrapper $ccPath/icpc
@ -446,7 +444,7 @@ let
ifort-wrapper = wrapIntel rec {
cc = intel-compiler-fortran;
mygcc = gcc13;
mygcc = gcc;
extraBuild = ''
wrap ifort $wrapper $ccPath/ifort
'';