From 7ab4e8bd48aa4dad891d4fcad5289c57f4ed1079 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Wed, 28 Oct 2015 03:12:51 +0000 Subject: [PATCH] [Orc] Disable Orc C API unit tests on non-Darwin while I investigate more builder failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251484 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/ExecutionEngine/Orc/OrcTestCommon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/ExecutionEngine/Orc/OrcTestCommon.h b/unittests/ExecutionEngine/Orc/OrcTestCommon.h index 18e3874acaf..d7389492291 100644 --- a/unittests/ExecutionEngine/Orc/OrcTestCommon.h +++ b/unittests/ExecutionEngine/Orc/OrcTestCommon.h @@ -46,7 +46,7 @@ public: const Triple& TT = TM->getTargetTriple(); - if (TT.getArch() == Triple::x86_64) + if (TT.getArch() == Triple::x86_64 && TT.isOSDarwin()) return std::move(TM); return nullptr; -- 2.34.1