Go to file
Tom Hochstein 2153fbd749 imx-gpu-sdk: Don't use BB_NUMBER_THREADS in do_compile
Problem reported by Rasmus Villemoes <rasmus.villemoes@prevas.dk>:

```
The imx-gpu-sdk recipe in the meta-imx layer references
${BB_NUMBER_THREADS} in its do_compile function. Changing
BB_NUMBER_THREADS between bitbake invocations leads to the well-known

  When reparsing ...meta-imx/meta-sdk/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_5.8.0.bb:do_compile, the basehash value changed from 69be88cf220840ff2203e11cfe65681880b0bf9b88db67d50c1ba772b883bd18 to 5e6d5029fac8d7856ada4c2eca359568298f82cdb64567d7dd4deda503d9f83a. The metadata is not deterministic and this needs to be fixed.

This happens because BB_NUMBER_THREADS is in BB_HASHCONFIG_IGNORE_VARS,
so changing it does not cause the recipe to be reparsed, but it is not
included in BB_HASHEXCLUDE_COMMON and thus BB_BASEHASH_IGNORE_VARS.
```

Fix as suggested by Richard Purdie <richard.purdie@linuxfoundation.org>:

```
Technically imx-gpu-sdk is incorrect. BB_NUMBER_THREADS is the number of tasks
bitbake should run. PARALLEL_MAKE is what is used for parallelism in do_compile.

I appreciate that has -j in but you can use: ${@oe.utils.parallel_make(d)} to
obtain the value that recipe needs.
```

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-10-18 15:16:51 -03:00
.github/workflows cicd: backport: Fix events allowing the workflow to run 2021-08-09 12:35:17 -03:00
conf distro:fslc-base.inc: drop bluez5 from DISTRO_FEATURES 2022-10-05 08:19:55 -03:00
recipes-connectivity/openssh openssh: Disable rng-tools 2022-09-08 12:58:39 -03:00
recipes-devtools layer: set missing branch and protocol for recipes using git 2021-11-10 08:52:23 -03:00
recipes-fsl packagegroup-fsl-gstreamer: follow oe-core's variable name changes 2022-03-06 13:12:45 -03:00
recipes-graphics imx-gpu-sdk: Don't use BB_NUMBER_THREADS in do_compile 2022-10-18 15:16:51 -03:00
recipes-multimedia/gstreamer layer: Update LICENSE variable to use SPDX license identifiers 2022-03-03 13:10:37 -03:00
.gitignore .gitignore: add developer/editor patterns 2020-06-30 08:58:19 -03:00
README README: use pull requests for contributing 2019-04-08 08:05:22 -03:00

OpenEmbedded/Yocto layer for Freescale's Distribution images

This layer provides support for Freescale's Demonstration images for use with OpenEmbedded and/or Yocto Freescale's BSP layer.

This layer depends on:

URI: git://git.openembedded.org/openembedded-core branch: master revision: HEAD

URI: git://git.openembedded.org/meta-openembedded branch: master revision: HEAD

URI: git://git.yoctoproject.org/meta-freescale branch: master revision: HEAD

Contributing

Please submit any patches against the meta-freescale-distro layer by using the GitHub pull-request feature. Fork the repo, make a branch, do the work, rebase from upstream, create the pull request.

For some useful guidelines to be followed when submitting patches, please refer to: http://openembedded.org/wiki/Commit_Patch_Message_Guidelines

Pull requests will be discussed within the GitHub pull-request infrastructure. If you want to get informed on new PRs and the follow-up discussions please use GitHub's notification system.

Mailing list:

https://lists.yoctoproject.org/listinfo/meta-freescale

Source code:

https://github.com/Freescale/meta-freescale-distro