Date: Tue, 22 Sep 2020 19:23:24 +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: r549625 - head/misc/glow Message-ID: <202009221923.08MJNOCM040652@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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/}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009221923.08MJNOCM040652>