Disable remote MCJIT on pre-v6 ARM
authorRenato Golin <renato.golin@linaro.org>
Mon, 20 May 2013 07:46:06 +0000 (07:46 +0000)
committerRenato Golin <renato.golin@linaro.org>
Mon, 20 May 2013 07:46:06 +0000 (07:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182235 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/MCJIT/remote/lit.local.cfg [new file with mode: 0644]

diff --git a/test/ExecutionEngine/MCJIT/remote/lit.local.cfg b/test/ExecutionEngine/MCJIT/remote/lit.local.cfg
new file mode 100644 (file)
index 0000000..39b2a95
--- /dev/null
@@ -0,0 +1,11 @@
+config.suffixes = ['.ll', '.c', '.cpp']
+
+def getRoot(config):
+    if not config.parent:
+        return config
+    return getRoot(config.parent)
+
+root = getRoot(config)
+
+if 'armv4' in root.target_triple or 'armv5' in root.target_triple:
+    config.unsupported = True