Skip to content

Commit 2c843f3

Browse files
authored
[infra] debian files for circle-interpreter (#15191)
This will introduce initial debian files for circle-interpreter. ONE-DCO-1.0-Signed-off-by: SaeHie Park <saehie.park@gmail.com>
1 parent c51e1c6 commit 2c843f3

File tree

7 files changed

+75
-0
lines changed

7 files changed

+75
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
circle-interpreter (1.30.0) jammy; urgency=low
2+
3+
* First circle-interpreter Debian package release for developers.
4+
5+
-- Saehie Park <saehie.park@gmail.com> Mon, 23 Apr 2025 10:10:00 +0900
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# {FILES_TO_INSTALL} {DEST_DIR}
2+
# bin
3+
usr/bin/circle-interpreter usr/share/cirint/bin/
4+
# lib
5+
usr/lib/libloco.so usr/share/cirint/bin/
6+
usr/lib/libluci_env.so usr/share/cirint/bin/
7+
usr/lib/libluci_import.so usr/share/cirint/bin/
8+
usr/lib/libluci_interpreter.so usr/share/cirint/bin/
9+
usr/lib/libluci_lang.so usr/share/cirint/bin/
10+
usr/lib/libluci_logex.so usr/share/cirint/bin/
11+
usr/lib/libluci_log.so usr/share/cirint/bin/
12+
usr/lib/libluci_plan.so usr/share/cirint/bin/
13+
usr/lib/libluci_profile.so usr/share/cirint/bin/
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# bin
2+
usr/share/cirint/bin/circle-interpreter usr/bin/circle-interpreter
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Source: circle-interpreter
2+
Section: devel
3+
Priority: optional
4+
Build-Depends: devscripts, debhelper, cmake
5+
Maintainer: Neural Network Acceleration Solution Developers <nnfw@samsung.com>
6+
7+
Package: circle-interpreter
8+
Homepage: https://github.com/Samsung/ONE
9+
Standards-Version: 3.9.8
10+
Architecture: amd64
11+
Description: Interpreter for circle model
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Files: *
2+
License: Proprietary
3+
Copyright (c) <2025> <Samsung Electronics Co.,Ltd.>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#!/usr/bin/make -f
2+
3+
export NNCC_WORKSPACE=build/debian
4+
export NNCC_INSTALL_PREFIX=$(CURDIR)/debian/tmp/usr/
5+
6+
%:
7+
dh $@
8+
9+
override_dh_auto_clean:
10+
# skip clean
11+
12+
override_dh_auto_configure:
13+
CIRCLEINT_ITEMS="angkor;cwrap;pepper-str;pepper-strcast;pepper-csv2vec;pp"
14+
CIRCLEINT_ITEMS="${CIRCLEINT_ITEMS};oops;loco;logo-core;logo;locop"
15+
CIRCLEINT_ITEMS="${CIRCLEINT_ITEMS};hermes;hermes-std;safemain;mio-circle08"
16+
CIRCLEINT_ITEMS="${CIRCLEINT_ITEMS};luci-compute;luci;luci-interpreter"
17+
CIRCLEINT_ITEMS="${CIRCLEINT_ITEMS};foder;arser;vconone;circle-interpreter"
18+
19+
./nncc configure \
20+
-DENABLE_STRICT_BUILD=ON \
21+
-DENABLE_TEST=OFF \
22+
-DCMAKE_BUILD_TYPE=Release \
23+
-DEXTERNALS_BUILD_THREADS=4 \
24+
-DCMAKE_INSTALL_PREFIX=${NNCC_INSTALL_PREFIX} \
25+
-DBUILD_WHITELIST="${CIRCLEINT_ITEMS}"
26+
27+
override_dh_auto_build:
28+
./nncc build -j4
29+
30+
override_dh_auto_test:
31+
# skip test
32+
33+
override_dh_auto_install:
34+
cmake --build ${NNCC_WORKSPACE} -- install
35+
36+
override_dh_shlibdeps:
37+
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
38+
39+
override_dh_builddeb:
40+
dh_builddeb -- -Zgzip

0 commit comments

Comments
 (0)