neo-ai-dlr: fix dlr runtime problem
PATCH 1/1 neo-ai-dlr: fix dlr runtime problem
* move dlr shared library to python sitepackages dlr folder
Signed-off-by Jianzhong Xu <[email protected]>
--- recipes-support/neo-ai/neo-ai-dlr_git.bb | 1 + 1 file changed, 1 insertion(+)
recipes-support/neo-ai/neo-ai-dlr_git.bb +1 -0
@@ -57,6 +57,7 @@ do_install() { # setup.py install some libs under datadir, but we don't need them, so remove. rm ${D}${datadir}/dlr/*.so + mv ${D}${libdir}/libdlr.so ${D}${PYTHON_SITEPACKAGES_DIR}/dlr # Now install python test scripts install -d ${D}${datadir}/dlr/tests
Signature · 1 line
2.17.1
Denys,
Any issue with this patch?
Thanks,
Jianzhong
-----Original Message-----
From: Xu, Jianzhong
Sent: Wednesday, November 20, 2019 11:54 AM
To: [email protected]
Cc: Xu, Jianzhong
Subject: [meta-processor-sdk][PATCH] neo-ai-dlr: fix dlr runtime problem
* move dlr shared library to python sitepackages dlr folder
Signed-off-by Jianzhong Xu <[email protected]>
--- recipes-support/neo-ai/neo-ai-dlr_git.bb | 1 + 1 file changed, 1 insertion(+)
recipes-support/neo-ai/neo-ai-dlr_git.bb +1 -0
@@ -57,6 +57,7 @@ do_install() { # setup.py install some libs under datadir, but we don't need them, so remove. rm ${D}${datadir}/dlr/*.so + mv ${D}${libdir}/libdlr.so ${D}${PYTHON_SITEPACKAGES_DIR}/dlr # Now install python test scripts install -d ${D}${datadir}/dlr/tests
Signature · 1 line
2.17.1
Quoted 12 lines · Jianzhong Xu
* move dlr shared library to python sitepackages dlr folder
Signed-off-by Jianzhong Xu <[email protected]>--- recipes-support/neo-ai/neo-ai-dlr_git.bb | 1 + 1 file changed, 1 insertion(+)recipes-support/neo-ai/neo-ai-dlr_git.bb +0
-0
recipes-support/neo-ai/neo-ai-dlr_git.bb do_install() { · line 58
Quoted 2 lines
recipes-support/neo-ai/neo-ai-dlr_git.bb +0
-0@@ -57,6 +57,7 @@ do_install() { # setup.py install some libs under datadir, but we don't need them, so remove.
Can you also update the above comment as it is no longer relevant?
Quoted 5 lines
recipes-support/neo-ai/neo-ai-dlr_git.bb +1
-0rm ${D}${datadir}/dlr/*.so + mv ${D}${libdir}/libdlr.so ${D}${PYTHON_SITEPACKAGES_DIR}/dlr # Now install python test scripts install -d ${D}${datadir}/dlr/tests