svn commit: r549644 - branches/2020Q3/misc/glow

Yuri Victorovich yuri at FreeBSD.org
Tue Sep 22 23:21:03 UTC 2020


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/}
 


More information about the svn-ports-all mailing list