Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: bazel-3.5.0
@ 2020-09-19  4:04 waynevanson
  2020-09-19  4:14 ` [PR REVIEW] " ericonr
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: waynevanson @ 2020-09-19  4:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 939 bytes --]

There is a new pull request by waynevanson against master on the void-packages repository

https://github.com/waynevanson/void-packages package/bazel
https://github.com/void-linux/void-packages/pull/24978

New package: bazel-3.5.0
I've strictly followed the instructions on the bazel site: https://docs.bazel.build/versions/3.5.0/install-compile-source.html#bootstrap-bazel

I'm unfamiliar with bazel and only want to use it so I can build something.
I'm sure someone more familiar will be able to help.

closes #24681 

A few questions:

- Should I be bootstrapping this? According to the instructions, that's what is I'm doing: https://docs.bazel.build/versions/3.5.0/install-compile-source.html#compiling-from-source
- The build doesn't work for any other archs besides `x86_64`. Any tips on getting this to work cross architecture?


A patch file from https://github.com/void-linux/void-packages/pull/24978.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-package/bazel-24978.patch --]
[-- Type: text/x-diff, Size: 1237 bytes --]

From 102dd954b77f797db2a57b0f60cdadea266cabf0 Mon Sep 17 00:00:00 2001
From: Wayne Van Son <waynevanson@gmail.com>
Date: Sat, 19 Sep 2020 00:14:43 +0000
Subject: [PATCH] New package: bazel-3.5.0

---
 srcpkgs/bazel/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/bazel/template

diff --git a/srcpkgs/bazel/template b/srcpkgs/bazel/template
new file mode 100644
index 00000000000..940722a94cb
--- /dev/null
+++ b/srcpkgs/bazel/template
@@ -0,0 +1,24 @@
+# Template file for 'bazel'
+pkgname=bazel
+version=3.5.0
+revision=1
+archs="x86_64"
+wrksrc="."
+hostmakedepends="gcc openjdk11 unzip which zip"
+makedepends="python3-devel"
+short_desc="Open-source build and test tool similar to Make, Maven, and Gradle"
+maintainer="Wayne Van Son <waynevanson@gmail.com>"
+license="Apache-2.0"
+homepage="https://www.bazel.build/"
+distfiles="https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip"
+checksum=334429059cf82e222ca8a9d9dbbd26f8e1eb308613463c2b8655dd4201b127ec
+nopie_files="/usr/bin/bazel"
+
+do_install() {
+	env EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk"
+	bash ./compile.sh
+}
+
+post_install() {
+	vbin "${wrksrc}/output/bazel"
+}

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-06-20 21:00 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-19  4:04 [PR PATCH] New package: bazel-3.5.0 waynevanson
2020-09-19  4:14 ` [PR REVIEW] " ericonr
2020-09-19  4:14 ` ericonr
2020-09-19  4:14 ` ericonr
2020-09-19  9:07 ` waynevanson
2020-09-19 14:28 ` ericonr
2020-09-20  8:47 ` fosslinux
2020-09-23 21:55 ` [PR PATCH] [Updated] " waynevanson
2020-09-23 21:56 ` waynevanson
2020-09-23 22:12 ` ericonr
2020-10-05 13:31 ` smorimoto
2020-10-05 21:04 ` waynevanson
2020-10-05 21:11 ` waynevanson
2020-12-23  2:11 ` fosslinux
2020-12-28 11:16 ` fosslinux
2020-12-28 11:17 ` fosslinux
2021-06-20 21:00 ` waynevanson
2021-06-20 21:00 ` [PR PATCH] [Closed]: " waynevanson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).