svn commit: r484464 - head/science/code_saturne

Thierry Thomas thierry at FreeBSD.org
Thu Nov 8 17:26:51 UTC 2018


Author: thierry
Date: Thu Nov  8 17:26:50 2018
New Revision: 484464
URL: https://svnweb.freebsd.org/changeset/ports/484464

Log:
  On i386, OpenMP seems incompatible with libatomic.

Modified:
  head/science/code_saturne/Makefile

Modified: head/science/code_saturne/Makefile
==============================================================================
--- head/science/code_saturne/Makefile	Thu Nov  8 16:55:51 2018	(r484463)
+++ head/science/code_saturne/Makefile	Thu Nov  8 17:26:50 2018	(r484464)
@@ -59,6 +59,13 @@ TERM?=		vt100	# Default value needed for tput in jail 
 
 .include <bsd.port.options.mk>
 
+.if ${ARCH} == "i386"
+# /wrkdirs/usr/ports/science/code_saturne/work/code_saturne-5.3.0/src/apps/.libs
+# /libsaturne.so:
+# undefined reference to `__atomic_compare_exchange'
+CONFIGURE_ARGS+=	--disable-openmp
+.endif
+
 .if ${PORT_OPTIONS:MDOCS}
 USE_TEX=	tex:build
 BUILD_DEPENDS+=	fig2dev:print/transfig		\


More information about the svn-ports-all mailing list