Add CC and CXX names to compilers passthru
This commit is contained in:
parent
ea81c34f31
commit
b042e783e5
@ -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";
|
||||
|
@ -21,6 +21,11 @@ stdenv.mkDerivation rec {
|
||||
isClang = true;
|
||||
#isGNU = true;
|
||||
|
||||
passthru = {
|
||||
CC = "clang";
|
||||
CXX = "clang++";
|
||||
};
|
||||
|
||||
isClangWithOmpss = true;
|
||||
|
||||
buildInputs = [
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user