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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user