Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2020 14:18:58 +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: r523016 - head/math/gau2grid
Message-ID:  <202001141418.00EEIwxI035438@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Jan 14 14:18:58 2020
New Revision: 523016
URL: https://svnweb.freebsd.org/changeset/ports/523016

Log:
  math/gau2grid: remove -march=native, unbreak on i386 and powerpc64
  
  This port added -march=native, which was against ports tree compliance, broke run-time on some amd64 and broke building on non-x86.
  
  I have verified that it builds correctly on i386 and powerpc64 (provided -march=native is removed). It probably also builds on other architectures.
  
  Reviewed by:	linimon
  MFH:		2020Q1 (fix build blanket)

Modified:
  head/math/gau2grid/Makefile

Modified: head/math/gau2grid/Makefile
==============================================================================
--- head/math/gau2grid/Makefile	Tue Jan 14 13:57:11 2020	(r523015)
+++ head/math/gau2grid/Makefile	Tue Jan 14 14:18:58 2020	(r523016)
@@ -3,6 +3,7 @@
 PORTNAME=	gau2grid
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.0.4
+PORTREVISION=	1
 CATEGORIES=	math python
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -11,7 +12,7 @@ COMMENT=	Fast computation of a gaussian and its deriva
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-ONLY_FOR_ARCHS=	amd64
+ONLY_FOR_ARCHS=	amd64 i386 powerpc64
 ONLY_FOR_ARCHS_REASON=	BUG: ValueError: descr is not a valid dtype descriptor: '<f16' (see https://github.com/dgasmith/gau2grid/issues/25)
 
 BUILD_DEPENDS=	${PYNUMPY}
@@ -20,5 +21,7 @@ USES=		cmake compiler:c11 python:build # C code build 
 USE_GITHUB=	yes
 GH_ACCOUNT=	dgasmith
 USE_LDCONFIG=	yes
+
+CMAKE_OFF=	ENABLE_XHOST
 
 .include <bsd.port.mk>



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