Compare commits

..

14 Commits

Author SHA1 Message Date
d1e43dba34
Move attributes in ompss2 clang derivation to passthru 2025-09-29 12:54:26 +02:00
7b59ad8e65
Remove gcc from tampi *buildInputs 2025-09-29 12:54:24 +02:00
db60f992d2
Fix strictDeps ovni 2025-09-29 12:54:23 +02:00
907797dbf7
Fix strictDeps osu 2025-09-29 12:54:22 +02:00
c9442e9859
Fix strictDeps mercurium 2025-09-29 12:54:22 +02:00
1b4b039faf
Fix strictDeps tampi 2025-09-29 12:54:22 +02:00
e3faa29477
Fix strictDeps sonar 2025-09-29 12:54:22 +02:00
4eb8e2bada
Fix strictDeps nanos6 2025-09-29 12:54:22 +02:00
1462d25b9b
Fix strictDeps paraver 2025-09-29 12:54:21 +02:00
61b6de195e
Fix strictDeps ompss2 2025-09-29 12:54:21 +02:00
cb6d770992
Fix strictDeps intel 2023 2025-09-29 12:54:21 +02:00
6454ff6712
Fix strictDeps bench6 2025-09-29 12:54:21 +02:00
d40ce4fe79
Fix strictDeps bigotes 2025-09-29 12:54:21 +02:00
2ffdd53d86 Add hydraJobs with tests and packages
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
Tested-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2025-09-26 16:12:46 +02:00
3 changed files with 22 additions and 12 deletions

View File

@ -2,17 +2,23 @@
inputs.nixpkgs.url = "nixpkgs";
outputs = { self, nixpkgs, ...}:
let
pkgs = import nixpkgs {
let
# For now we only support x86
system = "x86_64-linux";
overlays = [ self.overlays.default ];
};
in
pkgs = import nixpkgs {
inherit system;
overlays = [ self.overlays.default ];
};
in
{
bscOverlay = import ./overlay.nix;
overlays.default = self.bscOverlay;
legacyPackages.x86_64-linux = pkgs;
# full nixpkgs with our overlay applied
legacyPackages.${system} = pkgs;
hydraJobs = {
inherit (self.legacyPackages.${system}.bsc-ci) test pkgs;
};
# propagate nixpkgs lib, so we can do bscpkgs.lib
inherit (nixpkgs) lib;

View File

@ -88,7 +88,9 @@ in bscPkgs // {
};
};
pkgs = final.runCommand "ci-pkgs" { }
pkgs = filterAttrs (_: isDerivation) bscPkgs;
pkgsList = final.runCommand "ci-pkgs" { }
"printf '%s\n' ${toString (collect isDerivation bscPkgs)} > $out";
tests = final.runCommand "ci-tests" { }
@ -96,7 +98,7 @@ in bscPkgs // {
all = final.runCommand "ci-all" { }
''
deps="${toString [ final.bsc-ci.pkgs final.bsc-ci.tests ]}"
deps="${toString [ final.bsc-ci.pkgsList final.bsc-ci.tests ]}"
cat $deps
printf '%s\n' $deps > $out
'';

View File

@ -43,19 +43,21 @@ let
source = if (useGit) then git else release;
in stdenv.mkDerivation rec {
in stdenv.mkDerivation {
pname = "clang-ompss2";
inherit (source) src version;
enableParallelBuilding = true;
isClang = true;
passthru = {
CC = "clang";
CXX = "clang++";
};
isClangWithOmpss = true;
isClang = true;
isClangWithOmpss = true;
inherit gcc zlib;
};
nativeBuildInputs = [
bash