forked from rarias/bscpkgs
Compare commits
18 Commits
7b3e503b12
...
CIstrictDe
| Author | SHA1 | Date | |
|---|---|---|---|
| 92ee4a09d7 | |||
| 34f4b6aa37 | |||
| 2f2d6cbea8 | |||
| 69b09b6dda | |||
| a737d725ed | |||
| 6c1d1f3b2b | |||
| f338ef47d5 | |||
| 239e84c40c | |||
| ed820e79f8 | |||
| afeb415c98 | |||
| 256b24b97b | |||
| 492f73b600 | |||
| 76ddd85afe | |||
| 7affb8ef4b | |||
| 4ba823e5b7 | |||
| 51eecde59e | |||
| 9eb5c486ba | |||
| 5df49dcfab |
15
.gitea/workflows/ci.yaml
Normal file
15
.gitea/workflows/ci.yaml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
name: CI
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:all:
|
||||||
|
runs-on: native
|
||||||
|
steps:
|
||||||
|
- uses: https://gitea.com/ScMi1/checkout@v1.4
|
||||||
|
- run: nix build -L --no-link --print-out-paths .#bsc-ci.all
|
||||||
10
flake.nix
10
flake.nix
@@ -17,16 +17,10 @@
|
|||||||
legacyPackages.${system} = pkgs;
|
legacyPackages.${system} = pkgs;
|
||||||
|
|
||||||
hydraJobs = {
|
hydraJobs = {
|
||||||
inherit (self.legacyPackages.${system}.bsc-ci) test pkgs;
|
inherit (self.legacyPackages.${system}.bsc-ci) tests pkgs cross;
|
||||||
|
|
||||||
cross = self.lib.genAttrs [ "riscv64" ] (target:
|
|
||||||
self.legacyPackages.${system}.pkgsCross.${target}.bsc-ci.pkgs
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# propagate nixpkgs lib, so we can do bscpkgs.lib
|
# propagate nixpkgs lib, so we can do bscpkgs.lib
|
||||||
lib = nixpkgs.lib // {
|
inherit (nixpkgs) lib;
|
||||||
bsc.maintainers = import ./maintainers/maintainer-list.nix;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
builtins.mapAttrs (name: value: { email = name + "@bsc.es"; } // value) {
|
|
||||||
abonerib.name = "Aleix Boné";
|
|
||||||
arocanon.name = "Aleix Roca";
|
|
||||||
rarias.name = "Rodrigo Arias";
|
|
||||||
rpenacob.name = "Raúl Peñacoba";
|
|
||||||
}
|
|
||||||
118
overlay.nix
118
overlay.nix
@@ -6,9 +6,6 @@ with final.lib;
|
|||||||
let
|
let
|
||||||
callPackage = final.callPackage;
|
callPackage = final.callPackage;
|
||||||
|
|
||||||
mkDeps = name: pkgs: final.runCommand name { }
|
|
||||||
"printf '%s\n' ${toString (collect (x: x ? outPath) pkgs)} > $out";
|
|
||||||
|
|
||||||
bscPkgs = {
|
bscPkgs = {
|
||||||
bench6 = callPackage ./pkgs/bench6/default.nix { };
|
bench6 = callPackage ./pkgs/bench6/default.nix { };
|
||||||
bigotes = callPackage ./pkgs/bigotes/default.nix { };
|
bigotes = callPackage ./pkgs/bigotes/default.nix { };
|
||||||
@@ -49,63 +46,74 @@ let
|
|||||||
wxparaver = callPackage ./pkgs/paraver/default.nix { };
|
wxparaver = callPackage ./pkgs/paraver/default.nix { };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tests = rec {
|
||||||
|
#hwloc = callPackage ./test/bugs/hwloc.nix { }; # Broken, no /sys
|
||||||
|
#sigsegv = callPackage ./test/reproducers/sigsegv.nix { };
|
||||||
|
hello-c = callPackage ./test/compilers/hello-c.nix { };
|
||||||
|
hello-cpp = callPackage ./test/compilers/hello-cpp.nix { };
|
||||||
|
lto = callPackage ./test/compilers/lto.nix { };
|
||||||
|
asan = callPackage ./test/compilers/asan.nix { };
|
||||||
|
intel2023-icx-c = hello-c.override { stdenv = final.intelPackages_2023.stdenv; };
|
||||||
|
intel2023-icc-c = hello-c.override { stdenv = final.intelPackages_2023.stdenv-icc; };
|
||||||
|
intel2023-icx-cpp = hello-cpp.override { stdenv = final.intelPackages_2023.stdenv; };
|
||||||
|
intel2023-icc-cpp = hello-cpp.override { stdenv = final.intelPackages_2023.stdenv-icc; };
|
||||||
|
intel2023-ifort = callPackage ./test/compilers/hello-f.nix {
|
||||||
|
stdenv = final.intelPackages_2023.stdenv-ifort;
|
||||||
|
};
|
||||||
|
clangOmpss2-lto = lto.override { stdenv = final.stdenvClangOmpss2Nanos6; };
|
||||||
|
clangOmpss2-asan = asan.override { stdenv = final.stdenvClangOmpss2Nanos6; };
|
||||||
|
clangOmpss2-task = callPackage ./test/compilers/ompss2.nix {
|
||||||
|
stdenv = final.stdenvClangOmpss2Nanos6;
|
||||||
|
};
|
||||||
|
clangNodes-task = callPackage ./test/compilers/ompss2.nix {
|
||||||
|
stdenv = final.stdenvClangOmpss2Nodes;
|
||||||
|
};
|
||||||
|
clangNosvOpenmp-task = callPackage ./test/compilers/clang-openmp.nix {
|
||||||
|
stdenv = final.stdenvClangOmpss2Nodes;
|
||||||
|
};
|
||||||
|
clangNosvOmpv-nosv = callPackage ./test/compilers/clang-openmp-nosv.nix {
|
||||||
|
stdenv = final.stdenvClangOmpss2NodesOmpv;
|
||||||
|
};
|
||||||
|
clangNosvOmpv-ld = callPackage ./test/compilers/clang-openmp-ld.nix {
|
||||||
|
stdenv = final.stdenvClangOmpss2NodesOmpv;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
pkgs = filterAttrs (_: isDerivation) bscPkgs;
|
||||||
|
|
||||||
|
crossTargets = [ "riscv64" ];
|
||||||
|
cross = prev.lib.genAttrs crossTargets (target:
|
||||||
|
final.pkgsCross.${target}.bsc-ci.pkgs
|
||||||
|
);
|
||||||
|
|
||||||
|
buildList = name: paths:
|
||||||
|
final.runCommandLocal name { } ''
|
||||||
|
printf '%s\n' ${toString paths} | tee $out
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildList' = name: paths:
|
||||||
|
final.runCommandLocal name { } ''
|
||||||
|
deps="${toString paths}"
|
||||||
|
cat $deps
|
||||||
|
printf '%s\n' $deps >$out
|
||||||
|
'';
|
||||||
|
|
||||||
|
crossList = builtins.mapAttrs (t: v: buildList t (builtins.attrValues v)) cross;
|
||||||
|
|
||||||
|
pkgsList = buildList "ci-pkgs" (builtins.attrValues pkgs);
|
||||||
|
testList = buildList "ci-tests" (collect isDerivation tests);
|
||||||
|
|
||||||
|
all = buildList' "ci-all" [ pkgsList testList ];
|
||||||
|
|
||||||
in bscPkgs // {
|
in bscPkgs // {
|
||||||
|
|
||||||
lib = prev.lib // {
|
|
||||||
bsc.maintainers = import ./maintainers/maintainer-list.nix;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Prevent accidental usage of bsc attribute
|
# Prevent accidental usage of bsc attribute
|
||||||
bsc = throw "the bsc attribute is deprecated, packages are now in the root";
|
bsc = throw "the bsc attribute is deprecated, packages are now in the root";
|
||||||
|
|
||||||
# Internal for our CI tests
|
# Internal for our CI tests
|
||||||
bsc-ci = {
|
bsc-ci = {
|
||||||
test = rec {
|
inherit pkgs pkgsList;
|
||||||
#hwloc = callPackage ./test/bugs/hwloc.nix { }; # Broken, no /sys
|
inherit tests testList;
|
||||||
#sigsegv = callPackage ./test/reproducers/sigsegv.nix { };
|
inherit cross crossList;
|
||||||
hello-c = callPackage ./test/compilers/hello-c.nix { };
|
inherit all;
|
||||||
hello-cpp = callPackage ./test/compilers/hello-cpp.nix { };
|
|
||||||
lto = callPackage ./test/compilers/lto.nix { };
|
|
||||||
asan = callPackage ./test/compilers/asan.nix { };
|
|
||||||
intel2023-icx-c = hello-c.override { stdenv = final.intelPackages_2023.stdenv; };
|
|
||||||
intel2023-icc-c = hello-c.override { stdenv = final.intelPackages_2023.stdenv-icc; };
|
|
||||||
intel2023-icx-cpp = hello-cpp.override { stdenv = final.intelPackages_2023.stdenv; };
|
|
||||||
intel2023-icc-cpp = hello-cpp.override { stdenv = final.intelPackages_2023.stdenv-icc; };
|
|
||||||
intel2023-ifort = callPackage ./test/compilers/hello-f.nix {
|
|
||||||
stdenv = final.intelPackages_2023.stdenv-ifort;
|
|
||||||
};
|
|
||||||
clangOmpss2-lto = lto.override { stdenv = final.stdenvClangOmpss2Nanos6; };
|
|
||||||
clangOmpss2-asan = asan.override { stdenv = final.stdenvClangOmpss2Nanos6; };
|
|
||||||
clangOmpss2-task = callPackage ./test/compilers/ompss2.nix {
|
|
||||||
stdenv = final.stdenvClangOmpss2Nanos6;
|
|
||||||
};
|
|
||||||
clangNodes-task = callPackage ./test/compilers/ompss2.nix {
|
|
||||||
stdenv = final.stdenvClangOmpss2Nodes;
|
|
||||||
};
|
|
||||||
clangNosvOpenmp-task = callPackage ./test/compilers/clang-openmp.nix {
|
|
||||||
stdenv = final.stdenvClangOmpss2Nodes;
|
|
||||||
};
|
|
||||||
clangNosvOmpv-nosv = callPackage ./test/compilers/clang-openmp-nosv.nix {
|
|
||||||
stdenv = final.stdenvClangOmpss2NodesOmpv;
|
|
||||||
};
|
|
||||||
clangNosvOmpv-ld = callPackage ./test/compilers/clang-openmp-ld.nix {
|
|
||||||
stdenv = final.stdenvClangOmpss2NodesOmpv;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pkgs = filterAttrs (_: isDerivation) bscPkgs;
|
|
||||||
|
|
||||||
pkgsList = final.runCommand "ci-pkgs" { }
|
|
||||||
"printf '%s\n' ${toString (collect isDerivation bscPkgs)} > $out";
|
|
||||||
|
|
||||||
tests = final.runCommand "ci-tests" { }
|
|
||||||
"printf '%s\n' ${toString (collect isDerivation final.bsc-ci.test)} > $out";
|
|
||||||
|
|
||||||
all = final.runCommand "ci-all" { }
|
|
||||||
''
|
|
||||||
deps="${toString [ final.bsc-ci.pkgsList final.bsc-ci.tests ]}"
|
|
||||||
cat $deps
|
|
||||||
printf '%s\n' $deps > $out
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
stdenv
|
stdenv
|
||||||
, lib
|
|
||||||
, bigotes
|
, bigotes
|
||||||
, cmake
|
, cmake
|
||||||
, clangOmpss2
|
, clangOmpss2
|
||||||
@@ -59,12 +58,4 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
hardeningDisable = [ "all" ];
|
hardeningDisable = [ "all" ];
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://gitlab.pm.bsc.es/rarias/bench6";
|
|
||||||
description = "Set of micro-benchmarks for OmpSs-2 and several mini-apps";
|
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.gpl3;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
stdenv
|
stdenv
|
||||||
, lib
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cmake
|
, cmake
|
||||||
}:
|
}:
|
||||||
@@ -15,12 +14,4 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "sha256-ktxM3pXiL8YXSK+/IKWYadijhYXqGoLY6adLk36iigE=";
|
sha256 = "sha256-ktxM3pXiL8YXSK+/IKWYadijhYXqGoLY6adLk36iigE=";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://github.com/rodarima/bigotes";
|
|
||||||
description = "Versatile benchmark tool";
|
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.gpl3;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
#, python3Packages
|
#, python3Packages
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, symlinkJoin
|
, symlinkJoin
|
||||||
, enablePapi ? stdenv.hostPlatform == stdenv.buildPlatform # Disabled when cross-compiling
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@@ -88,7 +87,7 @@ stdenv.mkDerivation rec {
|
|||||||
--enable-sampling
|
--enable-sampling
|
||||||
--with-unwind=${libunwind.dev}
|
--with-unwind=${libunwind.dev}
|
||||||
--with-xml-prefix=${libxml2.dev}
|
--with-xml-prefix=${libxml2.dev}
|
||||||
${lib.optionalString enablePapi "--with-papi=${papi}"}
|
--with-papi=${papi}
|
||||||
${if (mpi != null) then ''--with-mpi=${mpi}''
|
${if (mpi != null) then ''--with-mpi=${mpi}''
|
||||||
else ''--without-mpi''}
|
else ''--without-mpi''}
|
||||||
--without-dyninst)
|
--without-dyninst)
|
||||||
@@ -111,12 +110,4 @@ stdenv.mkDerivation rec {
|
|||||||
# then [ "--enable-openmp" ]
|
# then [ "--enable-openmp" ]
|
||||||
# else []
|
# else []
|
||||||
# );
|
# );
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://github.com/bsc-performance-tools/extrae";
|
|
||||||
description = "Instrumentation framework to generate execution traces of the most used parallel runtimes";
|
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.lgpl21Plus;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
stdenv
|
stdenv
|
||||||
, lib
|
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, symlinkJoin
|
, symlinkJoin
|
||||||
, slurm
|
, slurm
|
||||||
@@ -53,12 +52,4 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ slurm mpiAll rdma-core-all autoconf automake libtool rsync gfortran ];
|
buildInputs = [ slurm mpiAll rdma-core-all autoconf automake libtool rsync gfortran ];
|
||||||
|
|
||||||
hardeningDisable = [ "all" ];
|
hardeningDisable = [ "all" ];
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://pm.bsc.es/gitlab/interoperability/extern/GPI-2";
|
|
||||||
description = "GPI-2 extended for supporting Task-Aware GASPI (TAGASPI) library";
|
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.gpl3;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, rpmextract
|
, rpmextract
|
||||||
, autoPatchelfHook
|
, autoPatchelfHook
|
||||||
@@ -60,12 +59,4 @@ stdenv.mkDerivation rec {
|
|||||||
rm $out/lib/*.dbg
|
rm $out/lib/*.dbg
|
||||||
popd
|
popd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://www.intel.com/content/www/us/en/developer/tools/overview.html";
|
|
||||||
description = "Intel compiler";
|
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.unfree;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -145,12 +145,4 @@ in
|
|||||||
popd
|
popd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://www.intel.com/content/www/us/en/developer/tools/overview.html";
|
|
||||||
description = "Intel compiler";
|
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.unfree;
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
|
||||||
, rpmextract
|
, rpmextract
|
||||||
, gcc
|
, gcc
|
||||||
, zlib
|
, zlib
|
||||||
@@ -102,12 +101,4 @@ stdenv.mkDerivation rec {
|
|||||||
patchelf --set-rpath "$out/lib:${rdma-core}/lib:${libpsm2}/lib" $out/lib/libfabric.so
|
patchelf --set-rpath "$out/lib:${rdma-core}/lib:${libpsm2}/lib" $out/lib/libfabric.so
|
||||||
echo "Patched RPATH in libfabric.so to: $(patchelf --print-rpath $out/lib/libfabric.so)"
|
echo "Patched RPATH in libfabric.so to: $(patchelf --print-rpath $out/lib/libfabric.so)"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://www.intel.com/content/www/us/en/developer/tools/overview.html";
|
|
||||||
description = "Intel compiler";
|
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.unfree;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,11 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ libtirpc ];
|
buildInputs = [ libtirpc ];
|
||||||
patches = [
|
patches = [ ./fix-install.patch ./gcc-14.patch ];
|
||||||
./fix-install.patch
|
|
||||||
./gcc-14.patch
|
|
||||||
./fix-cross.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
hardeningDisable = [ "all" ];
|
hardeningDisable = [ "all" ];
|
||||||
|
|
||||||
@@ -39,8 +35,6 @@ stdenv.mkDerivation rec {
|
|||||||
CFLAGS=-Wno-implicit-int
|
CFLAGS=-Wno-implicit-int
|
||||||
CPPFLAGS=-I${libtirpc.dev}/include/tirpc
|
CPPFLAGS=-I${libtirpc.dev}/include/tirpc
|
||||||
LDFLAGS=-ltirpc
|
LDFLAGS=-ltirpc
|
||||||
CC=${stdenv.cc.targetPrefix}cc
|
|
||||||
AR=${stdenv.cc.targetPrefix}ar
|
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
diff --git a/src/Makefile b/src/Makefile
|
|
||||||
index 2555014..356eeb3 100644
|
|
||||||
--- a/src/Makefile
|
|
||||||
+++ b/src/Makefile
|
|
||||||
@@ -36,7 +36,7 @@ SHELL=/bin/sh
|
|
||||||
|
|
||||||
CC=`../scripts/compiler`
|
|
||||||
MAKE=`../scripts/make`
|
|
||||||
-AR=ar
|
|
||||||
+AR?=ar
|
|
||||||
ARCREATE=cr
|
|
||||||
|
|
||||||
# base of installation location
|
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
stdenv
|
stdenv
|
||||||
, lib
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, nanos6
|
, nanos6
|
||||||
@@ -63,12 +62,4 @@ stdenv.mkDerivation rec {
|
|||||||
# Fails with "memory exhausted" with bison 3.7.1
|
# Fails with "memory exhausted" with bison 3.7.1
|
||||||
# "--enable-bison-regeneration"
|
# "--enable-bison-regeneration"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://github.com/bsc-pm/mcxx";
|
|
||||||
description = "C/C++/Fortran source-to-source compilation infrastructure aimed at fast prototyping";
|
|
||||||
maintainers = with maintainers.bsc; [ rpenacob ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.gpl3Plus;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
stdenv
|
stdenv
|
||||||
, lib
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, nanos6
|
, nanos6
|
||||||
@@ -58,12 +57,4 @@ stdenv.mkDerivation rec {
|
|||||||
# Fails with "memory exhausted" with bison 3.7.1
|
# Fails with "memory exhausted" with bison 3.7.1
|
||||||
# "--enable-bison-regeneration"
|
# "--enable-bison-regeneration"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://github.com/bsc-pm/mcxx";
|
|
||||||
description = "C/C++/Fortran source-to-source compilation infrastructure aimed at fast prototyping";
|
|
||||||
maintainers = with maintainers.bsc; [ rpenacob ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.gpl3Plus;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
|
||||||
, fetchgit
|
, fetchgit
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, nanos6
|
, nanos6
|
||||||
@@ -57,12 +56,4 @@ stdenv.mkDerivation rec {
|
|||||||
#preBuild = ''
|
#preBuild = ''
|
||||||
# make generate_builtins_ia32 GXX_X86_BUILTINS=${gcc}/bin/g++
|
# make generate_builtins_ia32 GXX_X86_BUILTINS=${gcc}/bin/g++
|
||||||
#'';
|
#'';
|
||||||
#
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://github.com/bsc-pm/mcxx";
|
|
||||||
description = "C/C++/Fortran source-to-source compilation infrastructure aimed at fast prototyping";
|
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.gpl3Plus;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
|
|||||||
url = "https://github.com/pmodels/mpich/blob/v${version}/COPYRIGHT";
|
url = "https://github.com/pmodels/mpich/blob/v${version}/COPYRIGHT";
|
||||||
fullName = "MPICH license (permissive)";
|
fullName = "MPICH license (permissive)";
|
||||||
};
|
};
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
maintainers = [ ];
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
, jemallocNanos6 ? null
|
, jemallocNanos6 ? null
|
||||||
, cachelineBytes ? 64
|
, cachelineBytes ? 64
|
||||||
, enableGlibcxxDebug ? false
|
, enableGlibcxxDebug ? false
|
||||||
, enablePapi ? stdenv.hostPlatform == stdenv.buildPlatform # Disabled when cross-compiling
|
|
||||||
, useGit ? false
|
, useGit ? false
|
||||||
, gitUrl ? "ssh://git@bscpm04.bsc.es/nanos6/nanos6"
|
, gitUrl ? "ssh://git@bscpm04.bsc.es/nanos6/nanos6"
|
||||||
, gitBranch ? "master"
|
, gitBranch ? "master"
|
||||||
@@ -48,8 +47,6 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
source = if (useGit) then git else release;
|
source = if (useGit) then git else release;
|
||||||
|
|
||||||
isCross = stdenv.hostPlatform != stdenv.buildPlatform;
|
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation (source // {
|
stdenv.mkDerivation (source // {
|
||||||
pname = "nanos6";
|
pname = "nanos6";
|
||||||
@@ -74,11 +71,9 @@ in
|
|||||||
"--disable-all-instrumentations"
|
"--disable-all-instrumentations"
|
||||||
"--enable-ovni-instrumentation"
|
"--enable-ovni-instrumentation"
|
||||||
"--with-ovni=${ovni}"
|
"--with-ovni=${ovni}"
|
||||||
"--with-boost=${boost.dev}"
|
|
||||||
] ++
|
] ++
|
||||||
(optional enableJemalloc "--with-jemalloc=${jemallocNanos6}") ++
|
(optional enableJemalloc "--with-jemalloc=${jemallocNanos6}") ++
|
||||||
(optional enableGlibcxxDebug "CXXFLAGS=-D_GLIBCXX_DEBUG") ++
|
(optional enableGlibcxxDebug "CXXFLAGS=-D_GLIBCXX_DEBUG");
|
||||||
(optional isCross "--with-symbol-resolution=ifunc");
|
|
||||||
|
|
||||||
postConfigure = lib.optionalString (!enableDebug) ''
|
postConfigure = lib.optionalString (!enableDebug) ''
|
||||||
# Disable debug
|
# Disable debug
|
||||||
@@ -102,14 +97,16 @@ in
|
|||||||
# TODO: papi_version is needed for configure:
|
# TODO: papi_version is needed for configure:
|
||||||
# ./configure: line 27378: papi_version: command not found
|
# ./configure: line 27378: papi_version: command not found
|
||||||
# This probably breaks cross-compilation
|
# This probably breaks cross-compilation
|
||||||
] ++ lib.optionals enablePapi [ papi ];
|
papi
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
boost
|
boost
|
||||||
numactl
|
numactl
|
||||||
hwloc
|
hwloc
|
||||||
|
papi
|
||||||
ovni
|
ovni
|
||||||
] ++ lib.optionals enablePapi [ papi ];
|
];
|
||||||
|
|
||||||
# Create a script that sets NANOS6_HOME
|
# Create a script that sets NANOS6_HOME
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
@@ -121,7 +118,6 @@ in
|
|||||||
homepage = "https://github.com/bsc-pm/nanos6";
|
homepage = "https://github.com/bsc-pm/nanos6";
|
||||||
description = "Nanos6 runtime for OmpSs-2" +
|
description = "Nanos6 runtime for OmpSs-2" +
|
||||||
optionalString (enableDebug) " (with debug symbols)";
|
optionalString (enableDebug) " (with debug symbols)";
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ jemalloc, lib }:
|
{ jemalloc }:
|
||||||
|
|
||||||
jemalloc.overrideAttrs (old: {
|
jemalloc.overrideAttrs (old: {
|
||||||
configureFlags = old.configureFlags ++ [
|
configureFlags = old.configureFlags ++ [
|
||||||
@@ -8,6 +8,5 @@ jemalloc.overrideAttrs (old: {
|
|||||||
hardeningDisable = [ "all" ];
|
hardeningDisable = [ "all" ];
|
||||||
meta = old.meta // {
|
meta = old.meta // {
|
||||||
description = old.meta.description + " (for Nanos6)";
|
description = old.meta.description + " (for Nanos6)";
|
||||||
maintainers = old.meta.maintainers // (with lib.maintainers.bsc; [ rarias ]);
|
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
stdenv
|
stdenv
|
||||||
, lib
|
|
||||||
, bashInteractive
|
, bashInteractive
|
||||||
, busybox
|
, busybox
|
||||||
, nix
|
, nix
|
||||||
@@ -87,13 +86,5 @@ stdenv.mkDerivation rec {
|
|||||||
mkdir -p $out/share
|
mkdir -p $out/share
|
||||||
cp ${nix_conf} $out/share/nix.conf
|
cp ${nix_conf} $out/share/nix.conf
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = null;
|
|
||||||
description = "nix bubblewrap wrapper";
|
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.gpl3Plus; # TODO: license?
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
stdenv
|
stdenv
|
||||||
, lib
|
|
||||||
, glibc
|
, glibc
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@@ -16,12 +15,4 @@ stdenv.mkDerivation rec {
|
|||||||
makeFlags = [ "DESTDIR=$(out)" ];
|
makeFlags = [ "DESTDIR=$(out)" ];
|
||||||
preBuild = "env";
|
preBuild = "env";
|
||||||
dontPatchShebangs = true;
|
dontPatchShebangs = true;
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://gitlab.pm.bsc.es/rarias/nixtools";
|
|
||||||
description = "nix bubblewrap wrapper";
|
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.gpl3Plus; # TODO: license?
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,12 +81,4 @@ in
|
|||||||
passthru = {
|
passthru = {
|
||||||
inherit nosv;
|
inherit nosv;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://gitlab.bsc.es/nos-v/nodes";
|
|
||||||
description = "Runtime library designed to work on top of the nOS-V runtime";
|
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.gpl3Plus;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
, numactl
|
, numactl
|
||||||
, hwloc
|
, hwloc
|
||||||
, papi
|
, papi
|
||||||
, enablePapi ? stdenv.hostPlatform == stdenv.buildPlatform # Disabled when cross-compiling
|
, enablePapi ? true
|
||||||
, cacheline ? 64 # bits
|
, cacheline ? 64 # bits
|
||||||
, ovni ? null
|
, ovni ? null
|
||||||
, useGit ? false
|
, useGit ? false
|
||||||
@@ -59,12 +59,4 @@ in
|
|||||||
hwloc
|
hwloc
|
||||||
ovni
|
ovni
|
||||||
] ++ lib.optionals enablePapi [ papi ];
|
] ++ lib.optionals enablePapi [ papi ];
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://gitlab.bsc.es/nos-v/nos-v";
|
|
||||||
description = "Tasking library enables the co-execution of multiple applications with system-wide scheduling and a centralized management of resources";
|
|
||||||
maintainers = with maintainers.bsc; [ abonerib ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.gpl3Plus;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,12 +55,4 @@ in
|
|||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
hardeningDisable = [ "all" ];
|
hardeningDisable = [ "all" ];
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://ovni.readthedocs.io";
|
|
||||||
description = "Obtuse but Versatile Nanoscale Instrumentation";
|
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.gpl3Plus;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
stdenv
|
stdenv
|
||||||
, lib
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, boost
|
, boost
|
||||||
@@ -89,12 +88,4 @@ stdenv.mkDerivation rec {
|
|||||||
mkdir -p $out/share/man
|
mkdir -p $out/share/man
|
||||||
mv $out/share/doc/wxparaver_help_contents/man $out/share/man/man1
|
mv $out/share/doc/wxparaver_help_contents/man $out/share/man/man1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://github.com/bsc-performance-tools/wxparaver";
|
|
||||||
description = "Trace-based visualization and analysis tool designed to study quantitative detailed metrics and obtain qualitative knowledge of the performance of applications, libraries, processors and whole architectures";
|
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.lgpl21Plus;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
stdenv
|
stdenv
|
||||||
, lib
|
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, ovni
|
, ovni
|
||||||
@@ -28,12 +27,4 @@ stdenv.mkDerivation rec {
|
|||||||
ovni
|
ovni
|
||||||
mpi
|
mpi
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://github.com/bsc-pm/sonar";
|
|
||||||
description = "Set of runtime libraries which instrument parallel programming models through the ovni instrumentation library";
|
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.mit;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
stdenv
|
stdenv
|
||||||
, lib
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, automake
|
, automake
|
||||||
, autoconf
|
, autoconf
|
||||||
@@ -56,12 +55,4 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
hardeningDisable = [ "all" ];
|
hardeningDisable = [ "all" ];
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://github.com/bsc-pm/tagaspi";
|
|
||||||
description = "Task-Aware GASPI";
|
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.gpl3Plus;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,12 +61,4 @@ in stdenv.mkDerivation {
|
|||||||
configureFlags = optional (enableOvni) "--with-ovni=${ovni}";
|
configureFlags = optional (enableOvni) "--with-ovni=${ovni}";
|
||||||
dontDisableStatic = true;
|
dontDisableStatic = true;
|
||||||
hardeningDisable = [ "all" ];
|
hardeningDisable = [ "all" ];
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://github.com/bsc-pm/tampi";
|
|
||||||
description = "Task-Aware MPI";
|
|
||||||
maintainers = with maintainers.bsc; [ rarias ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.gpl3Plus;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user