FreeBSD Bugzilla – Attachment 170220 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 archive
bazel.shar (text/plain), 6.79 KB, created by
Yuri Victorovich
on 2016-05-11 18:24:50 UTC
(
hide
)
Description:
shar archive
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2016-05-11 18:24:50 UTC
Size:
6.79 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-scripts_bootstrap_compile.sh ># devel/bazel/files/patch-site_docs_skylark_cookbook.md ># devel/bazel/files/patch-src_main_native_unix__jni__freebsd.cc ># 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.2.2b >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 >XSHELL_BINARY= ${PREFIX}/bin/bash >X >XUSE_GITHUB= yes >XGH_ACCOUNT= bazelbuild google:pb >XGH_PROJECT= bazel protobuf:pb >XGH_TAGNAME= ${PORTVERSION} v${PROTOBUF_TAGNAME}:pb >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 >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 >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 "*.java" -and -exec ${GREP} -q "/bin/bash" {} \; -and -print` >X @${REINPLACE_CMD} -i -e 's,/bin/bash,${SHELL_BINARY},g' `find ${WRKSRC} -name "*.java-e" -and -exec ${GREP} -q "/bin/bash" {} \; -and -print` >X >Xdo-build: >X @${ECHO} "===> Bootstrapping with custom protobuf version ${PROTOBUF_TAGNAME}" >X @([ -f ${WRKSRC}/third_party/protobuf/bin/protoc ] || (cd ${WRKDIR}/protobuf-${PROTOBUF_TAGNAME} && \ >X ${AUTORECONF} -f -i -Wall,no-obsolete && \ >X ./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} bash ./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' >XSHA256 (bazelbuild-bazel-0.2.2b_GH0.tar.gz) = 0f5ebce329e4aa3c36e428f8994c72bc896f491e0d45aa55f5cc40834b4839f2 >XSIZE (bazelbuild-bazel-0.2.2b_GH0.tar.gz) = 81265593 >XSHA256 (google-protobuf-v3.0.0-beta-2_GH0.tar.gz) = be224d07ce87f12e362cff3df02851107bf92a4e4604349b1d7a4b1f0c3bfd86 >XSIZE (google-protobuf-v3.0.0-beta-2_GH0.tar.gz) = 3333054 >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-scripts_bootstrap_compile.sh >sed 's/^X//' >devel/bazel/files/patch-scripts_bootstrap_compile.sh << '2c67bcf0c9d64124dfd03bf5626ecb3d' >X--- scripts/bootstrap/compile.sh.orig 2016-05-11 16:08:48 UTC >X+++ scripts/bootstrap/compile.sh >X@@ -251,5 +251,6 @@ function bootstrap_build() { >X --rc_source=/dev/null --isatty=1 \ >X --ignore_client_env \ >X --client_cwd=${PWD} \ >X+ -j 1 \ >X "${@}" >X } >2c67bcf0c9d64124dfd03bf5626ecb3d >echo x - devel/bazel/files/patch-site_docs_skylark_cookbook.md >sed 's/^X//' >devel/bazel/files/patch-site_docs_skylark_cookbook.md << '55b8760d4ee6874ec2165190f24788d2' >X--- site/docs/skylark/cookbook.md.orig 2016-04-22 21:34:40 UTC >X+++ site/docs/skylark/cookbook.md >X@@ -529,7 +529,7 @@ def _impl(ctx): >X ctx.action( >X outputs = [out], >X inputs = [processed], >X- command = "md5sum < %s > %s" % (processed.path, out.path)) >X+ command = "/sbin/md5 < %s > %s" % (processed.path, out.path)) >X >X hash = rule( >X implementation=_impl, >55b8760d4ee6874ec2165190f24788d2 >echo x - devel/bazel/files/patch-src_main_native_unix__jni__freebsd.cc >sed 's/^X//' >devel/bazel/files/patch-src_main_native_unix__jni__freebsd.cc << '9a177b3d5cdf5f7bf9cf6e01d1441162' >X--- src/main/native/unix_jni_freebsd.cc.orig 2016-04-22 21:34:40 UTC >X+++ src/main/native/unix_jni_freebsd.cc >X@@ -22,6 +22,8 @@ >X #include <sys/extattr.h> >X #include <sys/param.h> >X #include <sys/stat.h> >X+#include <sys/types.h> >X+#include <sys/sysctl.h> >X >X #include <string> >X >9a177b3d5cdf5f7bf9cf6e01d1441162 >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