1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/science/ncnn
Piotr Kubaj f87e4c2ecb 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)
2019-07-27 22:08:21 +00:00
..
distinfo
Makefile science/ncnn: fix build with GCC-based architectures 2019-07-27 22:08:21 +00:00
pkg-descr
pkg-plist