Merge pull request #303264 from lopsided98/orc-arm

orc: fix build on 32-bit ARM
This commit is contained in:
Nick Cao 2024-04-11 09:07:18 -04:00 committed by GitHub
commit 33f554e81f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,10 +25,7 @@ in stdenv.mkDerivation rec {
sha256 = "sha256-g7B0y2cxfVi+8ejQzIYveuinekW7/wVqH5h8ZIiy9f0=";
};
postPatch = lib.optionalString stdenv.isAarch32 ''
# https://gitlab.freedesktop.org/gstreamer/orc/-/issues/20
sed -i '/exec_opcodes_sys/d' testsuite/meson.build
'' + lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
postPatch = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
# This benchmark times out on Hydra.nixos.org
sed -i '/memcpy_speed/d' testsuite/meson.build
'';