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}";
|
version = "${year}.${v_a}.${v_b}";
|
||||||
name = "intel-compiler-${version}";
|
name = "intel-compiler-${version}";
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
CC = "icc";
|
||||||
|
CXX = "icpc";
|
||||||
|
};
|
||||||
|
|
||||||
# From Arch Linux PKGBUILD
|
# From Arch Linux PKGBUILD
|
||||||
dir_nr="16526";
|
dir_nr="16526";
|
||||||
year="2020";
|
year="2020";
|
||||||
|
@ -21,6 +21,11 @@ stdenv.mkDerivation rec {
|
|||||||
isClang = true;
|
isClang = true;
|
||||||
#isGNU = true;
|
#isGNU = true;
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
CC = "clang";
|
||||||
|
CXX = "clang++";
|
||||||
|
};
|
||||||
|
|
||||||
isClangWithOmpss = true;
|
isClangWithOmpss = true;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -17,6 +17,11 @@ stdenv.mkDerivation rec {
|
|||||||
#version attribute ignored when using fetchgit:
|
#version attribute ignored when using fetchgit:
|
||||||
#version = "2.2.0-70a299cf";
|
#version = "2.2.0-70a299cf";
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
CC = "mcc";
|
||||||
|
CXX = "mcxx";
|
||||||
|
};
|
||||||
|
|
||||||
# Use patched Extrae version
|
# Use patched Extrae version
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://github.com/bsc-pm/mcxx";
|
url = "https://github.com/bsc-pm/mcxx";
|
||||||
|
Loading…
Reference in New Issue
Block a user