From e6e42dcec9ec4786b131ad498f328df426b94567 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 9 Oct 2020 16:15:11 +0200 Subject: [PATCH] Remove old apps --- bsc/apps/dummy/default.nix | 18 ------------------ bsc/apps/nbody/default.nix | 37 ------------------------------------- 2 files changed, 55 deletions(-) delete mode 100644 bsc/apps/dummy/default.nix delete mode 100644 bsc/apps/nbody/default.nix diff --git a/bsc/apps/dummy/default.nix b/bsc/apps/dummy/default.nix deleted file mode 100644 index 79fb138..0000000 --- a/bsc/apps/dummy/default.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ - stdenv -, branch ? null -, srcPath ? null -}: - -#assert if srcPath == null then branch != null else true; - -stdenv.mkDerivation rec { - name = "dummy"; - - src = (if srcPath != null then srcPath else - builtins.fetchGit { - url = "ssh://git@bscpm02.bsc.es/rarias/dummy.git"; - ref = "${branch}"; - } - ); -} diff --git a/bsc/apps/nbody/default.nix b/bsc/apps/nbody/default.nix deleted file mode 100644 index 06d823b..0000000 --- a/bsc/apps/nbody/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ - stdenv -, nanos6 -, mpi -, tampi -, mcxx -, icc -}: - -stdenv.mkDerivation rec { - name = "nbody"; - - src = builtins.fetchGit { - url = "ssh://git@bscpm02.bsc.es/benchmarks/ompss-2/nbody-conflict-kevin.git"; - #rev = "a8372abf9fc7cbc2db0778de80512ad4af244c29"; - ref = "master"; - }; - - patchPhase = '' - sed -i 's/gcc/icc/g' Makefile - #export NIX_DEBUG=6 - ''; - - buildInputs = [ - nanos6 - mpi - icc - tampi - mcxx - ]; - - installPhase = '' - mkdir -p $out/bin - cp nbody_* $out/bin/ - ''; - -}