FreeBSD Bugzilla – Attachment 176856 Details for
Bug 204512
[NEW PORT] devel/bazel: Correct, reproducible, and fast builds for everyone
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar of bazel-0.4.0 that hangs
bazel.shar (text/plain), 6.15 KB, created by
Yuri Victorovich
on 2016-11-10 12:41:58 UTC
(
hide
)
Description:
shar of bazel-0.4.0 that hangs
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2016-11-10 12:41:58 UTC
Size:
6.15 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># devel/bazel ># devel/bazel/Makefile ># devel/bazel/distinfo ># devel/bazel/pkg-descr ># devel/bazel/files ># devel/bazel/files/patch-third__party_ijar_test_testenv.sh ># >echo c - devel/bazel >mkdir -p devel/bazel > /dev/null 2>&1 >echo x - devel/bazel/Makefile >sed 's/^X//' >devel/bazel/Makefile << '62767263b990329c8badcf60d01bd118' >X# Created by: Yuri Victorovich <yuri@rawbw.com> >X# $FreeBSD$ >X >XPORTNAME= bazel >XPORTVERSION= 0.4.0 >XCATEGORIES= devel java >X >XMAINTAINER= yuri@rawbw.com >XCOMMENT= Correct, reproducible, and fast builds for everyone >X >XLICENSE= APACHE20 >XLICENSE_FILE= ${WRKSRC}/LICENSE.txt >X >XBUILD_DEPENDS= bash:shells/bash \ >X zip:archivers/zip >XRUN_DEPENDS= bash:shells/bash >X >XOPTIONS_DEFINE= BASH ZSH >XOPTIONS_SUB= yes >X >XPROTOBUF_TAGNAME= 3.0.0-beta-2 >X#GRPC_TAGNAME= release-0_13 >XGRPC_JAVA_TAGNAME= 0.13.2 >XSHELL_BINARY= ${PREFIX}/bin/bash >X >XUSE_GITHUB= yes >XGH_TUPLE= bazelbuild:bazel:${PORTVERSION} >XGH_TUPLE+= google:protobuf:v${PROTOBUF_TAGNAME}:pb >XGH_TUPLE+= grpc:grpc-java:v${GRPC_JAVA_TAGNAME}:grpcj >X >XUSES= autoreconf:build python gmake libtool >XNO_CONFIGURE= yes >XUSE_JAVA= yes >XJAVA_VENDOR= openjdk >XJAVA_VERSION= 1.8 >XJAVA_BUILD= yes >XJAVA_RUN= yes >XMAKE_JOBS_NUMBER= 1 # multi-CPU build hangs: https://github.com/bazelbuild/bazel/issues/1250 >X >XBAZEL_CACHE_DIR= ${WRKDIR}/.tmp >XBAZEL_HOME_DIR= ${WRKDIR}/.home >X >XPLIST_FILES= bin/bazel >XBASH_PLIST_FILES= share/bash-completion/completions/bazel-complete.bash >XZSH_PLIST_FILES= share/zsh/site-functions/_bazel >X >XBROKEN_FreeBSD_9= Bug#209467: clang++37 behaves differently on 9.3 and 10.3 >XBROKEN_i386= Bug#209467: clang++37 behaves differently on 9.3 and 10.3 >X >X.include <bsd.port.options.mk> >X >Xpost-extract: >X @${RM} ${WRKSRC}/third_party/protobuf/protoc-linux-x86_32.exe >X @${LN} -s ${WRKSRC}/third_party/protobuf/bin/protoc ${WRKSRC}/third_party/protobuf/protoc-linux-x86_32.exe >X >Xpost-patch: >X @${REINPLACE_CMD} -i '' -e 's,#!/bin/bash,#!${SHELL_BINARY},g' `find ${WRKSRC} -name "*.sh"` `find ${WRKSRC} -name "*.bash"` >X @${REINPLACE_CMD} -i '' -e 's,#!/bin/bash,#!${SHELL_BINARY},g' `find ${WRKSRC} -name "*.sh" -and -exec ${GREP} -q "/bin/bash" {} \; -and -print` >X @${REINPLACE_CMD} -i '' -e 's,"/bin/bash","${SHELL_BINARY}",g' `find ${WRKSRC} -name "*.java" -and -exec ${GREP} -q "/bin/bash" {} \; -and -print` >X @${REINPLACE_CMD} -i '' -e 's,#!/bin/bash,#!${SHELL_BINARY},g' `find ${WRKSRC} -name "*.java" -and -exec ${GREP} -q "/bin/bash" {} \; -and -print` >X @${REINPLACE_CMD} -i '' -e 's|tool_path { name: "cpp" path: "/usr/bin/cpp" }|tool_path { name: "cpp" path: "'`which ${CPP}`'" }|' ${WRKSRC}/tools/cpp/CROSSTOOL >X @${REINPLACE_CMD} -i '' -e 's|tool_path { name: "gcc" path: "/usr/bin/clang" }|tool_path { name: "gcc" path: "'`which ${CC}`'" }|' ${WRKSRC}/tools/cpp/CROSSTOOL >X >Xdo-build: >X @([ -f ${WRKSRC}/third_party/protobuf/bin/protoc ] || (cd ${WRKDIR}/protobuf-${PROTOBUF_TAGNAME} && \ >X ${ECHO} "===> Bootstrapping with custom protobuf version ${PROTOBUF_TAGNAME}" && \ >X ${AUTORECONF} -f -i -Wall,no-obsolete && \ >X CC=${CC} CXX=${CXX} CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" ./configure --prefix=${WRKSRC}/third_party/protobuf/ && \ >X ${GMAKE} ${_MAKE_JOBS} install)) >X @${ECHO} "===> Returning to the build of ${PORTNAME}-${PORTVERSION}" >X @${MKDIR} ${BAZEL_CACHE_DIR} ${BAZEL_HOME_DIR} >X @(cd ${WRKSRC} && \ >X BAZEL_CACHE=${BAZEL_CACHE_DIR} HOME=${BAZEL_HOME_DIR} BAZEL_EXTRA_ARGS='--jobs 1' ${SHELL_BINARY} ./compile.sh) >X.if ${PORT_OPTIONS:MBASH} >X @(cd ${WRKSRC} && ./output/bazel build scripts:bazel-complete.bash) >X @${CP} ${WRKSRC}/bazel-bin/scripts/bazel-complete.bash ${WRKSRC}/ >X.endif >X >Xdo-install: >X ${CP} ${WRKSRC}/output/bazel ${STAGEDIR}${PREFIX}/bin >X.if ${PORT_OPTIONS:MBASH} >X @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions >X ${INSTALL_DATA} ${WRKSRC}/bazel-complete.bash \ >X ${STAGEDIR}${PREFIX}/share/bash-completion/completions/ >X.endif >X.if ${PORT_OPTIONS:MZSH} >X @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions >X ${INSTALL_DATA} ${WRKSRC}/scripts/zsh_completion/_bazel \ >X ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ >X.endif >X >X.include <bsd.port.mk> >62767263b990329c8badcf60d01bd118 >echo x - devel/bazel/distinfo >sed 's/^X//' >devel/bazel/distinfo << '8457c93a1dc8c0e14a963891f29d06ef' >XTIMESTAMP = 1478403638 >XSHA256 (bazelbuild-bazel-0.4.0_GH0.tar.gz) = 2370649043b5b3c407016a74946d5c443dd5c8ba43c1ffe28b83553983e5057c >XSIZE (bazelbuild-bazel-0.4.0_GH0.tar.gz) = 159192903 >XSHA256 (google-protobuf-v3.0.0-beta-2_GH0.tar.gz) = be224d07ce87f12e362cff3df02851107bf92a4e4604349b1d7a4b1f0c3bfd86 >XSIZE (google-protobuf-v3.0.0-beta-2_GH0.tar.gz) = 3333054 >XSHA256 (grpc-grpc-java-v0.13.2_GH0.tar.gz) = 6de1384f0a0d49511ef58d1c63b74fb7d08f7f7246e32a48977d888cba7dae22 >XSIZE (grpc-grpc-java-v0.13.2_GH0.tar.gz) = 746673 >8457c93a1dc8c0e14a963891f29d06ef >echo x - devel/bazel/pkg-descr >sed 's/^X//' >devel/bazel/pkg-descr << '74aebfa5ef2cb472cb1670881364f4ea' >XBazel is Google's own build tool, now publicly available in Beta. >XBazel has built-in support for building both client and server software, >Xincluding client applications for both Android and iOS platforms. It also >Xprovides an extensible framework that you can use to develop your own build >Xrules. >X >XWWW: http://bazel.io/ >74aebfa5ef2cb472cb1670881364f4ea >echo c - devel/bazel/files >mkdir -p devel/bazel/files > /dev/null 2>&1 >echo x - devel/bazel/files/patch-third__party_ijar_test_testenv.sh >sed 's/^X//' >devel/bazel/files/patch-third__party_ijar_test_testenv.sh << 'bea94146db7aeb3a038f4617aa7e60a9' >X--- third_party/ijar/test/testenv.sh.orig 2016-04-22 21:34:40 UTC >X+++ third_party/ijar/test/testenv.sh >X@@ -1,4 +1,4 @@ >X-#!/bin/bash >X+#!/usr/local/bin/bash >X # >X # Copyright 2015 The Bazel Authors. All rights reserved. >X # >X@@ -29,7 +29,7 @@ if [[ "$PLATFORM" = "linux" ]]; then >X function statfmt() { >X stat -c "%s" $1 >X } >X- MD5SUM=md5sum >X+ MD5SUM=md5 >X else >X function statfmt() { >X stat -f "%z" $1 >bea94146db7aeb3a038f4617aa7e60a9 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 204512
:
163079
|
163106
|
163107
|
170220
|
170233
| 176856 |
177513
|
177659
|
177702