Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Aug 2018 19:51:28 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476669 - in head: . devel devel/bazel devel/bazel-clang38
Message-ID:  <201808081951.w78JpSsb074095@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Wed Aug  8 19:51:27 2018
New Revision: 476669
URL: https://svnweb.freebsd.org/changeset/ports/476669

Log:
  Remove obsolete Clang 3.8 support from bazel.
  
  Remove the slave port setting the CLANG38 option.
  
  PR:		230467
  Approved by:	aehlig@linta.de (maintainer)

Deleted:
  head/devel/bazel-clang38/
Modified:
  head/MOVED
  head/devel/Makefile
  head/devel/bazel/Makefile

Modified: head/MOVED
==============================================================================
--- head/MOVED	Wed Aug  8 19:49:36 2018	(r476668)
+++ head/MOVED	Wed Aug  8 19:51:27 2018	(r476669)
@@ -10422,3 +10422,4 @@ security/opensaml2|security/opensaml|2018-08-07|Projec
 devel/lldb38|devel/llvm38|2018-08-08|METAPORT removed
 lang/clang38|devel/llvm38|2018-08-08|METAPORT removed
 science/py-tensorflow||2018-08-08|Has expired: build broken
+devel/bazel-clang38|devel/bazel|2018-08-08|Slave port depends on obsolete LLVM version

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Aug  8 19:49:36 2018	(r476668)
+++ head/devel/Makefile	Wed Aug  8 19:51:27 2018	(r476669)
@@ -191,7 +191,6 @@
     SUBDIR += bashdb
     SUBDIR += bats-core
     SUBDIR += bazel
-    SUBDIR += bazel-clang38
     SUBDIR += bbfreeze
     SUBDIR += bbfreeze-loader
     SUBDIR += bcc

Modified: head/devel/bazel/Makefile
==============================================================================
--- head/devel/bazel/Makefile	Wed Aug  8 19:49:36 2018	(r476668)
+++ head/devel/bazel/Makefile	Wed Aug  8 19:51:27 2018	(r476669)
@@ -36,13 +36,6 @@ JAVA_RUN=		yes
 
 NO_WRKSUBDIR=		YES
 
-CONFLICTS_INSTALL?=	bazel-clang38
-
-OPTIONS_DEFINE=	CLANG38
-CLANG38_DESC=	Use clang38 as default crosstool
-CLANG38_BUILD_DEPENDS=	clang38:devel/llvm38
-CLANG38_RUN_DEPENDS=	clang38:devel/llvm38
-
 STRIP=	# The bazel binary is also a zip archive (extracted by the elf part), it must not be stripped
 
 .include <bsd.port.pre.mk>
@@ -66,10 +59,6 @@ post-patch:
 	@${REINPLACE_CMD} \
 	-e 's|/usr/bin/env python|${PYTHON_CMD}|' \
 	${WRKSRC}/src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java
-
-post-patch-CLANG38-on:
-	@${REINPLACE_CMD} -e 's=/usr/lib/clang=${LOCALBASE}/llvm38/lib/clang=' \
-	-e 's=/usr/bin/clang=${LOCALBASE}/bin/clang38=' ${WRKSRC}/tools/cpp/CROSSTOOL
 
 do-build:
 	@${MKDIR} ${WRKDIR}/bazel_tmp



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