Archived
1
0
forked from rarias/bscpkgs

Add saiph experiments

This commit is contained in:
2020-09-21 17:30:24 +02:00
parent 126f05e92c
commit cc101ad1d3
12 changed files with 655 additions and 25 deletions

View File

@@ -76,7 +76,6 @@ stdenv.mkDerivation rec {
src = builtins.fetchGit {
url = "ssh://git@bscpm02.bsc.es/llvm-ompss/llvm-mono.git";
rev = "e1c73c3691d2685a99d99e14c6110d2c880662c6";
ref = "master";
};
}

View File

@@ -2,7 +2,7 @@
stdenv
, gcc
, nanos6
, clang-ompss2-unwrapped
, clangOmpss2Unwrapped
, wrapCCWith
}:
@@ -11,7 +11,7 @@ let
targetConfig = stdenv.targetPlatform.config;
inherit gcc nanos6;
in wrapCCWith rec {
cc = clang-ompss2-unwrapped;
cc = clangOmpss2Unwrapped;
extraBuildCommands = ''
echo "-target ${targetConfig}" >> $out/nix-support/cc-cflags
echo "-B${gcc.cc}/lib/gcc/${targetConfig}/${gcc.version}" >> $out/nix-support/cc-cflags