Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2020 23:21:02 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r549644 - branches/2020Q3/misc/glow
Message-ID:  <202009222321.08MNL2XD085240@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Sep 22 23:21:02 2020
New Revision: 549644
URL: https://svnweb.freebsd.org/changeset/ports/549644

Log:
  MFH: r549625
  
  misc/glow: Fix build on 13
  
  Add the workaround for a bug in Glow that it uses the default C++ compiler when the supplied LLVM version is different.
  
  Reported by:	fallout
  
  Approved by:	ports-secteam (fluffy)

Modified:
  branches/2020Q3/misc/glow/Makefile
Directory Properties:
  branches/2020Q3/   (props changed)

Modified: branches/2020Q3/misc/glow/Makefile
==============================================================================
--- branches/2020Q3/misc/glow/Makefile	Tue Sep 22 23:20:03 2020	(r549643)
+++ branches/2020Q3/misc/glow/Makefile	Tue Sep 22 23:21:02 2020	(r549644)
@@ -34,6 +34,7 @@ CMAKE_ARGS=	-DFREEBSD_LLVM_VERSION:STRING=${LLVM_VER} 
 CMAKE_OFF=	GLOW_BUILD_EXAMPLES GLOW_BUILD_TESTS
 
 BINARY_ALIAS=	python=${PYTHON_CMD}
+BINARY_ALIAS+=	c++=${LOCALBASE}/bin/clang++${LLVM_VER:S/.//} # workaround for the llvm version mixup: https://github.com/pytorch/glow/issues/4910
 
 LLVM_VER=	${LLVM_DEFAULT:C/(.)(.)/\1.\2/}
 



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