Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2020 21:14:01 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r538345 - head/misc/ngraph
Message-ID:  <202006092114.059LE1cK076370@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Jun  9 21:14:01 2020
New Revision: 538345
URL: https://svnweb.freebsd.org/changeset/ports/538345

Log:
  misc/ngraph: Unbreak on systems incompatible with the system where the package was built
  
  -march=native caused SEGVs on incompatible systems

Modified:
  head/misc/ngraph/Makefile
  head/misc/ngraph/distinfo
  head/misc/ngraph/pkg-plist

Modified: head/misc/ngraph/Makefile
==============================================================================
--- head/misc/ngraph/Makefile	Tue Jun  9 21:09:17 2020	(r538344)
+++ head/misc/ngraph/Makefile	Tue Jun  9 21:14:01 2020	(r538345)
@@ -2,8 +2,9 @@
 
 PORTNAME=	ngraph
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.29.0-rc.0-270
-DISTVERSIONSUFFIX=	-g92bd148c0
+DISTVERSION=	0.29.0-rc.0-345
+DISTVERSIONSUFFIX=	-g58b649aa6
+PORTREVISION=	1
 CATEGORIES=	misc # machine-learning
 PKGNAMESUFFIX=	-machine-learning-library
 
@@ -35,6 +36,11 @@ RUN_DEPENDS+=	llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_D
 CPP=		clang-cpp${LLVM_DEFAULT}
 CC=		clang${LLVM_DEFAULT}
 CXX=		clang++${LLVM_DEFAULT}
+
+OPTIONS_DEFINE=		NATIVE
+
+NATIVE_DESC=		Build with native optimizations (-march=native)
+NATIVE_CMAKE_BOOL=	NGRAPH_NATIVE_ARCH_ENABLE
 
 post-install:
 	@cd ${STAGEDIR}${PREFIX} && \

Modified: head/misc/ngraph/distinfo
==============================================================================
--- head/misc/ngraph/distinfo	Tue Jun  9 21:09:17 2020	(r538344)
+++ head/misc/ngraph/distinfo	Tue Jun  9 21:14:01 2020	(r538345)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1587086490
-SHA256 (NervanaSystems-ngraph-v0.29.0-rc.0-270-g92bd148c0_GH0.tar.gz) = 1bcb2e8340b2383919a7760d03da71b4b55747e5e589ca1a00b6793f9e88fd96
-SIZE (NervanaSystems-ngraph-v0.29.0-rc.0-270-g92bd148c0_GH0.tar.gz) = 11295753
+TIMESTAMP = 1588884977
+SHA256 (NervanaSystems-ngraph-v0.29.0-rc.0-345-g58b649aa6_GH0.tar.gz) = e930980af23d7e2b82d03d6beb6dca9b7cd5f5af7ffb29219605a4076ddeb658
+SIZE (NervanaSystems-ngraph-v0.29.0-rc.0-345-g58b649aa6_GH0.tar.gz) = 11317314

Modified: head/misc/ngraph/pkg-plist
==============================================================================
--- head/misc/ngraph/pkg-plist	Tue Jun  9 21:09:17 2020	(r538344)
+++ head/misc/ngraph/pkg-plist	Tue Jun  9 21:14:01 2020	(r538345)
@@ -42,7 +42,6 @@ include/ngraph/distributed/null.hpp
 include/ngraph/enum_names.hpp
 include/ngraph/env_util.hpp
 include/ngraph/evaluator.hpp
-include/ngraph/evaluator/tensor.hpp
 include/ngraph/except.hpp
 include/ngraph/factory.hpp
 include/ngraph/file_util.hpp
@@ -379,6 +378,7 @@ include/ngraph/op/util/attr_types.hpp
 include/ngraph/op/util/binary_elementwise_arithmetic.hpp
 include/ngraph/op/util/binary_elementwise_comparison.hpp
 include/ngraph/op/util/binary_elementwise_logical.hpp
+include/ngraph/op/util/broadcast_base.hpp
 include/ngraph/op/util/fused_op.hpp
 include/ngraph/op/util/index_reduction.hpp
 include/ngraph/op/util/logical_reduction.hpp



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