summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/clang/clang/0023-openmp-Recognise-ARMv7ve-machine-arch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/clang/clang/0023-openmp-Recognise-ARMv7ve-machine-arch.patch')
-rw-r--r--recipes-devtools/clang/clang/0023-openmp-Recognise-ARMv7ve-machine-arch.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/recipes-devtools/clang/clang/0023-openmp-Recognise-ARMv7ve-machine-arch.patch b/recipes-devtools/clang/clang/0023-openmp-Recognise-ARMv7ve-machine-arch.patch
deleted file mode 100644
index 59ee7b6..0000000
--- a/recipes-devtools/clang/clang/0023-openmp-Recognise-ARMv7ve-machine-arch.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 68d9f584ed5e3b65af21548fb1a9f3547a14cd59 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 5 Oct 2019 14:47:37 -0700
4Subject: [PATCH] openmp: Recognise ARMv7ve machine arch
5
6-march in clang when set to armv7ve emits __ARM_ARCH_7VE__ internal
7define and not __ARM_ARCH_7A__, hence the condition fails and openmp can
8not be compiled, this makes sure that __ARM_ARCH_7VE__ is taken into
9consideration as KMP_ARCH_ARMV7 as well
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 openmp/runtime/src/kmp_platform.h | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/openmp/runtime/src/kmp_platform.h b/openmp/runtime/src/kmp_platform.h
17index e4f2e06b962..335b91f3575 100644
18--- a/openmp/runtime/src/kmp_platform.h
19+++ b/openmp/runtime/src/kmp_platform.h
20@@ -139,7 +139,7 @@
21 #endif
22
23 #if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7R__) || \
24- defined(__ARM_ARCH_7A__)
25+ defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7VE__)
26 #define KMP_ARCH_ARMV7 1
27 #endif
28