toolchain-external: add OpenMP support
Get series with b4
b4 am 20190326202222.0dbc0711@windsurfVersions newest first · linked by author and title
- v2 Latest posting 2/20 of 4 patches 0 repliesNew
- v2 posting 1/20 of 4 patches 0 repliesSuperseded
Patches in v2 posting 2/2 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Buildroot] [PATCH v2 0/4] toolchain-external: add OpenMP support
Hello Ed,
Quoted 5 lines · On Tue, 26 Mar 2019 12:30:44 +0000 Ed Blake <[email protected]> wrote:
Ed Blake (4):
toolchain-external: introduceBR2_TOOLCHAIN_HAS_OPENMPpackage/gcc: selectBR2_TOOLCHAIN_HAS_OPENMPifBR2_GCC_ENABLE_OPENMP
toolchain-external: enable OpenMP for supporting toolchains
package: useBR2_TOOLCHAIN_HAS_OPENMP
Thanks, I've applied all four patches.
However, it would be good if you could send additional patches that:
(1) Allows a custom external toolchain to specify that it supports OpenMP. This needs to be done in toolchain/toolchain-external/toolchain-external-custom/Config.in.options
(2) Adds a check to the external toolchain logic to ensure that if BR2_TOOLCHAIN_HAS_OPENMP is enabled, the toolchain really supports it. This should be done in the $(2)_CONFIGURE_CMDS variable in pkg-toolchain-external.mk. You can for example write a check similar to check_fortran (see helpers.mk) that tries to compile a simple OpenMP program.
Do you think you could work on this ?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com