vc_0_7: drop (#453841)
This commit is contained in:
@@ -1,40 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "Vc";
|
||||
version = "0.7.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "VcDevel";
|
||||
repo = "Vc";
|
||||
rev = version;
|
||||
sha256 = "190s4r2n3jsivl4j2m288j3rqmgjj6gl308hi9mzwyhcfn17q8br";
|
||||
};
|
||||
|
||||
# Avoid requesting an unreasonable intrinsic
|
||||
patches = lib.optional stdenv.cc.isClang ./vc_0_7_clang_fix.patch;
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/OptimizeForArchitecture()/d' cmake/VcMacros.cmake
|
||||
sed -i '/AutodetectHostArchitecture()/d' print_target_architecture.cmake
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for multiprecision complex arithmetic with exact rounding";
|
||||
homepage = "https://github.com/VcDevel/Vc";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ ];
|
||||
# never built on aarch64-darwin since first introduction in nixpkgs
|
||||
broken =
|
||||
(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64)
|
||||
|| (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);
|
||||
};
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
diff -ur a/sse/intrinsics.h b/sse/intrinsics.h
|
||||
--- a/sse/intrinsics.h 2021-11-12 22:09:50.000000000 -0500
|
||||
+++ b/sse/intrinsics.h 2021-11-12 22:14:08.000000000 -0500
|
||||
@@ -498,16 +498,6 @@
|
||||
case 0:
|
||||
f = _mm_cvtss_f32(v);
|
||||
break;
|
||||
-#if defined VC_IMPL_SSE4_1 && !defined VC_MSVC
|
||||
- default:
|
||||
-#ifdef VC_GCC
|
||||
- f = __builtin_ia32_vec_ext_v4sf(static_cast<__v4sf>(v), (i));
|
||||
-#else
|
||||
- // MSVC fails to compile this because it can't optimize i to an immediate
|
||||
- _MM_EXTRACT_FLOAT(f, v, i);
|
||||
-#endif
|
||||
- break;
|
||||
-#else
|
||||
case 1:
|
||||
f = _mm_cvtss_f32(_mm_castsi128_ps(_mm_srli_si128(_mm_castps_si128(v), 4)));
|
||||
break;
|
||||
@@ -517,7 +507,6 @@
|
||||
case 3:
|
||||
f = _mm_cvtss_f32(_mm_castsi128_ps(_mm_srli_si128(_mm_castps_si128(v), 12)));
|
||||
break;
|
||||
-#endif
|
||||
}
|
||||
return f;
|
||||
}
|
||||
@@ -2703,6 +2703,7 @@ mapAliases {
|
||||
varnish76 = throw "varnish 7.6 is EOL. Either use the LTS or upgrade."; # Added 2025-05-15
|
||||
varnish76Packages = throw "varnish 7.6 is EOL. Either use the LTS or upgrade."; # Added 2025-05-15
|
||||
vbetool = throw "'vbetool' has been removed as it is broken and not maintained upstream."; # Added 2025-06-11
|
||||
vc_0_7 = throw "'vc_0_7' has been removed as it was broken, unused in nixpkgs and unmaintained"; # Added 2025-10-20
|
||||
vdirsyncerStable = vdirsyncer; # Added 2020-11-08, see https://github.com/NixOS/nixpkgs/issues/103026#issuecomment-723428168
|
||||
ventoy-bin = ventoy; # Added 2023-04-12
|
||||
ventoy-bin-full = ventoy-full; # Added 2023-04-12
|
||||
|
||||
@@ -8768,8 +8768,6 @@ with pkgs;
|
||||
|
||||
vc = callPackage ../development/libraries/vc { };
|
||||
|
||||
vc_0_7 = callPackage ../development/libraries/vc/0.7.nix { };
|
||||
|
||||
vencord-web-extension = callPackage ../by-name/ve/vencord/package.nix { buildWebExtension = true; };
|
||||
|
||||
vid-stab = callPackage ../development/libraries/vid-stab {
|
||||
|
||||
Reference in New Issue
Block a user