Use last intel compiler 2020 version

This commit is contained in:
2020-07-02 15:32:52 +02:00
parent 8032825765
commit 940c494d8e
3 changed files with 10 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
, icc-unwrapped
, wrapCCWith
, libstdcxxHook
, intel-license
, icc-license
}:
let
@@ -19,7 +19,7 @@ in wrapCCWith rec {
echo "-L${gcc.cc}/lib/gcc/${targetConfig}/${gcc.version}" >> $out/nix-support/cc-ldflags
echo "-L${gcc.cc.lib}/lib" >> $out/nix-support/cc-ldflags
echo "export INTEL_LICENSE_FILE=${intel-license}" \
echo "export INTEL_LICENSE_FILE=${icc-license}" \
>> $out/nix-support/setup-hook
# Create the wrappers for icc and icpc

View File

@@ -6,11 +6,11 @@
}:
stdenv.mkDerivation rec {
version = "2019.1.217";
version = "${year}.${v_a}.${v_b}";
name = "intel-compiler-${version}";
# From Arch Linux PKGBUILD
dir_nr="16526";
dir_nr="16527";
year="2020";
v_a="1";
v_b="217";