Skip to content

Commit 80b9f73

Browse files
committed
Upload the debian related files for onnx2circle package
ONE-DCO-1.0-Signed-off-by: Seungho Henry Park <shs.park@samsung.com>
1 parent 2ae6f80 commit 80b9f73

10 files changed

Lines changed: 77 additions & 0 deletions

File tree

infra/debian/onnx2circle/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
onnx2circle (0.2.0~202505190000~jammy) jammy; urgency=medium
2+
3+
* First onnx2circle Debian package release for developers.
4+
5+
-- On-device AI developers <nnfw@samsung.com> Mon, 26 May 2025 00:00:00 +0000

infra/debian/onnx2circle/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
12

infra/debian/onnx2circle/control

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Source: onnx2circle
2+
Section: devel
3+
Priority: optional
4+
Build-Depends: debhelper (>= 12), cmake
5+
Maintainer: Neural Network Acceleration Solution Developers <nnfw@samsung.com>
6+
Standards-Version: 4.5.0
7+
Homepage: https://github.com/Samsung/ONE
8+
9+
Package: onnx2circle
10+
Architecture: amd64
11+
Depends: ${shlibs:Depends}, ${misc:Depends}
12+
Description: ONNX to Circle model converter
13+
Converts ONNX models into Samsung's Circle format.

infra/debian/onnx2circle/copyright

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: onnx2circle
3+
Source: https://github.com/Samsung/ONE
4+
Comment: These binaries are built from the ONE project.
5+
6+
Files: *
7+
Copyright: 2025 Samsung Electronics., Ltd.
8+
License: Apache-2.0
9+
This package is licensed under the Apache License, Version 2.0.
10+
.
11+
On Debian systems, the full text of the Apache License Version 2.0
12+
can be found in:
13+
/usr/share/common-licenses/Apache-2.0
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# {FILES_TO_INSTALL} {DEST_DIR}
2+
# bin
3+
bin/onnx2circle usr/share/circletools/bin/
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# bin
2+
usr/share/circletools/bin/onnx2circle usr/bin/onnx2circle
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
onnx2circle: binary-without-manpage

infra/debian/onnx2circle/rules

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/usr/bin/make -f
2+
3+
export NNCC_INSTALL_PREFIX=$(CURDIR)
4+
export DEBIAN_PREFIX=$(CURDIR)/debian/tmp
5+
6+
%:
7+
dh $@
8+
9+
override_dh_auto_clean:
10+
# Nothing to clean
11+
true
12+
13+
override_dh_auto_configure:
14+
# No configure step needed
15+
true
16+
17+
override_dh_auto_build:
18+
# No build step needed
19+
true
20+
21+
override_dh_auto_test:
22+
# No test step needed
23+
true
24+
25+
override_dh_auto_install:
26+
# copy the bin file
27+
mkdir -p ${DEBIAN_PREFIX}/bin
28+
cp ${NNCC_INSTALL_PREFIX}/circle-interpreter ${DEBIAN_PREFIX}/bin/
29+
30+
override_dh_shlibdeps:
31+
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
32+
33+
override_dh_strip:
34+
dh_strip --no-automatic-dbgsym
35+
36+
override_dh_builddeb:
37+
dh_builddeb
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (quilt)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
onnx2circle source: source-is-missing onnx2circle

0 commit comments

Comments
 (0)