Skip to content
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

[Filter] Remove gst dep from single-shot #3652

Merged
merged 4 commits into from
Feb 28, 2022

Conversation

gichan-jang
Copy link
Member

@gichan-jang gichan-jang commented Jan 28, 2022

  • Remove gst dependency from single-shot.
  • Separate single-shot package from nnstreamer(pipeline)
  • nnstreamer depends nnstreaner-single package.
  • Remove gst dependency from tensor filter subplugins.
    • tensorflow, tensorflow-lite, pytorch, nnfw,caffe2
  • Remove gst dependency from singleshot test

Self evaluation:

  1. Build test: [ *]Passed [ ]Failed [ ]Skipped
  2. Run test: [ *]Passed [ ]Failed [ ]Skipped

Signed-off-by: gichan gichan2.jang@samsung.com

@taos-ci
Copy link
Collaborator

taos-ci commented Jan 28, 2022

📝 TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #3652. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.

Copy link
Collaborator

@taos-ci taos-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gichan-jang, 💯 All CI checkers are successfully verified. Thanks.

packaging/nnstreamer.spec Outdated Show resolved Hide resolved
@myungjoo
Copy link
Member

myungjoo commented Feb 4, 2022

Dependency cut confirmed in Tizen:

[  271s] Processing files: nnstreamer-single-2.1.0-0.aarch64
[  271s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv
[  271s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K
[  271s] 
[  271s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.91wxpU
[  271s] + umask 022
[  271s] + cd /home/abuild/rpmbuild/BUILD
[  271s] + cd nnstreamer-2.1.0
[  271s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/nnstreamer-2.1.0-0.aarch64/usr/share/licenses/nnstreamer-single
[  271s] + export LC_ALL=C
[  271s] + LC_ALL=C
[  271s] + export LICENSEDIR
[  271s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/nnstreamer-2.1.0-0.aarch64/usr/share/licenses/nnstreamer-single
[  271s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/nnstreamer-2.1.0-0.aarch64/usr/share/licenses/nnstreamer-single
[  271s] + exit 0
[  271s] Provides: libnnstreamer-single.so()(64bit) nnstreamer-single = 2.1.0-0 nnstreamer-single(aarch-64) = 2.1.0-0
[  271s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
[  271s] Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libdlog.so.0()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libglib-2.0.so.0()(64bit) libgmodule-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit)

Copy link
Collaborator

@taos-ci taos-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gichan-jang, 💯 All CI checkers are successfully verified. Thanks.

@gichan-jang gichan-jang force-pushed the remove/GstDep/Single branch 3 times, most recently from 1ac4a97 to 607f3dc Compare February 18, 2022 02:42
Copy link
Collaborator

@taos-ci taos-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gichan-jang, 💯 All CI checkers are successfully verified. Thanks.

Copy link
Member

@myungjoo myungjoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

 - Remove gst dependency from single-shot.
 - Separate single-shot package from nnstreamer(pipeline)
 - nnstreamer depends nnstreaner-single package.

Signed-off-by: gichan <gichan2.jang@samsung.com>
Remove gst dependency from tensor filter subplugins.
 - tensorflow, tensorflow-lite, pytorch, nnfw,caffe2

TODO: Other subplugins later.

Signed-off-by: gichan <gichan2.jang@samsung.com>
Remove gst dependency from singleshot test

Signed-off-by: gichan <gichan2.jang@samsung.com>
 - Rename the files related to tensor common functions.
   renamed:    gst/nnstreamer/include/nnstreamer_plugin_api_single.h -> gst/nnstreamer/include/nnstreamer_plugin_api_util.h
   renamed:    gst/nnstreamer/tensor_common.c -> gst/nnstreamer/nnstreamer_plugin_api_impl.c
   renamed:    gst/nnstreamer/tensor_common_single.c -> gst/nnstreamer/nnstreamer_plugin_api_util_impl.c
 - Remove unnecessary pipeline utils from nnstreamer-internal header.

Signed-off-by: gichan <gichan2.jang@samsung.com>
Copy link
Collaborator

@taos-ci taos-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gichan-jang, 💯 All CI checkers are successfully verified. Thanks.

Copy link
Contributor

@niley7464 niley7464 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me :)

@myungjoo myungjoo merged commit 8c840bf into nnstreamer:main Feb 28, 2022
@gichan-jang gichan-jang deleted the remove/GstDep/Single branch March 22, 2022 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants