Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2020 01:34:34 +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: r523268 - head/misc/glow
Message-ID:  <202001170134.00H1YY2g094321@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Fri Jan 17 01:34:34 2020
New Revision: 523268
URL: https://svnweb.freebsd.org/changeset/ports/523268

Log:
  misc/glow: Mark BROKEN for i386; Use LLVM_DEFAULT
  
  llvm-8.0 isn't necessary, and it causes conflicts with llvm-9.0
  
  Reported by:	fallout

Modified:
  head/misc/glow/Makefile

Modified: head/misc/glow/Makefile
==============================================================================
--- head/misc/glow/Makefile	Fri Jan 17 00:51:17 2020	(r523267)
+++ head/misc/glow/Makefile	Fri Jan 17 01:34:34 2020	(r523268)
@@ -2,6 +2,7 @@
 
 PORTNAME=	glow
 DISTVERSION=	g20200115
+PORTREVISION=	1
 CATEGORIES=	misc # machine-learning
 PKGNAMESUFFIX=	-nn-compiler
 
@@ -11,6 +12,8 @@ COMMENT=	Machine learning compiler and execution engin
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BROKEN_i386=	non-constant-expression cannot be narrowed from type 'dim_t', see https://github.com/pytorch/glow/issues/4024
+
 LIB_DEPENDS=	libLLVM-${LLVM_VER:R}.so:devel/llvm${LLVM_VER:S/.//} \
 		libglog.so:devel/glog \
 		libprotobuf.so:devel/protobuf
@@ -32,7 +35,7 @@ CMAKE_OFF=	GLOW_BUILD_EXAMPLES GLOW_BUILD_TESTS
 
 BINARY_ALIAS=	python=${PYTHON_CMD}
 
-LLVM_VER=	8.0
+LLVM_VER=	${LLVM_DEFAULT:C/(.)(.)/\1.\2/}
 
 do-install: # https://github.com/pytorch/glow/issues/3461
 		cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX}



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