math/ceres-solver: don't force GCC for OpenMP on -CURRENT

Limited to amd64 and i386. LLVM openmp doesn't support other
architectures on FreeBSD (unlike Linux) but it's only important where
Clang is default e.g., aarch64, armv6, armv7.
This commit is contained in:
Jan Beich 2019-04-22 17:38:04 +00:00
parent 6df9e8ff12
commit 9ccb836090
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=499662
2 changed files with 4 additions and 0 deletions

View File

@ -49,8 +49,10 @@ DOCS_PORTDOCS= *
OPENMP_USES= compiler:openmp
OPENMP_CMAKE_BOOL= OPENMP_ENABLED
.if !exists(/usr/include/omp.h)
# XXX ports/199603 + ports/210337
OPENMP_VARS= OPENMP=gcc-
.endif
SIMD_CMAKE_BOOL= SIMD_ENABLED

View File

@ -52,8 +52,10 @@ GFLAGS_CMAKE_BOOL= GFLAGS
OPENMP_USES= compiler:openmp
OPENMP_CMAKE_BOOL= OPENMP
.if !exists(/usr/include/omp.h)
# XXX ports/199603 + ports/210337
OPENMP_VARS= OPENMP=gcc-
.endif
SCHUR_DESC= Fixed-size schur specializations
SCHUR_CMAKE_BOOL= SCHUR_SPECIALIZATIONS