No known key found for this signature in database
GPG Key ID: B4C3BF012D9B26BE
3 changed files with
94 additions and
4 deletions
-
packages/pdtoolkit/default.nix
-
packages/tau/default.nix
-
shared/packages.nix
|
@ -0,0 +1,37 @@ |
|
|
|
|
|
{ stdenv |
|
|
|
|
|
, fetchzip |
|
|
|
|
|
, coreutils |
|
|
|
|
|
, ... |
|
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
|
pname = "pdtoolkit"; |
|
|
|
|
|
version = "3.25.1"; |
|
|
|
|
|
|
|
|
|
|
|
src = fetchzip { |
|
|
|
|
|
url = "https://www.cs.uoregon.edu/research/tau/pdt_releases/pdtoolkit-${version}.tar.gz"; |
|
|
|
|
|
hash = "sha256-IfSc5hlTFqW+y81z0jucVvBiRXQ9SllDsS3K8M2c5Is="; |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ |
|
|
|
|
|
coreutils |
|
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
prePatch = '' |
|
|
|
|
|
patchShebangs --build configure |
|
|
|
|
|
|
|
|
|
|
|
for file in configure Makefile; do |
|
|
|
|
|
substituteInPlace $file \ |
|
|
|
|
|
--replace /bin/rm rm \ |
|
|
|
|
|
--replace /bin/cp cp |
|
|
|
|
|
done |
|
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
|
|
prefixKey = "-prefix="; |
|
|
|
|
|
|
|
|
|
|
|
postInstall = '' |
|
|
|
|
|
chmod -R u=rwX,g=rX,o=rX $out |
|
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
|
|
enableParallelBuilding = true; |
|
|
|
|
|
} |
|
@ -0,0 +1,54 @@ |
|
|
|
|
|
{ stdenv |
|
|
|
|
|
, fetchzip |
|
|
|
|
|
, coreutils |
|
|
|
|
|
, which |
|
|
|
|
|
, callPackage |
|
|
|
|
|
, libbfd |
|
|
|
|
|
, pdtoolkit ? callPackage ../pdtoolkit { } |
|
|
|
|
|
, ... |
|
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
|
pname = "tau"; |
|
|
|
|
|
version = "2.32"; |
|
|
|
|
|
|
|
|
|
|
|
src = fetchzip { |
|
|
|
|
|
url = "https://www.cs.uoregon.edu/research/tau/tau_releases/tau-${version}.tar.gz"; |
|
|
|
|
|
hash = "sha256-0wAvssUHtB4gxRDEq7HMpBB1etLa7zHk8TK27SRmJOE="; |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ |
|
|
|
|
|
coreutils |
|
|
|
|
|
which |
|
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
buildInputs = [ |
|
|
|
|
|
pdtoolkit |
|
|
|
|
|
libbfd |
|
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
configureFlags = [ |
|
|
|
|
|
"-pdt=${pdtoolkit}" |
|
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
prePatch = '' |
|
|
|
|
|
patchShebangs --build configure |
|
|
|
|
|
|
|
|
|
|
|
for file in configure $(find . -name "Makefile") $(find . -name "Makefile.skel") utils/FixMakefile; do |
|
|
|
|
|
substituteInPlace $file \ |
|
|
|
|
|
--replace /bin/rm rm \ |
|
|
|
|
|
--replace /bin/cp cp \ |
|
|
|
|
|
--replace /bin/ln ln |
|
|
|
|
|
done |
|
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
|
|
preBuild = '' |
|
|
|
|
|
cd $out |
|
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
|
|
prefixKey = "-prefix="; |
|
|
|
|
|
|
|
|
|
|
|
dontDisableStatic = true; |
|
|
|
|
|
|
|
|
|
|
|
enableParallelBuilding = true; |
|
|
|
|
|
} |
|
@ -1,7 +1,3 @@ |
|
|
{ pkgs, lib, ... }: |
|
|
|
|
|
|
|
|
|
|
|
with lib; |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
nixpkgs.overlays = [ |
|
|
nixpkgs.overlays = [ |
|
|
(self: super: { |
|
|
(self: super: { |
|
@ -12,6 +8,9 @@ with lib; |
|
|
|
|
|
|
|
|
openmpi = self.callPackage ../packages/openmpi { }; |
|
|
openmpi = self.callPackage ../packages/openmpi { }; |
|
|
|
|
|
|
|
|
|
|
|
pdtoolkit = self.callPackage ../packages/pdtoolkit { }; |
|
|
|
|
|
tau = self.callPackage ../packages/tau { }; |
|
|
|
|
|
|
|
|
ucx = super.ucx.overrideAttrs (final: prev: rec { |
|
|
ucx = super.ucx.overrideAttrs (final: prev: rec { |
|
|
version = "1.16.0"; |
|
|
version = "1.16.0"; |
|
|
|
|
|
|
|
|