<dvorkindmitry>
I have the recipe that is duplicated. myrecipe_ext.bb and myrecipe_int.bb. _ext means the git is external (github), _int is company git. They are mirrored. I am using PREFFERED_... to choose one or another. How can I get rid of diplicated files better?
nemik has quit [Ping timeout: 250 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 248 seconds]
nemik has joined #yocto
hcg has quit [Quit: Client closed]
virtual_vicky[m] has joined #yocto
RP has quit [Remote host closed the connection]
zyga-mbp has joined #yocto
xmn has joined #yocto
zyga-mbp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RP>
seninha: 16GB isn't a lot for 20 threads. I'd try setting BB_NUMBER_THREADS and BB_NUMBER_PARSE_THREADS to say 8
<seninha>
RP: thanks I'll do it
Habbie has quit [Quit: maintenance]
Habbie has joined #yocto
florian_kc has quit [Ping timeout: 256 seconds]
<dvorkindmitry>
I have the recipe that is duplicated. myrecipe_ext.bb and myrecipe_int.bb. _ext means the git is external (github), _int is company git. They are mirrored. I am using PREFFERED_... to choose one or another. How can I get rid of duplicated files? I want to have only one .bb file and choose the mirror somewhere in config file
guysoft42 has quit [Ping timeout: 260 seconds]
florian_kc has joined #yocto
<Saur[m]>
dvorkindmitry: If all that differs between the recipes is the SRC_URI, then you can just set it as `SRC_URI:pn-myrecipe = "..."` in your config file. However, if you want to make it easier, you probably want to use a PACKAGECONFIG instead. Add something like `PACKAGECONFIG[internal] = ""`, and then define the SRC_URI as `SRC_URI = "${@bb.utils.contains('PACKAGECONFIG', 'internal', '<the URL to the internal repo>', '<the URL to the external repo>',
<Saur[m]>
d)}"`.
<dvorkindmitry>
thank you! interesting idea about SRC_URI:pn-myrecipe... may I see any ref to example?
<dvorkindmitry>
I need to have patches in SRC_URI too
florian_kc has quit [Ping timeout: 260 seconds]
<seninha>
Again, out of memory. I ran bitbake with BB_NUMBER_THREADS=1.
<seninha>
Out of memory: Killed process 7965 (Cooker) total-vm:4569316kB, anon-rss:4212168kB, file-rss:0kB, shmem-rss:28kB, UID:1000 pgtables:8760kB oom_score_adj:0
<seninha>
it always occurs while doing do_package_write_rpm
<seninha>
on linux-intel-iot-lts-5.15
<seninha>
However, this time bitbake keeps running, waiting for a pid that doesn't even exist.
goliath has quit [Quit: SIGSEGV]
jaskij[m] has joined #yocto
<jaskij[m]>
Quick question, does anyone know what happened to the reproducible LTO builds patch series? Was it merged in time for Kirkstone?