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

@@ -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