Add CC and CXX names to compilers passthru

This commit is contained in:
Rodrigo Arias 2020-07-27 17:55:35 +02:00
parent ea81c34f31
commit b042e783e5
3 changed files with 15 additions and 0 deletions

View File

@ -10,6 +10,11 @@ stdenv.mkDerivation rec {
version = "${year}.${v_a}.${v_b}";
name = "intel-compiler-${version}";
passthru = {
CC = "icc";
CXX = "icpc";
};
# From Arch Linux PKGBUILD
dir_nr="16526";
year="2020";

View File

@ -21,6 +21,11 @@ stdenv.mkDerivation rec {
isClang = true;
#isGNU = true;
passthru = {
CC = "clang";
CXX = "clang++";
};
isClangWithOmpss = true;
buildInputs = [

View File

@ -17,6 +17,11 @@ stdenv.mkDerivation rec {
#version attribute ignored when using fetchgit:
#version = "2.2.0-70a299cf";
passthru = {
CC = "mcc";
CXX = "mcxx";
};
# Use patched Extrae version
src = fetchgit {
url = "https://github.com/bsc-pm/mcxx";