Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2018 17:26:50 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484464 - head/science/code_saturne
Message-ID:  <201811081726.wA8HQopO053219@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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		\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811081726.wA8HQopO053219>