Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2020 20:07:40 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r531723 - head/math/suitesparse
Message-ID:  <202004142007.03EK7eFU064979@repo.freebsd.org>

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



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