ncnn is a high-performance neural network inference computing framework
optimized for mobile platforms. ncnn is deeply concerned about its deployment
and use on mobile phones from the beginning of its design. ncnn does not have
third party dependencies. It is cross-platform, and runs faster than all known
open-source frameworks on mobile phone CPUs. Developers can easily deploy deep
learning algorithm models to mobile platforms by using the efficient ncnn
implementation. They can create intelligent apps, and bring the artificial
intelligence to your fingertips. ncnn is currently being used in many Tencent
applications, such as QQ, Qzone, WeChat, Pitu and so on.
WWW: https://github.com/Tencent/ncnn
===> The following configuration options are available for ncnn-20200226:
VULKAN=on: Vulkan compute support
===> Use 'make config' to modify these settings
science/ncnn: fix build with GCC-based architectures
This adds USES=compiler:c11 because of:
/usr/local/poudriere/ports/default/science/ncnn/work/ncnn-20190611-40-gd3be711/src/layer/convolutiondepthwise.cpp:450:
error: expected '#pragma omp' clause before 'collapse'
It's detected that our base compiler supports OpenMP and new OpenMP features are
then used.
That's why we need new GCC. USES=compiler:openmp would work but it uses a base
compiler. Since this port builds also without OpenMP, no further modifications
are needed.
Approved by: mentors (implicit approval)