Inconsistent libOpenCL.so.1 expectations
A message that is not in the archive (sent off-list or not yet received): [email protected]
Added cc for the interested parties.
2023. 03. 08. 18:19 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
Quoted 27 lines
Hi,
I observed the following inconsistencies:
1. opencl-icd-loader and ocd-icd both provide libOpenCL.so.1
2. opencl-icd-loader has PROVIDES="virtual/opencl-icd", ocl-icd hasn't
3. oe-core's piglit recipe explicitly depends on opencl-icd-loader (should be virtual/opencl-icd)
4. meta-intel recipes RDEPENDS on ocl-icd (should be virtual/opencl-icd)
Currently, I can't install piglit together with e.g. openvino-inference-engine because opencl-icd-loader and ocd-icl would conflict.
Best regards,
Zoltán Böszörményi-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#178183): https://lists.openembedded.org/g/openembedded-core/message/178183
Mute This Topic: https://lists.openembedded.org/mt/97477512/3617728
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 19 lines · Zoltan Boszormenyi
Added cc for the interested parties.
2023. 03. 08. 18:19 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
Quoted 15 lines
Hi,
I observed the following inconsistencies:
1. opencl-icd-loader and ocd-icd both provide libOpenCL.so.1
2. opencl-icd-loader has PROVIDES="virtual/opencl-icd", ocl-icd hasn't
3. oe-core's piglit recipe explicitly depends on opencl-icd-loader (should be
virtual/opencl-icd)4. meta-intel recipes RDEPENDS on ocl-icd (should be virtual/opencl-icd)
I think all should be changed to use virtual/opencl-icd and ocl-icd can do a PROVIDES for it. We will have to set a PREFERRED_PROVIDER for it as well then. Most distros seem to prefer ocl-icd as the default perhaps because it has been around longer?
Thanks,
Anuj
2023. 03. 09. 3:32 keltezéssel, Anuj Mittal írta:
Quoted 18 lines · Zoltan Boszormenyi
Quoted 17 lines
Added cc for the interested parties.
2023. 03. 08. 18:19 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
Quoted 13 lines
Hi,
I observed the following inconsistencies:
1. opencl-icd-loader and ocd-icd both provide libOpenCL.so.1
2. opencl-icd-loader has PROVIDES="virtual/opencl-icd", ocl-icd hasn't
3. oe-core's piglit recipe explicitly depends on opencl-icd-loader (should be
virtual/opencl-icd)
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines
4. meta-intel recipes RDEPENDS on ocl-icd (should be virtual/opencl-icd)
I think all should be changed to use virtual/opencl-icd and ocl-icd can do a PROVIDES for it. We will have to set a
PREFERRED_PROVIDERfor it as well then. Most distros seem to prefer ocl-icd as the default perhaps because it has been around longer?
I have some internal fixes for this problem that
I was able to use in Kirkstone.
However, to satisfy *RDEPENDS*, I also had to add
RPROVIDES:${PN} = "virtual/opencl-icd"
to both opencl-icd-loader and ocl-icd and usePREFERRED_PROVIDER and PREFERRED_RPROVIDER
to select on of them.
Would that still be needed for Mickledore?
Quoted 14 lines
Thanks,
Anuj
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#178208): https://lists.openembedded.org/g/openembedded-core/message/178208
Mute This Topic: https://lists.openembedded.org/mt/97477512/3617728
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-