saiph: sanitize address and compile for avx2
This commit is contained in:
parent
1e02ac9023
commit
7d8f86eaad
BIN
bsc/apps/saiph/.default.nix.swp
Normal file
BIN
bsc/apps/saiph/.default.nix.swp
Normal file
Binary file not shown.
@ -11,16 +11,16 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "saiph";
|
name = "saiph";
|
||||||
|
|
||||||
# src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
# url = "ssh://git@bscpm02.bsc.es/DSLs/saiph.git";
|
url = "ssh://git@bscpm02.bsc.es/DSLs/saiph.git";
|
||||||
# #rev = "a8372abf9fc7cbc2db0778de80512ad4af244c29";
|
ref = "VectorisationSupport";
|
||||||
# ref = "VectorisationSupport";
|
};
|
||||||
# };
|
|
||||||
|
|
||||||
src = /tmp/saiph;
|
#src = /tmp/saiph;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
|
enableDebugging = true;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
nanos6
|
nanos6
|
||||||
@ -33,9 +33,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
cd saiphv2/cpp/src
|
cd saiphv2/cpp/src
|
||||||
|
|
||||||
|
sed -i s/skylake-avx512/core-avx2/g Makefile*
|
||||||
export VTK_VERSION=8.2
|
export VTK_VERSION=8.2
|
||||||
export VTK_HOME=${vtk}
|
export VTK_HOME=${vtk}
|
||||||
export SAIPH_HOME=.
|
export SAIPH_HOME=.
|
||||||
|
export NIX_CFLAGS_COMPILE+=" -fsanitize=address"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
|
Loading…
Reference in New Issue
Block a user