On 2/1/23 11:23, Yong, Jonathan wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know 
the content is safe.

  Can you not use include "./${LAYERSERIES_COMPAT_core}/layer.conf"? That way 
you can put version specific conf statements.

Sorry that I don't quite get your mean,  can you more specific?

Here is my test scenario:

meta-intel, oe-core, all included in bblayers.conf and all use master branch.


Regards

Changqing

Regards,
Jonathan Yong

-----Original Message-----
From: [email protected] <[email protected]> On 
Behalf Of Changqing Li
Sent: Wednesday, February 1, 2023 10:04
To: Saini, Naveen Kumar <[email protected]>; 
[email protected]
Subject: Re: [meta-intel] [PATCH] layer.conf: remove addpylib directive


On 12/21/22 15:19, Naveen Saini wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know 
the content is safe.

We'd like meta-intel master to be able to build with OE-Core kirkstone
as well. But Bitbake version in kirkstone does not recognize addplylib
directive leading to parsing errors.

Remove it for now until there is a better solution available.

Signed-off-by: Naveen Saini <[email protected]>
---
   conf/layer.conf | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/layer.conf b/conf/layer.conf index
5f81dcbc..b805de06 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -42,4 +42,4 @@ PREFERRED_PROVIDER_libva-utils ?= "libva-utils"
   PREFERRED_PROVIDER_libva-utils-native ?= "libva-utils-native"
   PREFERRED_PROVIDER_nativesdk-libva-utils ?= "nativesdk-libva-utils"

-addpylib ${LAYERDIR}/lib oeqa
+# addpylib ${LAYERDIR}/lib oeqa
Hi,

This fix will make oeqa failed for meta-intel,  see below error:

Exception: ImportError: Failed to import test module: dldt_inference_engine 
Traceback (most recent call last):
    File "/usr/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
      module = self._get_module_from_name(name)
    File "/usr/lib/python3.8/unittest/loader.py", line 377, in 
_get_module_from_name
      __import__(name)
    File
"/layers/meta-intel/lib/oeqa/runtime/cases/dldt_inference_engine.py",
line 4, in <module>
      from oeqa.runtime.miutils.targets.oeqatarget import OEQATarget
ModuleNotFoundError: No module named 'oeqa.runtime.miutils'


I think we have two options:

1. revert this change and only test meta-intel kirkstone to with OE-Core 
kirkstone?

2.  refact the testcases,  to make the it can run in current condition, but it 
means more work.


Any idea about this, thanks.


Regards

Changqing

--
2.25.1




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7806): 
https://lists.yoctoproject.org/g/meta-intel/message/7806
Mute This Topic: https://lists.yoctoproject.org/mt/95802377/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to