FreeBSD Bugzilla – Attachment 177513 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 a draft port for bazel at commit c1287f08f20a4ded
bazel.shar (text/plain), 4.98 KB, created by
Klaus Aehlig
on 2016-11-29 13:28:11 UTC
(
hide
)
Description:
Shar of a draft port for bazel at commit c1287f08f20a4ded
Filename:
MIME Type:
Creator:
Klaus Aehlig
Created:
2016-11-29 13:28:11 UTC
Size:
4.98 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: ># ># bazel ># bazel/Makefile ># bazel/distinfo ># bazel/files ># bazel/files/patch-scripts_bootstrap_bootstrap.sh ># bazel/files/patch-src_main_cpp_blaze__util__freebsd.cc ># bazel/files/patch-third__party_protobuf_3.0.0_BUILD ># bazel/pkg-descr ># >echo c - bazel >mkdir -p bazel > /dev/null 2>&1 >echo x - bazel/Makefile >sed 's/^X//' >bazel/Makefile << '143c740348bbe9e451d34211a14b3b1e' >X# Created by: Klaus Aehlig <aehlig@linta.de> >X# $FreeBSD$ >X >XPORTNAME= bazel >X# Actually, a snapshot after the cutting point for 0.4.1 and >X# well before 0.4.2. However, canonical in the sense that this >X# is the first point where the distribution file contains only >X# architecture-independent files. >X# Note that `bazel version` still indicates 0.4.0, but the snapshot >X# is after that release. >XPORTVERSION= 0.4.2a >XCATEGORIES= devel >X# Distfile copied out of git git repo https://bazel.googlesource.com/distfile >X# and locally mirrored. Should be replaced by a reference to GitHub once the >X# 0.4.2 release is out. >XMASTER_SITES= http://isilmar-4.linta.de/distfiles/ >XDISTNAME= bazel-c1287f08-dist >X >XMAINTAINER= aehlig@linta.de >XCOMMENT= Fast and correct build system >X >XLICENSE= APACHE20 >XLICENSE_FILE= ${WRKSRC}/LICENSE.txt >X >XBUILD_DEPENDS= bash:shells/bash >X >XNO_WRKSUBDIR= YES >XUSES= shebangfix zip >XSHEBANG_FILES= ${WRKSRC}/tools/cpp/link_dynamic_library.sh >XUSE_JAVA= yes >XJAVA_VENDOR= openjdk >XJAVA_VERSION= 1.8 >XJAVA_BUILD= yes >XJAVA_RUN= yes >X >XPLIST_FILES= bin/bazel >X >Xdo-build: >X @${MKDIR} ${WRKDIR}/bazel_tmp >X (cd ${WRKSRC} && \ >X ${SETENV} BAZEL_SH=${LOCALBASE}/bin/bash \ >X TMPDIR=${WRKDIR}/bazel_tmp \ >X ${LOCALBASE}/bin/bash ./compile.sh) >X >Xdo-install: >X @${CP} ${WRKSRC}/output/bazel ${STAGEDIR}${PREFIX}/bin >X >X.include <bsd.port.mk> >143c740348bbe9e451d34211a14b3b1e >echo x - bazel/distinfo >sed 's/^X//' >bazel/distinfo << '4bbf8cae51b88d421ddbe030745a2d64' >XTIMESTAMP = 1480410653 >XSHA256 (bazel-c1287f08-dist.zip) = 71e0fb07323946cfe7c8d9537aac71d2c8afa23b9c80d79401820f8317f0be09 >XSIZE (bazel-c1287f08-dist.zip) = 89308584 >4bbf8cae51b88d421ddbe030745a2d64 >echo c - bazel/files >mkdir -p bazel/files > /dev/null 2>&1 >echo x - bazel/files/patch-scripts_bootstrap_bootstrap.sh >sed 's/^X//' >bazel/files/patch-scripts_bootstrap_bootstrap.sh << '21bb56659da46429c547ee946a583479' >X--- scripts/bootstrap/bootstrap.sh.orig 1979-12-31 23:00:00 UTC >X+++ scripts/bootstrap/bootstrap.sh >X@@ -39,7 +39,7 @@ if [ "${JAVA_VERSION}" = "1.7" ]; then >X else >X : ${BAZEL_ARGS:=--java_toolchain=//src/java_tools/buildjar:bootstrap_toolchain \ >X --host_java_toolchain=//src/java_tools/buildjar:bootstrap_toolchain \ >X- --strategy=Javac=worker --worker_quit_after_build --ignore_unsupported_sandboxing \ >X+ --strategy=Javac=standalone --ignore_unsupported_sandboxing \ >X --compilation_mode=opt \ >X "${EXTRA_BAZEL_ARGS:-}"} >X fi >X@@ -91,7 +91,7 @@ function bootstrap_test() { >X local BAZEL_BIN=$1 >X local BAZEL_SUM=$2 >X local BAZEL_TARGET=${3:-src:bazel} >X- local STRATEGY="--strategy=Javac=worker --worker_quit_after_build" >X+ local STRATEGY="--strategy=Javac=standalone" >X if [ "${JAVA_VERSION}" = "1.7" ]; then >X STRATEGY= >X fi >21bb56659da46429c547ee946a583479 >echo x - bazel/files/patch-src_main_cpp_blaze__util__freebsd.cc >sed 's/^X//' >bazel/files/patch-src_main_cpp_blaze__util__freebsd.cc << 'c427ba7cc81bb8025086f0855d0e38b6' >X--- src/main/cpp/blaze_util_freebsd.cc.orig 1979-12-31 23:00:00 UTC >X+++ src/main/cpp/blaze_util_freebsd.cc >X@@ -145,6 +145,9 @@ bool IsSharedLibrary(const string &filen >X >X string GetDefaultHostJavabase() { >X // if JAVA_HOME is defined, then use it as default. >X+ if (getenv("JAVA_HOME") == nullptr) { >X+ return "/usr/local/openjdk8"; >X+ } >X string javahome = getenv("JAVA_HOME"); >X return !javahome.empty() ? javahome : "/usr/local/openjdk8"; >X } >c427ba7cc81bb8025086f0855d0e38b6 >echo x - bazel/files/patch-third__party_protobuf_3.0.0_BUILD >sed 's/^X//' >bazel/files/patch-third__party_protobuf_3.0.0_BUILD << '95a618a9835f81ae426062314efbddd0' >X--- third_party/protobuf/3.0.0/BUILD.orig 1979-12-31 23:00:00 UTC >X+++ third_party/protobuf/3.0.0/BUILD >X@@ -87,7 +87,7 @@ COPTS = [ >X "-Wno-error=unused-variable", >X ] >X >X-LINK_OPTS = ["-lpthread"] >X+LINK_OPTS = ["-lpthread", "-lm"] >X >X cc_library( >X name = "protobuf_lite", >95a618a9835f81ae426062314efbddd0 >echo x - bazel/pkg-descr >sed 's/^X//' >bazel/pkg-descr << '59ce8daff387e869a3c451ae0642b2a3' >XBazel is Google's own build tool, now publicly available in Beta. Bazel has >Xbuilt-in support for building both client and server software, including client >Xapplications for both Android and iOS platforms. It also provides an extensible >Xframework that you can use to develop your own build rules. >X >XWWW: https://bazel.build/ >59ce8daff387e869a3c451ae0642b2a3 >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