svn commit: r500264 - head/graphics/colmap

Jan Beich jbeich at FreeBSD.org
Sat Apr 27 19:09:17 UTC 2019


Author: jbeich
Date: Sat Apr 27 19:09:15 2019
New Revision: 500264
URL: https://svnweb.freebsd.org/changeset/ports/500264

Log:
  graphics/colmap: unbreak OPENMP on -CURRENT i386 after r499662
  
  ld: error: undefined symbol: __atomic_load
  >>> referenced by PoissonRecon.cpp
  >>>               PoissonRecon.cpp.o:(.omp_outlined.) in archive lib/PoissonRecon/libpoisson_recon.a
  
  ld: error: undefined symbol: __atomic_compare_exchange
  >>> referenced by PoissonRecon.cpp
  >>>               PoissonRecon.cpp.o:(.omp_outlined.) in archive lib/PoissonRecon/libpoisson_recon.a
  
  Reported by:	pkg-fallout

Modified:
  head/graphics/colmap/Makefile   (contents, props changed)

Modified: head/graphics/colmap/Makefile
==============================================================================
--- head/graphics/colmap/Makefile	Sat Apr 27 19:09:01 2019	(r500263)
+++ head/graphics/colmap/Makefile	Sat Apr 27 19:09:15 2019	(r500264)
@@ -49,7 +49,8 @@ DOCS_PORTDOCS=		*
 
 OPENMP_USES=		compiler:openmp
 OPENMP_CMAKE_BOOL=	OPENMP_ENABLED
-.if !exists(/usr/include/omp.h)
+.if ${MACHINE_ARCH} == i386 || !exists(/usr/include/omp.h)
+# XXX base/230888 via #pragma omp atomic
 # XXX ports/199603 + ports/210337
 OPENMP_VARS=		OPENMP=gcc-
 .endif


More information about the svn-ports-head mailing list