[OE-core] [thud][PATCH] icecc-env: don't raise error when icecc not installed

2019-02-20 Thread Adam Trhon
When icecc is not installed, the `which icecc` command in icecc-env.sh returns nonzero. This happens when environment is being sourced. When the terminal has `set -e`, the whole script fails and terminal is closed. Fix this by ignoring errors from the which command. Signed-off-by: Adam Trhon

[OE-core] [PATCH] icecc-env: don't raise error when icecc not installed

2019-02-13 Thread Adam Trhon
When icecc is not installed, the `which icecc` command in icecc-env.sh returns nonzero. This happens when environment is being sourced. When the terminal has `set -e`, the whole script fails and terminal is closed. Fix this by ignoring errors from the which command. Signed-off-by: Adam Trhon

Re: [OE-core] how to load cmake args from git?

2017-07-05 Thread Adam Trhon
Finally we figured it out. When chaning EXTRA_OECMAKE with python function, the function must not be registered like this: addtask do_setup_extra_oecmake after do_patch before do_configure but like this: do_configure[prefuncs] += "do_setup_extra_oecmake" I assume that as bitbake controls build

Re: [OE-core] how to load cmake args from git?

2017-06-23 Thread Adam Trhon
On Fri, 23 Jun 2017 13:53:05 +0100 "Burton, Ross" wrote: > On 23 June 2017 at 11:57, Adam Trhon wrote: > > > According to documentation, this is expanded during recipe parsing. At > > that time ${S}/oe_arguments.txt does not yet exits (it exists only after > &

Re: [OE-core] how to load cmake args from git?

2017-06-23 Thread Adam Trhon
On Thu, 22 Jun 2017 22:51:26 +0100 "Burton, Ross" wrote: > On 22 June 2017 at 09:42, Adam Trhon wrote: > > > but I am not very happy about using PACKAGECONFIG_CONFARGS - it feels > > hacky, the > > arguments are not shown in cmake fail log and it cann

[OE-core] how to load cmake args from git?

2017-06-22 Thread Adam Trhon
I have a recipe that is configured by cmake. The cmake arguments are hardcoded in the recipe and set using the EXTRA_OECMAKE variable. For various reasons, I would like to have the arguments in a file in the project's upstream repository (it's mine as well) and load them. I came up with this: do