icc2021: added stdc++ includes
This commit is contained in:
parent
ef5e98e06d
commit
5789b4a77a
@ -14,6 +14,8 @@ in wrapCCWith rec {
|
||||
echo "-B${gcc.cc}/lib/gcc/${targetConfig}/${gcc.version}" >> $out/nix-support/cc-cflags
|
||||
echo "-isystem ${iccUnwrapped}/include" >> $out/nix-support/cc-cflags
|
||||
echo "-isystem ${iccUnwrapped}/include/icc" >> $out/nix-support/cc-cflags
|
||||
echo "-isystem ${gcc.cc}/include/c++/${gcc.version}" >> $out/nix-support/cc-cflags
|
||||
echo "-isystem ${gcc.cc}/include/c++/${gcc.version}/${targetConfig}" >> $out/nix-support/cc-cflags
|
||||
|
||||
echo "-L${iccUnwrapped}/lib" >> $out/nix-support/cc-ldflags
|
||||
echo "-L${gcc.cc}/lib/gcc/${targetConfig}/${gcc.version}" >> $out/nix-support/cc-ldflags
|
||||
|
@ -48,7 +48,7 @@ let
|
||||
|
||||
icc2021 = appendPasstru (callPackage ./bsc/intel-compiler/wrapper2021.nix {
|
||||
iccUnwrapped = bsc.icc2021Unwrapped;
|
||||
}) { CC = "icc"; CXX = "icpc"; };
|
||||
}) { CC = "icx"; CXX = "icpx"; };
|
||||
|
||||
icc = bsc.icc2020;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user