-
Notifications
You must be signed in to change notification settings - Fork 292
camx: revision update for Hamoa, Lemans, Talos,Kodiak #2494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
1e75c52
e3e9ae8
8993407
d949840
a8bbce4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| PLATFORM = "hamoa" | ||
| PBT_BUILD_DATE = "260616" | ||
|
|
||
| require common.inc | ||
|
|
||
| SRC_URI[camxlib.sha256sum] = "fa862d980478564abb2c8efff81e2783cd1269cc4d38cb215f9a1e2d02e23269" | ||
| SRC_URI[camx.sha256sum] = "1b59111f0ef43bb96d2fed3e189108d8b6027672268bd03747121d7d6bc0385e" | ||
| SRC_URI[chicdk.sha256sum] = "c20d1b44137eb3cf69cda234ece46be1b0b3bc41acf3940eb4000ec49c0efce5" | ||
| SRC_URI[camxcommon.sha256sum] = "c1c54b93e1844dc27e5467fef941fa7ba8d41b53417d15526a27c60840630d58" |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| PLATFORM = "lemans" | ||
| PBT_BUILD_DATE = "260616" | ||
|
|
||
| require common.inc | ||
|
|
||
| SRC_URI[camxlib.sha256sum] = "97d494798573681192147acdd87411dbe0413157d820ddaec81d51a9a2c6dadf" | ||
| SRC_URI[camx.sha256sum] = "b84903c48932462e4373934c7c10d311b8ad80f5ff822375de3008a3553245fd" | ||
| SRC_URI[chicdk.sha256sum] = "e563a96bc45f4685d0b7514400a1a81d07cb1b48c3dc2bef19438a48f2d09986" | ||
| SRC_URI[camxcommon.sha256sum] = "91d79a5530f926571e6921bd38b8eb22d7b223867cd2d375d28441e2282c88c1" | ||
|
|
||
| DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'opencl', 'qcom-adreno virtual/libopencl1', '', d)}" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. similar we have Opencl dependency for SWMCTF feature on lemans.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is SWMCTF?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is software solution for Temporal Noise Reduction.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok. Anyway, make sure that the package actually builds if opencl and opengl are disabled. |
||
|
|
||
| do_install:append() { | ||
| # Copy json only when /etc folder exists in ${S} | ||
| if [ -d "${S}/etc" ]; then | ||
| install -d ${D}${sysconfdir}/camera/test/NHX/ | ||
| cp -r ${S}/etc/camera/test/NHX/*.json ${D}${sysconfdir}/camera/test/NHX/ | ||
| fi | ||
| # copy Deep Learning based binary | ||
| cp -r ${S}/usr/share/camx ${D}${datadir} | ||
| # copy skel file | ||
| cp -r ${S}/usr/share/qcom ${D}${datadir} | ||
|
gkhose-qipl marked this conversation as resolved.
|
||
| } | ||
|
|
||
| RPROVIDES:${PN} = "camxlib-monaco" | ||
| PACKAGE_BEFORE_PN += "camx-nhx ${PN}-skel" | ||
| RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'opencl', 'virtual-opencl-icd', '', d)}" | ||
|
|
||
| FILES:camx-nhx = "\ | ||
| ${bindir}/nhx.sh \ | ||
| ${sysconfdir}/camera/test/NHX/ \ | ||
| " | ||
| FILES:${PN}-skel = "\ | ||
| ${datadir}/camx \ | ||
|
gkhose-qipl marked this conversation as resolved.
|
||
| ${datadir}/qcom \ | ||
| " | ||
| # OpenCL-related camx files | ||
| CAMX_OPENCL_FILES = " \ | ||
| ${libdir}/camx/${PLATFORM}/*.cl \ | ||
| ${libdir}/camx/${PLATFORM}/libmctf_cl_program.bin \ | ||
| " | ||
| FILES:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'opencl', '${CAMX_OPENCL_FILES}', '', d)}" | ||
|
|
||
| # Algo librarires are pre-compiled, pre-stripped. | ||
| # Skipping QA checks: 'already-stripped', 'arch', 'libdir' because: | ||
| # - Library files are Pre-stripped (already-stripped) | ||
| # - skel binaries/library are not AArch64 (arch mismatch) (arch) | ||
| # - Files are installed under /usr/share (non-libdir path) (libdir) | ||
| INSANE_SKIP:${PN}-skel += " arch libdir already-stripped" | ||
|
|
||
| # Preserve ${PN}-skel naming to avoid ambiguity in package identification. | ||
| DEBIAN_NOAUTONAME:${PN}-skel = "1" | ||
|
gkhose-qipl marked this conversation as resolved.
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| PLATFORM = "talos" | ||
| PBT_BUILD_DATE = "260616" | ||
|
|
||
| require common.inc | ||
|
|
||
| SRC_URI[camxlib.sha256sum] = "3bba0daa67089e529b807961101e920d12109dfbc585901f8db979716094ec5a" | ||
| SRC_URI[camx.sha256sum] = "bab2573930951360e58eca159eec8c5777043eb6c1c57725dffae499a75475df" | ||
| SRC_URI[chicdk.sha256sum] = "9b08fe81bc9177826fe5d9aff185de16bdb216cab20304bfea60a8c8a5c2eb48" | ||
| SRC_URI[camxcommon.sha256sum] = "9e8a7b595242916962bb018f2dffc3136c399f1bf80b0aecd91f4ac97f6293f9" | ||
|
|
||
| DEPENDS += "virtual/egl virtual/libgles2 ${@bb.utils.contains('DISTRO_FEATURES', 'opencl', 'qcom-adreno virtual/libopencl1', '', d)}" | ||
|
gkhose-qipl marked this conversation as resolved.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do you need qcom-adreno as a build-time dependency?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. qcom-adreno is needed here because the Talos EIS/LDC build compiles OpenCL-based code and currently fails without the Qualcomm OpenCL extension headers. ERROR: camxlib-talos-1.0.27-r0 do_package_qa: QA Issue: /usr/lib/camx/talos/camera/components/libiwarp.so.0.1.0 contained in package camxlib-talos requires libOpenCL.so.1(OPENCL_1.1)(64bit), but no providers found in RDEPENDS:camxlib-talos? [file-rdeps]
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What exactly are you building here? Move build dependencies to the place where the build happens.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. are you looking to add condition check for virtual/egl virtual/libgles2 package just like virtual/libopencl1 DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virtual/egl virtual/libgles2', '', d)}
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. Also please, check it without those distro features, as I wrote before. |
||
Uh oh!
There was an error while loading. Please reload this page.