From 1b9758f9f27aa5714e1732e08aaea3e60ce18d74 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 8 Apr 2022 11:16:50 -0700 Subject: openmp: Enable ompt-tools and offloading-plugin Account for 64bit builtin atomic which are missing on mips Signed-off-by: Khem Raj --- recipes-devtools/clang/openmp_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'recipes-devtools') 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" PACKAGECONFIG ?= "ompt-tools offloading-plugin" PACKAGECONFIG:remove:arm = "ompt-tools offloading-plugin" -PACKAGECONFIG:remove:mipsarch = "ompt-tools offloading-plugin" PACKAGECONFIG:remove:powerpc = "ompt-tools offloading-plugin" +PACKAGECONFIG:append:mips = " no-atomics" + PACKAGECONFIG[ompt-tools] = "-DOPENMP_ENABLE_OMPT_TOOLS=ON,-DOPENMP_ENABLE_OMPT_TOOLS=OFF," PACKAGECONFIG[aliases] = "-DLIBOMP_INSTALL_ALIASES=ON,-DLIBOMP_INSTALL_ALIASES=OFF," PACKAGECONFIG[offloading-plugin] = ",,elfutils libffi,libelf libffi" +PACKAGECONFIG[no-atomics] = "-DLIBOMP_HAVE_BUILTIN_ATOMIC=OFF -DLIBOMP_LIBFLAGS='-latomic',," PACKAGES += "${PN}-libomptarget" FILES_SOLIBSDEV = "" -- cgit v1.2.3-54-g00ecf