Bazel is Google's own build tool, now publicly available in Beta.
Bazel has built-in support for building both client and server
software, including client applications for both Android and iOS
platforms. It also provides an extensible framework that you can
use to develop your own build rules.
Mk/**java.mk: Convert bsd.java.mk to USES
The following features have been added or changed:
- Instead of USE_JAVA use USES=java. This defaults to
USES=java:build,run if NO_BUILD is undefined. Else it defaults to
USES=java:run
- Instead of USE_ANT=yes use USES=java:ant which also implies
USES=java:build
- Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or
extract
- Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply
build or run
- Instead of JAVA_RUN=yes use USES=java:run does not imply extract or
build
- Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version>
Approved by: mat (portmgr), glewis
Differential Revision: https://reviews.freebsd.org/D48201
devel/bazel: Mark BROKEN on 14
Fails to build with:
error: builtin __has_trivial_destructor is deprecated; use
__is_trivially_destructible instead
Approved by: portmgr (blanket)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/bazel: properly add the abseil patch
In file included from
external/com_google_absl/absl/base/internal/unscaledcycleclock.cc:27:
/usr/include/sys/sysctl.h:1185:25: error: unknown type name 'u_int'
int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
^
external/com_google_absl/absl/base/internal/unscaledcycleclock.cc:95:10: error:
unknown type name 'once_flag'
static once_flag init_timebase_frequency_once;
^
external/com_google_absl/absl/base/internal/unscaledcycleclock.cc:97:18: error:
no member named 'LowLevelCallOnce' in namespace 'absl::base_internal'
base_internal::LowLevelCallOnce(&init_timebase_frequency_once, [&]() {
~~~~~~~~~~~~~~~^
3 errors generated.
devel/bazel: fix build on powerpc*
bazel uses a bundled abseil. To build on powerpc*, abseil requires a trivial
patch.
In file included from
external/com_google_absl/absl/base/internal/unscaledcycleclock.cc:27:
/usr/include/sys/sysctl.h:1185:25: error: unknown type name 'u_int'
int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
^
external/com_google_absl/absl/base/internal/unscaledcycleclock.cc:91:10: error:
unknown type name 'once_flag'
static once_flag init_timebase_frequency_once;
^
external/com_google_absl/absl/base/internal/unscaledcycleclock.cc:93:18: error:
no member named 'LowLevelCallOnce' in namespace
'absl::lts_2020_02_25::base_internal'
base_internal::LowLevelCallOnce(&init_timebase_frequency_once, [&]() {
~~~~~~~~~~~~~~~^
PR: 259056
Approved by: ehlig@linta.de (maintainer)
devel/bazel and devel/bazel029: Add back python at run-time
Maintainer requested to add it back because bazel needs python at run-time.
PR: 242695
Requested by: aehlig@linta.de (maintainer)
devel/bazel: Update 0.15.0 -> 0.16.0
Port changes:
* the final RC (which is code-wise identical with the release tar ball) for
0.16.0 is rc4
* the extra patch files/extra-i386_src_BUILD which is used for i386 only to at
least build bazel is adapted
PR: 230344
Submitted by: Klaus Aehlig <aehlig@linta.de> (maintainer)
For ports that are marked BROKEN on armv6, and also fail to build on
armv7, mark them so.
This is part two of a multipart commit to bring armv7 ports to parity
with armv6.
Approved by: portmgr (tier-2 blanket)
Obtained from: lonesome.com -exp run
devel/bazel: update to 0.5.0
Changes: https://github.com/bazelbuild/bazel/releases/tag/0.5.0
While there, also set SOURCE_DATE_EPOCH for the build, unless set already, to
the timestamp in distinfo, to obtain a reproducible binary with a meaningful
timestamp.
PR: 219575
Submitted by: Klaus Aehlig <aehlig@linta.de> (maintainer)
- Use SHEBANG_REGEX instead of SHEBANG_FILES. Update the list of files to fix.
- Bump PORTREVISION
PR: 217453
Submitted by: Dan McGregor <dan.mcgregor@usask.ca>
Approved by: Klaus Aehlig <aelig@linta.de> (maintainer)
New port: devel/bazel
Bazel is Google's own build tool, now publicly available in Beta.
Bazel has built-in support for building both client and server
software, including client applications for both Android and iOS
platforms. It also provides an extensible framework that you can
use to develop your own build rules.
WWW: https://bazel.build/
PR: 204512
Submitted by: Yuri Victorovich <yuri@rawbw.com>, Klaus Aehlig <aehlig@linta.de>
Reviewed by: peterj