diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-04-08 11:16:50 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-04-10 15:50:02 -0700 |
commit | 1b9758f9f27aa5714e1732e08aaea3e60ce18d74 (patch) | |
tree | ec9984ffb09db7f55c139fddc3fd9af23feebb87 | |
parent | 3882c27310b16e6fc097cca1966cea591769cc5c (diff) | |
download | meta-clang-1b9758f9f27aa5714e1732e08aaea3e60ce18d74.tar.gz |
openmp: Enable ompt-tools and offloading-plugin
Account for 64bit builtin atomic which are missing on mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | recipes-devtools/clang/openmp_git.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-devtools/clang/openmp_git.bb b/recipes-devtools/clang/openmp_git.bb index 8418c50..f19954a 100644 --- a/recipes-devtools/clang/openmp_git.bb +++ b/recipes-devtools/clang/openmp_git.bb | |||
@@ -28,12 +28,14 @@ OECMAKE_SOURCEPATH = "${S}/openmp" | |||
28 | PACKAGECONFIG ?= "ompt-tools offloading-plugin" | 28 | PACKAGECONFIG ?= "ompt-tools offloading-plugin" |
29 | 29 | ||
30 | PACKAGECONFIG:remove:arm = "ompt-tools offloading-plugin" | 30 | PACKAGECONFIG:remove:arm = "ompt-tools offloading-plugin" |
31 | PACKAGECONFIG:remove:mipsarch = "ompt-tools offloading-plugin" | ||
32 | PACKAGECONFIG:remove:powerpc = "ompt-tools offloading-plugin" | 31 | PACKAGECONFIG:remove:powerpc = "ompt-tools offloading-plugin" |
33 | 32 | ||
33 | PACKAGECONFIG:append:mips = " no-atomics" | ||
34 | |||
34 | PACKAGECONFIG[ompt-tools] = "-DOPENMP_ENABLE_OMPT_TOOLS=ON,-DOPENMP_ENABLE_OMPT_TOOLS=OFF," | 35 | PACKAGECONFIG[ompt-tools] = "-DOPENMP_ENABLE_OMPT_TOOLS=ON,-DOPENMP_ENABLE_OMPT_TOOLS=OFF," |
35 | PACKAGECONFIG[aliases] = "-DLIBOMP_INSTALL_ALIASES=ON,-DLIBOMP_INSTALL_ALIASES=OFF," | 36 | PACKAGECONFIG[aliases] = "-DLIBOMP_INSTALL_ALIASES=ON,-DLIBOMP_INSTALL_ALIASES=OFF," |
36 | PACKAGECONFIG[offloading-plugin] = ",,elfutils libffi,libelf libffi" | 37 | PACKAGECONFIG[offloading-plugin] = ",,elfutils libffi,libelf libffi" |
38 | PACKAGECONFIG[no-atomics] = "-DLIBOMP_HAVE_BUILTIN_ATOMIC=OFF -DLIBOMP_LIBFLAGS='-latomic',," | ||
37 | 39 | ||
38 | PACKAGES += "${PN}-libomptarget" | 40 | PACKAGES += "${PN}-libomptarget" |
39 | FILES_SOLIBSDEV = "" | 41 | FILES_SOLIBSDEV = "" |