Commit 181ff01a authored by Valentin Reis's avatar Valentin Reis
Browse files

[ci] adds the nas benchmark suite for future CI tests

parent 433a7b38
Pipeline #11238 passed with stages
in 3 minutes and 4 seconds
......@@ -141,6 +141,8 @@ pkgs // rec {
nrmSupport = false;
};
nas = callPackage ./pkgs/nas { };
amg = callPackage ./pkgs/amg {
inherit libnrm;
nrmSupport = false;
......
{ stdenv, gfortran, class ? "E" }:
stdenv.mkDerivation {
src = fetchTarball {
url = "https://www.nas.nasa.gov/assets/npb/NPB3.4.1.tar.gz";
sha256 = "1cc3vblkr4kwx9kf95rj0bp3ryapdpymqpbhfdd7jl8k4r6fcagi";
};
name = "NAS";
buildInputs = [ gfortran ];
installPhase = ''
ls
cd NPB3.4-OMP/config
cp NAS.samples/make.def_gcc make.def
cd ..
make ep CLASS=A
make ep CLASS=B
make ep CLASS=C
make ep CLASS=D
make ep CLASS=E
mkdir -p $out
cp -r bin/ $out
'';
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment