svn commit: r549625 - head/misc/glow
Yuri Victorovich
yuri at FreeBSD.org
Tue Sep 22 19:23:25 UTC 2020
Author: yuri
Date: Tue Sep 22 19:23:24 2020
New Revision: 549625
URL: https://svnweb.freebsd.org/changeset/ports/549625
Log:
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
MFH: 2020Q3
Modified:
head/misc/glow/Makefile
Modified: head/misc/glow/Makefile
==============================================================================
--- head/misc/glow/Makefile Tue Sep 22 19:19:52 2020 (r549624)
+++ head/misc/glow/Makefile Tue Sep 22 19:23:24 2020 (r549625)
@@ -41,6 +41,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