Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions circle-mlir/infra/debian/onnx2circle/onnx2circle.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# {FILES_TO_INSTALL} {DEST_DIR}
# bin
bin/onnx2circle usr/share/circletools/bin/
37 changes: 37 additions & 0 deletions circle-mlir/infra/debian/onnx2circle/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/usr/bin/make -f

export NNCC_INSTALL_PREFIX=$(CURDIR)
export DEBIAN_PREFIX=$(CURDIR)/debian/tmp

%:
dh $@

override_dh_auto_clean:
# Nothing to clean
true

override_dh_auto_configure:
# No configure step needed
true

override_dh_auto_build:
# No build step needed
true

override_dh_auto_test:
# No test step needed
true

override_dh_auto_install:
# copy the bin file
mkdir -p ${DEBIAN_PREFIX}/bin
cp ${NNCC_INSTALL_PREFIX}/onnx2circle ${DEBIAN_PREFIX}/bin/

override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

override_dh_strip:
dh_strip --no-automatic-dbgsym

override_dh_builddeb:
dh_builddeb