diff options
| author | Ross Burton <ross.burton@arm.com> | 2025-10-15 16:41:27 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-16 10:53:10 +0100 |
| commit | 2de0de4c34fd11de7e49a5f293e68db63886094f (patch) | |
| tree | eebce7eedd51927d4a4670f1f2ec8ede2fc13c5f /meta/recipes-devtools | |
| parent | a320a45220ee4cbf527e13ba89382c9d13942d55 (diff) | |
| download | poky-2de0de4c34fd11de7e49a5f293e68db63886094f.tar.gz | |
openmp: recipe cleanup
Remove perlnative inherit, this recipe does not depend on non-standard
perl (or any perl, in fact).
Remove python3native inherit, this recipe does not depend on non-standard
Python modules. python3-native will still be pulled into the sysroot via
python3targetconfig however.
Remove PACKAGECONFIG:remove:powerpc, as powerpc is explicitly marked as
not compatible later in the recipe.
Remove LLVM_ENABLE_PER_TARGET_RUNTIME_DIR, this is only used during
monolithic builds of llvm.
Remove OPENMP_STANDALONE_BUILD, this is automatically detected when
building.
Remove CMAKE_POSITION_INDEPENDENT_CODE, this is the default value.
Remove all _TOOL, these are not used.
(From OE-Core rev: 87bb7e18e8a37803ec7c96c640347ac515d073d2)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
| -rw-r--r-- | meta/recipes-devtools/clang/openmp_git.bb | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/meta/recipes-devtools/clang/openmp_git.bb b/meta/recipes-devtools/clang/openmp_git.bb index b6b1cc2978..2ba83d48c6 100644 --- a/meta/recipes-devtools/clang/openmp_git.bb +++ b/meta/recipes-devtools/clang/openmp_git.bb | |||
| @@ -13,21 +13,12 @@ CVE_PRODUCT += "openmp" | |||
| 13 | 13 | ||
| 14 | LIC_FILES_CHKSUM = "file://openmp/LICENSE.TXT;md5=d75288d1ce0450b28b8d58a284c09c79" | 14 | LIC_FILES_CHKSUM = "file://openmp/LICENSE.TXT;md5=d75288d1ce0450b28b8d58a284c09c79" |
| 15 | 15 | ||
| 16 | inherit cmake pkgconfig perlnative python3native python3targetconfig | 16 | inherit cmake pkgconfig python3targetconfig |
| 17 | 17 | ||
| 18 | DEPENDS += "elfutils libffi clang" | 18 | DEPENDS += "elfutils libffi clang" |
| 19 | 19 | ||
| 20 | EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RelWithDebInfo \ | 20 | EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
| 21 | -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF \ | ||
| 22 | -DOPENMP_LIBDIR_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ | 21 | -DOPENMP_LIBDIR_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ |
| 23 | -DOPENMP_STANDALONE_BUILD=ON \ | ||
| 24 | -DCLANG_TOOL=${STAGING_BINDIR_NATIVE}/clang \ | ||
| 25 | -DLINK_TOOL=${STAGING_BINDIR_NATIVE}/llvm-link \ | ||
| 26 | -DOPT_TOOL=${STAGING_BINDIR_NATIVE}/opt \ | ||
| 27 | -DOPENMP_LLVM_LIT_EXECUTABLE=${STAGING_BINDIR_NATIVE}/llvm-lit \ | ||
| 28 | -DEXTRACT_TOOL=${STAGING_BINDIR_NATIVE}/llvm-extract \ | ||
| 29 | -DPACKAGER_TOOL=${STAGING_BINDIR_NATIVE}/clang-offload-packager \ | ||
| 30 | -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ | ||
| 31 | " | 22 | " |
| 32 | 23 | ||
| 33 | OECMAKE_SOURCEPATH = "${S}/openmp" | 24 | OECMAKE_SOURCEPATH = "${S}/openmp" |
| @@ -35,8 +26,6 @@ OECMAKE_SOURCEPATH = "${S}/openmp" | |||
| 35 | PACKAGECONFIG ?= "ompt-tools offloading-plugin" | 26 | PACKAGECONFIG ?= "ompt-tools offloading-plugin" |
| 36 | 27 | ||
| 37 | PACKAGECONFIG:remove:arm = "ompt-tools offloading-plugin" | 28 | PACKAGECONFIG:remove:arm = "ompt-tools offloading-plugin" |
| 38 | PACKAGECONFIG:remove:powerpc = "ompt-tools offloading-plugin" | ||
| 39 | |||
| 40 | PACKAGECONFIG:append:mipsarcho32 = " no-atomics" | 29 | PACKAGECONFIG:append:mipsarcho32 = " no-atomics" |
| 41 | 30 | ||
| 42 | PACKAGECONFIG[ompt-tools] = "-DOPENMP_ENABLE_OMPT_TOOLS=ON,-DOPENMP_ENABLE_OMPT_TOOLS=OFF," | 31 | PACKAGECONFIG[ompt-tools] = "-DOPENMP_ENABLE_OMPT_TOOLS=ON,-DOPENMP_ENABLE_OMPT_TOOLS=OFF," |
