computecpp: drop

This commit is contained in:
Justin Restivo
2025-12-21 06:33:09 -05:00
parent 363408f72e
commit 4f2f7d9a67
3 changed files with 2 additions and 77 deletions
@@ -1,59 +0,0 @@
{
lib,
stdenv,
fetchzip,
pkg-config,
autoPatchelfHook,
installShellFiles,
ocl-icd,
zlib,
}:
stdenv.mkDerivation rec {
pname = "computecpp";
version = "2.11.0";
src = fetchzip {
url = "https://computecpp.codeplay.com/downloads/computecpp-ce/${version}/x86_64-linux-gnu.tar.gz";
hash = "sha256-xHOPuijx5TZeHzRHPXcll0WqoBzHBryIoe3BnOxBVVY=";
stripRoot = true;
};
dontStrip = true;
buildInputs = [
(lib.getLib stdenv.cc.cc)
ocl-icd
zlib
];
nativeBuildInputs = [
autoPatchelfHook
pkg-config
installShellFiles
];
installPhase = ''
runHook preInstall
find ./lib -type f -exec install -D -m 0755 {} -t $out/lib \;
find ./bin -type l -exec install -D -m 0755 {} -t $out/bin \;
find ./bin -type f -exec install -D -m 0755 {} -t $out/bin \;
find ./doc -type f -exec install -D -m 0644 {} -t $out/doc \;
find ./include -type f -exec install -D -m 0644 {} -t $out/include \;
runHook postInstall
'';
passthru = {
isClang = true;
};
meta = {
description = "Accelerate Complex C++ Applications on Heterogeneous Compute Systems using Open Standards";
homepage = "https://www.codeplay.com/products/computesuite/computecpp";
license = lib.licenses.unfree;
maintainers = [ ];
platforms = [ "x86_64-linux" ];
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
};
}
+2
View File
@@ -453,6 +453,8 @@ mapAliases {
collada2gltf = throw "collada2gltf has been removed from Nixpkgs, as it has been unmaintained upstream for 5 years and does not build with supported GCC versions"; # Addd 2025-08-08
colloid-kde = throw "'colloid-kde' has been removed, as it is only compatible with Plasma 5, which is EOL"; # Added 2025-08-20
colorstorm = throw "'colorstorm' has been removed because it was unmaintained in nixpkgs and upstream was rewritten."; # Added 2025-06-15
computecpp = throw "'computecpp' has been removed because its source has been pulled"; # Added 2025-12-20
computecpp-unwrapped = throw "'computecpp-unwrapped' has been removed because its source has been pulled"; # Added 2025-12-20
conduwuit = throw "'conduwuit' has been removed as the upstream repository has been deleted. Consider migrating to 'matrix-conduit', 'matrix-continuwuity' or 'matrix-tuwunel' instead."; # Added 2025-08-08
cone = throw "cone has been removed, as it does not build with supported LLVM versions"; # Added 2025-08-10
connman-ncurses = throw "'connman-ncurses' has been removed due to lack of maintenance upstream."; # Added 2025-05-27
-18
View File
@@ -4234,24 +4234,6 @@ with pkgs;
inherit (coqPackages_9_0) compcert;
computecpp = wrapCCWith rec {
cc = computecpp-unwrapped;
extraPackages = [
llvmPackages.compiler-rt
];
extraBuildCommands = ''
wrap compute $wrapper $ccPath/compute
wrap compute++ $wrapper $ccPath/compute++
export named_cc=compute
export named_cxx=compute++
rsrc="$out/resource-root"
mkdir -p "$rsrc/lib"
ln -s "${cc}/lib" "$rsrc/include"
echo "-resource-dir=$rsrc" >> $out/nix-support/cc-cflags
'';
};
corretto11 = javaPackages.compiler.corretto11;
corretto17 = javaPackages.compiler.corretto17;
corretto21 = javaPackages.compiler.corretto21;