View | Details | Raw Unified | Return to bug 219840
Collapse All | Expand All

(-)bazel/Makefile (+10 lines)
Lines 32-37 Link Here
32
JAVA_BUILD=		yes
32
JAVA_BUILD=		yes
33
JAVA_RUN=		yes
33
JAVA_RUN=		yes
34
34
35
OPTIONS_DEFINE=	CLANG38
36
CLANG38_DESC=	Use clang38 as default crosstool
37
CLANG38_BUILD_DEPENDS=	clang38:devel/llvm38
38
CLANG38_RUN_DEPENDS=	clang38:devel/llvm38
39
40
35
# Have the location of the system-wide rc file reside ${ETCDIR}.
41
# Have the location of the system-wide rc file reside ${ETCDIR}.
36
# Also adapt the sample file to disable persistent java workers as they
42
# Also adapt the sample file to disable persistent java workers as they
37
# do not work reliably on FreeBSD.
43
# do not work reliably on FreeBSD.
Lines 41-46 Link Here
41
	${WRKSRC}/src/main/cpp/blaze_util_posix.cc
47
	${WRKSRC}/src/main/cpp/blaze_util_posix.cc
42
	@${ECHO_CMD} build --strategy=Javac=standalone >> ${WRKSRC}/scripts/packages/debian/bazel.bazelrc
48
	@${ECHO_CMD} build --strategy=Javac=standalone >> ${WRKSRC}/scripts/packages/debian/bazel.bazelrc
43
49
50
post-patch-CLANG38-on:
51
	@${REINPLACE_CMD} -e 's=/usr/lib/clang=${LOCALBASE}/llvm38/lib/clang=' \
52
	-e 's=/usr/bin/clang=${LOCALBASE}/bin/clang38=' ${WRKSRC}/tools/cpp/CROSSTOOL
53
44
do-build:
54
do-build:
45
	@${MKDIR} ${WRKDIR}/bazel_tmp
55
	@${MKDIR} ${WRKDIR}/bazel_tmp
46
	(if [ -z "$${SOURCE_DATE_EPOCH}" ] ; \
56
	(if [ -z "$${SOURCE_DATE_EPOCH}" ] ; \

Return to bug 219840