From ca2b11c4372b77d9509b0a625df87cddbd3c50fa Mon Sep 17 00:00:00 2001 From: yuuko Date: Sat, 11 Jul 2026 09:11:23 -0700 Subject: compressonator-sdk: avx512 is dead, also bizarre header flub on amd's part --- srcds-pkgs/compressonator-sdk.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'srcds-pkgs/compressonator-sdk.nix') diff --git a/srcds-pkgs/compressonator-sdk.nix b/srcds-pkgs/compressonator-sdk.nix index 6d9f53a..b30a48f 100644 --- a/srcds-pkgs/compressonator-sdk.nix +++ b/srcds-pkgs/compressonator-sdk.nix @@ -34,6 +34,14 @@ stdenv.mkDerivation rec { # for some reason the thing itself isn't, and still gets built (???) rm applications/_plugins/common/ssim* sed -i '/ssim/d' applications/_plugins/common/CMakeLists.txt + # RIP IN BEANS AVX512 WE HARDLY KNEW YE + sed -i '/# AVX-512/,/# Link SIMD libraries to CMP_Core/d' \ + {build/sdk/,}cmp_core/CMakeLists.txt + sed -i '/ CMP_Core_AVX512/s/ CMP_Core_AVX512//' \ + {build/sdk/,}cmp_core/CMakeLists.txt + # What the fuck? + sed -i '/memory/a #include /'\ + applications/_plugins/common/pluginbase.h '' + lib.optionalString (!stdenv.hostPlatform.isx86) '' # still plenty fast for our purposes sed -i '/Core SIMD/,/target_link_libraries/d' \ -- cgit v1.2.3