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

@@ -1,5 +1,4 @@
{ stdenv
, fetchgit
, autoreconfHook
, nanos6
, gperf
@@ -13,9 +12,8 @@
}:
stdenv.mkDerivation rec {
name = "mcxx";
#version attribute ignored when using fetchgit:
#version = "2.2.0-70a299cf";
pname = "mcxx";
version = "${src.shortRev}";
passthru = {
CC = "mcc";
@@ -23,10 +21,9 @@ stdenv.mkDerivation rec {
};
# Use patched Extrae version
src = fetchgit {
src = builtins.fetchGit {
url = "https://github.com/bsc-pm/mcxx";
rev = "70a299cfeb1f96735e6b9835aee946451f1913b2";
sha256 = "1n8y0h47jm2ll67xbz930372xkl9647z12lfwz2472j3y86yxpmw";
ref = "master";
};
enableParallelBuilding = true;
@@ -55,5 +52,7 @@ stdenv.mkDerivation rec {
configureFlags = [
"--enable-ompss-2"
"--with-nanos6=${nanos6}"
# Fails with "memory exhausted" with bison 3.7.1
# "--enable-bison-regeneration"
];
}

View File

@@ -49,6 +49,7 @@ stdenv.mkDerivation rec {
configureFlags = [
"--enable-ompss-2"
"--with-nanos6=${nanos6}"
# "--enable-bison-regeneration"
];
# Regenerate ia32 builtins to add the ones for gcc9