Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
armnn-android/ | 03-May-2024 | - | 280 | 236 | ||
x86_64/ | 03-May-2024 | - | 291 | 168 | ||
README.md | D | 03-May-2024 | 1.2 KiB | 35 | 21 |
README.md
1# ARMNN Docker Files 2 3 4## [Android NDK to build ArmNN](https://github.com/ARM-software/armnn/blob/branches/armnn_20_02/BuildGuideAndroidNDK.md):</br> 5 6<b>armnn-android</b> folder has the docker file to build a Android NDK container to build ARMNN. 7 8## [ArmNN on x86_64 for arm64](https://github.com/ARM-software/armnn/blob/branches/armnn_20_02/BuildGuideCrossCompilation.md) 9 10<b>x86_64</b> folder has the docker file to build ArmNN under an x86_64 system to target an Arm64 system. 11 12# To build a docker images 13```bash 14docker build --rm --build-arg proxy=$http_proxy --rm --tag armnn:v1 . 15``` 16 17# To Run docker images 18```bash 19docker run -v /etc/localtime:/etc/localtime:ro --rm -it -e http_proxy -e https_proxy -e ftp_proxy -v `pwd`:/work armnn:v1 bash 20``` 21 22# To run a docker with X11 support for GUI Application 23```bash 24docker run -v /etc/localtime:/etc/localtime:ro --rm -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -e http_proxy -e https_proxy -e ftp_proxy -v `pwd`:/work armnn:v1 bash 25``` 26 27# To mount the camera and access camera from docker env 28```bash 29docker run -v /etc/localtime:/etc/localtime:ro --rm -it --device /dev/video0 -e http_proxy -e https_proxy -e ftp_proxy -v `pwd`:/work armnn:v1 bash 30``` 31 32 33 34 35