Merge pull request #317869 from nim65s/pin3-disable

pinocchio: deactivate one failing test under aarch64-linux
This commit is contained in:
kirillrdy 2024-06-09 06:51:09 +10:00 committed by GitHub
commit b86e12c7c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,6 +24,12 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-h4NzfS27+jWyHbegxF+pgN6JzJdVAoM16J6G/9uNJc4=";
};
# test failure, ref https://github.com/stack-of-tasks/pinocchio/issues/2277
prePatch = lib.optionalString (stdenv.isLinux && stdenv.isAarch64) ''
substituteInPlace unittest/algorithm/utils/CMakeLists.txt \
--replace-fail "add_pinocchio_unit_test(force)" ""
'';
# example-robot-data models are used in checks.
# Upstream provide them as git submodule, but we can use our own version instead.
postPatch = ''