mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
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)
This commit is contained in:
parent
1bd2632a50
commit
f87e4c2ecb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=507477
@ -11,7 +11,7 @@ COMMENT= High-performance neural network inference framework
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
USES= cmake
|
||||
USES= cmake compiler:c11
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= Tencent
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user