Re: [OE-core] Easyish reproducibility issue for someone?

2022-06-22 Thread Markus Volk
Hi Jose, as far as I can see, it works like this. With an empty PACKAGECONFIG it is disabled: ~/build/poky/build-intel/tmp/work/corei7-64-poky-linux/llvm/14.0.4-r0/build$ grep -r LLVM_HAVE_OPT_VIEWER_MODULES . ./lib/cmake/llvm/LLVMConfig.cmake:set(LLVM_HAVE_OPT_VIEWER_MODULES 0)

Re: [OE-core] Easyish reproducibility issue for someone?

2022-06-22 Thread Jose Quaresma
Hi Markus, Markus Volk escreveu no dia quarta, 22/06/2022 à(s) 16:28: > I had not tried it, but in the meantime I did and it works with > > PACKAGECONFIG ?= "" > PACKAGECONFIG[optviewer] = "-DPY_PYGMENTS_FOUND=ON > -DPY_PYGMENTS_LEXERS_C_CPP_FOUND=ON >

Re: [OE-core] Easyish reproducibility issue for someone?

2022-06-22 Thread Markus Volk
I had not tried it, but in the meantime I did and it works with PACKAGECONFIG ?= "" PACKAGECONFIG[optviewer] = "-DPY_PYGMENTS_FOUND=ON -DPY_PYGMENTS_LEXERS_C_CPP_FOUND=ON -DPY_YAML_FOUND=ON,-DPY_PYGMENTS_FOUND=OFF,,python3-pygments python3-pyyaml" Markus Am 22.06.22 um 17:06 schrieb Stefan

Re: [OE-core] Easyish reproducibility issue for someone?

2022-06-22 Thread Stefan Herbrechtsmeier
Hi Markus, Am 22.06.2022 um 16:18 schrieb Markus Volk via lists.openembedded.org: Hi, couldn't we just do it like this? PACKAGECONFIG ?= "" PACKAGECONFIG[optviewer] = "-DLLVM_HAVE_OPT_VIEWER_MODULES=ON,-DLLVM_HAVE_OPT_VIEWER_MODULES=OFF,,python3-pygments python3-pyyaml" Depending on

Re: [OE-core] Easyish reproducibility issue for someone?

2022-06-22 Thread Markus Volk
Hi, couldn't we just do it like this? PACKAGECONFIG ?= "" PACKAGECONFIG[optviewer] = "-DLLVM_HAVE_OPT_VIEWER_MODULES=ON,-DLLVM_HAVE_OPT_VIEWER_MODULES=OFF,,python3-pygments python3-pyyaml" Depending on wether the PACKAGECONFIG option is taken it looks like this in CMakeCache.txt: //No

Re: [OE-core] Easyish reproducibility issue for someone?

2022-06-22 Thread Stefan Herbrechtsmeier
Hi Richard, Am 22.06.2022 um 15:10 schrieb Richard Purdie via lists.openembedded.org: There is a reproducibility issue which shouldn't be too hard to fix if someone had a few minutes to help out: https://bugzilla.yoctoproject.org/show_bug.cgi?id=14845 It is in llvm and is a cmake

[OE-core] Easyish reproducibility issue for someone?

2022-06-22 Thread Richard Purdie
There is a reproducibility issue which shouldn't be too hard to fix if someone had a few minutes to help out: https://bugzilla.yoctoproject.org/show_bug.cgi?id=14845 It is in llvm and is a cmake configuration issue. Rather than setting that option based on the presence of python modules (with