From owner-svn-ports-all@freebsd.org Tue Aug 4 03:52:53 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 096249B2F91; Tue, 4 Aug 2015 03:52:53 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E7C4016DC; Tue, 4 Aug 2015 03:52:52 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t743qqXa078985; Tue, 4 Aug 2015 03:52:52 GMT (envelope-from brooks@FreeBSD.org) Received: (from brooks@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t743qq1r078983; Tue, 4 Aug 2015 03:52:52 GMT (envelope-from brooks@FreeBSD.org) Message-Id: <201508040352.t743qq1r078983@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brooks set sender to brooks@FreeBSD.org using -f From: Brooks Davis Date: Tue, 4 Aug 2015 03:52:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393509 - in head/devel: llvm-devel llvm37 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2015 03:52:53 -0000 Author: brooks Date: Tue Aug 4 03:52:51 2015 New Revision: 393509 URL: https://svnweb.freebsd.org/changeset/ports/393509 Log: Disable LLDB when the chosen compiler is gcc. On platforms where the system compiler isn't clang (including 9.x), USES=compiler:c++11-lib uses gcc48 as the compiler. Unfortunatly, gcc48 does not provide a sufficently complient c++11 environment to build LLDB when compiled on 9.x and possiably on other platforms. Modified: head/devel/llvm-devel/Makefile head/devel/llvm37/Makefile Modified: head/devel/llvm-devel/Makefile ============================================================================== --- head/devel/llvm-devel/Makefile Tue Aug 4 02:54:27 2015 (r393508) +++ head/devel/llvm-devel/Makefile Tue Aug 4 03:52:51 2015 (r393509) @@ -57,7 +57,7 @@ LIT_DESC= Install lit and FileCheck tes LLD_DESC= Install lld, the LLVM linker LLD_GH_PROJECT= lld:lld LLD_GH_TAGNAME= ${LLD_COMMIT}:lld -LLDB_DESC= Install lldb, the LLVM debugger +LLDB_DESC= Install lldb, the LLVM debugger (ignored on 9.x) LLDB_BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 LLDB_GH_PROJECT= lldb:lldb LLDB_GH_TAGNAME= ${LLDB_COMMIT}:lldb @@ -160,8 +160,9 @@ NOT_FOR_ARCH= ia64 .include -.if ${OSVERSION} < 900000 -BROKEN= GCC failing on 8.x +.if ${COMPILER_TYPE} != clang +# Evil hack around gcc48 not providing a usable c++11 environment on 9.x +PLIST_SUB:= ${PLIST_SUB:NLLDB=*} LLDB="@comment " .endif post-extract-CLANG-on: @@ -171,7 +172,9 @@ post-extract-LLD-on: ${MV} ${WRKSRC_lld} ${PATCH_WRKSRC}/tools/lld post-extract-LLDB-on: +.if ${COMPILER_TYPE} == clang ${MV} ${WRKSRC_lldb} ${PATCH_WRKSRC}/tools/lldb +.endif post-extract-OPENMP-on: ${MV} ${WRKSRC_openmp} ${PATCH_WRKSRC}/tools/openmp @@ -204,7 +207,9 @@ post-install-DOCS-on: ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ post-install-LLDB-on: +.if ${COMPILER_TYPE} == clang ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/python*/site-packages/lib +.endif post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ Modified: head/devel/llvm37/Makefile ============================================================================== --- head/devel/llvm37/Makefile Tue Aug 4 02:54:27 2015 (r393508) +++ head/devel/llvm37/Makefile Tue Aug 4 03:52:51 2015 (r393509) @@ -50,7 +50,7 @@ DOCS_PLIST_FILES= ${MAN1SRCS:S|^|man/man LIT_DESC= Install lit and FileCheck test tools LLD_DESC= Install lld, the LLVM linker LLD_DISTFILES= lld-${DISTVERSION}.src${EXTRACT_SUFX} -LLDB_DESC= Install lldb, the LLVM debugger +LLDB_DESC= Install lldb, the LLVM debugger (ignored on 9.x) LLDB_BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 LLDB_DISTFILES= lldb-${DISTVERSION}.src${EXTRACT_SUFX} OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library @@ -155,8 +155,9 @@ NOT_FOR_ARCH= ia64 .include -.if ${OSVERSION} < 900000 -BROKEN= GCC failing on 8.x +.if ${COMPILER_TYPE} != clang +# Evil hack around gcc48 not providing a usable c++11 environment on 9.x +PLIST_SUB:= ${PLIST_SUB:NLLDB=*} LLDB="@comment " .endif post-extract-CLANG-on: @@ -166,7 +167,9 @@ post-extract-LLD-on: ${MV} ${WRKSRC_lld} ${PATCH_WRKSRC}/tools/lld post-extract-LLDB-on: +.if ${COMPILER_TYPE} == clang ${MV} ${WRKSRC_lldb} ${PATCH_WRKSRC}/tools/lldb +.endif post-extract-OPENMP-on: ${MV} ${WRKSRC_openmp} ${PATCH_WRKSRC}/tools/openmp @@ -200,7 +203,9 @@ post-install-DOCS-on: ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ post-install-LLDB-on: +.if ${COMPILER_TYPE} == clang ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/python*/site-packages/lib +.endif post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \