Skip to content

Latest commit

 

History

History
106 lines (77 loc) · 2.23 KB

BUILD.md

File metadata and controls

106 lines (77 loc) · 2.23 KB

Build

Update function info

NNabla C Runtime is part of NNabla but source code of this is independent from NNabla code.

If you want to follow newest NNabla by hand, you can update @c functions.yaml with following command.

$ nnabla_cli function_info -o build-tools/code-generator/functions.yaml

Compile

Otherwise, you can compile NNabla C Runtime just typing @c make .

$ make

Make targets

Targets for NNabla C Runtime

Build

  • all

  • nnabla-c-runtime-build

  • nnabla-c-runtime-docker_image_build

  • nnabla-c-runtime-generate

  • bwd-nnabla-c-runtime-build

  • nnabla-c-runtime-compile

Clean

  • nnabla-c-runtime-clean
  • clean
  • clean-all

Auto format

  • nnabla-c-runtime-auto-format
  • nnabla-c-runtime-docker_image_auto_format
  • bwd-nnabla-c-runtime-auto-format

Documents

  • nnabla-c-runtime-doc

  • bwd-nnabla-c-runtime-doc

  • nnabla-c-runtime-docker_image_doc

  • nnabla-c-runtime-docker_image_test

Examples

  • nnabla-c-runtime-examples
  • bwd-nnabla-c-runtime-examples

Update function info (Needs nnabla directory)

  • nnabla-c-runtime-update-function-info
  • bwd-nnabla-c-runtime-update-function-info

Development in docker container (Needs nnabla directory)

  • bwd-nnabla-c-runtime-shell

Targets for NNabla

  • nnabla-auto-format

  • nnabla-clean

  • nnabla-clean-all

  • nnabla-cpplib

  • nnabla-doc

  • nnabla-install

  • nnabla-install-cpplib

  • nnabla-test

  • nnabla-test-cpplib

  • nnabla-test-local

  • nnabla-wheel

  • docker_image_auto_format

  • docker_image_build

  • docker_image_doc

  • bwd-nnabla-auto-format

  • bwd-nnabla-cpplib

  • bwd-nnabla-doc

  • bwd-nnabla-test

  • bwd-nnabla-test-cpplib

  • bwd-nnabla-wheel