llvmPackages_{18,19,20}.libllvm: reenable disabled test

This test works again after the patch in 26945241a1586b4f5218e7f35d06e80ca323d232 is applied.

(cherry picked from commit dca5964503)
This commit is contained in:
Randy Eckenrode
2026-08-09 08:38:12 -04:00
committed by Ihar Hrachyshka
parent 3692fe63c1
commit 9c847cd37c

View File

@@ -304,16 +304,6 @@ stdenv.mkDerivation (
substituteInPlace unittests/Support/VirtualFileSystemTest.cpp \
--replace-fail "PhysicalFileSystemWorkingDirFailure" "DISABLED_PhysicalFileSystemWorkingDirFailure"
''
+
# Fails on macOS ≥ 26 due to the changed OS version scheme.
#
# This was fixed upstream in LLVM 21 with
# 88f041f3e05e26617856cc096d2e2864dfaa1c7b, but it’s too
# painful to backport all the way.
lib.optionalString (lib.versionOlder release_version "21") ''
substituteInPlace unittests/TargetParser/Host.cpp \
--replace-fail "getMacOSHostVersion" "DISABLED_getMacOSHostVersion"
''
+
# This test fails with a `dysmutil` crash; have not yet dug into what's
# going on here (TODO(@rrbutani)).