svn commit: r531723 - head/math/suitesparse

Piotr Kubaj pkubaj at FreeBSD.org
Tue Apr 14 20:07:41 UTC 2020


Author: pkubaj
Date: Tue Apr 14 20:07:40 2020
New Revision: 531723
URL: https://svnweb.freebsd.org/changeset/ports/531723

Log:
  math/suitesparse: fix build on powerpc64 elfv1
  
  After last update, compiler:openmpi comes before compiler:c++11-lang. This effectively overrides compiler:c++11-lang and causes base GCC to be used.
  compiler:openmpi could probably be dropped, now that all supported FreeBSD versions have compiler that supports OpenMP (either GCC or Clang), but this would mean that Clang architectures would switch from GCC to Clang for this port, so it would have to be separately tested by the maintainer.

Modified:
  head/math/suitesparse/Makefile

Modified: head/math/suitesparse/Makefile
==============================================================================
--- head/math/suitesparse/Makefile	Tue Apr 14 19:42:58 2020	(r531722)
+++ head/math/suitesparse/Makefile	Tue Apr 14 20:07:40 2020	(r531723)
@@ -63,6 +63,8 @@ TBB_MAKE_ENV=		TBB="-ltbb" SPQR_CONFIG="-DHAVE_TBB"
 # See PR 230888 : Missing 64 bit atomic functions for i386
 USES+=		compiler:gcc-c++11-lib
 LDFLAGS+=	-latomic
+.elif defined(PPC_ABI) && ${PPC_ABI} == ELFv1
+USE_GCC=	yes
 .else
 USES+=	compiler:${OPENMP}c++11-lib
 .endif


More information about the svn-ports-all mailing list