From b573f41170c4e3be8d5fc585bb8166218ed09d8b Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 9 Jan 2023 12:12:15 +0000 Subject: openmp: skip buildpaths QA check for openmp-staticdev The /usr/lib/libomptarget.devicertl.a static library ends up with build paths embedded. The CMake files don't respect our CXXFLAGS so don't use the -fdebug-path-map arguments, but even adding those didn't solve it: it looks like code via goes via LLVM bytecode files doesn't get remapped? Until that is solved, skip the buildpath check. Signed-off-by: Ross Burton --- recipes-devtools/clang/openmp_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-devtools/clang/openmp_git.bb b/recipes-devtools/clang/openmp_git.bb index 6087a93..4305232 100644 --- a/recipes-devtools/clang/openmp_git.bb +++ b/recipes-devtools/clang/openmp_git.bb @@ -44,6 +44,8 @@ FILES_SOLIBSDEV = "" FILES:${PN} += "${libdir}/lib*${SOLIBSDEV}" FILES:${PN}-libomptarget = "${libdir}/libomptarget-*.bc" INSANE_SKIP:${PN} = "dev-so" +# Currently the static libraries contain buildpaths +INSANE_SKIP:${PN}-staticdev += "buildpaths" COMPATIBLE_HOST:mips64 = "null" COMPATIBLE_HOST:riscv32 = "null" -- cgit v1.2.3-54-g00ecf