apps: disable hardening in all garlic apps

This commit is contained in:
Rodrigo Arias 2021-04-06 19:19:24 +02:00
parent df62451fcd
commit a4b8f8e94b
17 changed files with 27 additions and 5 deletions

View File

@ -48,4 +48,6 @@ stdenv.mkDerivation rec {
''; '';
programPath = "/bin/BigSort"; programPath = "/bin/BigSort";
hardeningDisable = [ "all" ];
} }

View File

@ -40,4 +40,6 @@ stdenv.mkDerivation rec {
''; '';
programPath = "/bin/genseq"; programPath = "/bin/genseq";
hardeningDisable = [ "all" ];
} }

View File

@ -40,4 +40,6 @@ stdenv.mkDerivation rec {
''; '';
programPath = "/bin/shuffle"; programPath = "/bin/shuffle";
hardeningDisable = [ "all" ];
} }

View File

@ -38,4 +38,6 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin mkdir -p $out/bin
cp cpic $out/bin/cpic cp cpic $out/bin/cpic
''; '';
hardeningDisable = [ "all" ];
} }

View File

@ -37,8 +37,6 @@ in
buildInputs = [ nanos6 mpi cc tampi mcxx ]; buildInputs = [ nanos6 mpi cc tampi mcxx ];
hardeningDisable = [ "all" ];
configurePhase = '' configurePhase = ''
export TAMPI_HOME=${tampi} export TAMPI_HOME=${tampi}
@ -54,4 +52,6 @@ in
mkdir -p $out/bin mkdir -p $out/bin
cp -a build/* $out/bin cp -a build/* $out/bin
''; '';
hardeningDisable = [ "all" ];
} }

View File

@ -33,4 +33,6 @@ in
mkdir -p $out mkdir -p $out
cp -a SodTubeBenchmark $out/ cp -a SodTubeBenchmark $out/
''; '';
hardeningDisable = [ "all" ];
} }

View File

@ -71,4 +71,6 @@ in
''; '';
programPath = "/bin/fwi"; programPath = "/bin/fwi";
hardeningDisable = [ "all" ];
} }

View File

@ -59,4 +59,6 @@ in
mkdir -p $out/bin mkdir -p $out/bin
cp ModelGenerator $out/bin/ cp ModelGenerator $out/bin/
''; '';
hardeningDisable = [ "all" ];
} }

View File

@ -34,4 +34,6 @@ in
mkdir -p $out/etc mkdir -p $out/etc
cp heat.conf $out/etc/ cp heat.conf $out/etc/
''; '';
hardeningDisable = [ "all" ];
} }

View File

@ -50,4 +50,5 @@ in
cp test_HPCCG-mpi.exe $out/bin cp test_HPCCG-mpi.exe $out/bin
''; '';
hardeningDisable = [ "all" ];
} }

View File

@ -40,4 +40,5 @@ in
programPath = "/bin/xhpcg"; programPath = "/bin/xhpcg";
hardeningDisable = [ "all" ];
} }

View File

@ -55,4 +55,5 @@ in
programPath = "/bin/${name}"; programPath = "/bin/${name}";
hardeningDisable = [ "all" ];
} }

View File

@ -43,4 +43,5 @@ in
''; '';
programPath = "/bin/${name}"; programPath = "/bin/${name}";
hardeningDisable = [ "all" ];
} }

View File

@ -43,4 +43,5 @@ stdenv.mkDerivation rec {
programPath = "/bin/miniAMR.x"; programPath = "/bin/miniAMR.x";
hardeningDisable = [ "all" ];
} }

View File

@ -54,4 +54,5 @@ in
cp nbody* $out/bin/${name} cp nbody* $out/bin/${name}
''; '';
hardeningDisable = [ "all" ];
} }

View File

@ -31,4 +31,5 @@ stdenv.mkDerivation {
''; '';
buildInputs = [ mpi ]; buildInputs = [ mpi ];
hardeningDisable = [ "all" ];
} }

View File

@ -63,9 +63,6 @@ in
boost boost
]; ];
# Required for nanos6
hardeningDisable = [ "all" ];
preBuild = '' preBuild = ''
cd saiphv2/cpp/src cd saiphv2/cpp/src
export VTK_VERSION=${majorMinor (getVersion vtk.name)} export VTK_VERSION=${majorMinor (getVersion vtk.name)}
@ -103,4 +100,6 @@ in
cp obj/libsaiphv2.so $out/lib/ cp obj/libsaiphv2.so $out/lib/
cp bin/Heat3D_vect $out/bin/ cp bin/Heat3D_vect $out/bin/
''; '';
hardeningDisable = [ "all" ];
} }