Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Dec 2017 11:16:53 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r457504 - head/devel/ispc
Message-ID:  <201712291116.vBTBGrah072418@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Dec 29 11:16:52 2017
New Revision: 457504
URL: https://svnweb.freebsd.org/changeset/ports/457504

Log:
  - Change the default LLVM version to 5.0, to remain in sync with Mesa
    (to keep the number of LLVM ports to build/install to just one)
  - Temporarily (I hope) pass -lexecinfo to work-around linking problem
    (see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223191#c3)
  
  Approved by:	maintainer (LLVM version bump)

Modified:
  head/devel/ispc/Makefile

Modified: head/devel/ispc/Makefile
==============================================================================
--- head/devel/ispc/Makefile	Fri Dec 29 09:28:51 2017	(r457503)
+++ head/devel/ispc/Makefile	Fri Dec 29 11:16:52 2017	(r457504)
@@ -23,7 +23,7 @@ USE_GITHUB=	yes
 
 ALL_TARGET=	default
 MAKE_ENV=	LLVM_HOME="${LOCALBASE}"
-CLANG_VERSION=	40
+CLANG_VERSION=	50
 SHEBANG_FILES=	*.py
 
 MAKE_ARGS=	LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${CLANG_VERSION} \
@@ -35,6 +35,10 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}| ; s|@$$(C|$$(C|' \
 		${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e '/alloca\.h/d' ${WRKSRC}/util.cpp
+.if ${CLANG_VERSION} >= 50
+	@${REINPLACE_CMD} -e '/^LLVM_LIBS=/s|$$| -lexecinfo|' \
+		${WRKSRC}/Makefile
+.endif
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ispc ${STAGEDIR}${PREFIX}/bin



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