Github messages for voidlinux
 help / color / mirror / Atom feed
From: waynevanson <waynevanson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: bazel-3.5.0
Date: Sat, 19 Sep 2020 06:04:24 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24978@inbox.vuxu.org> (raw)

[-- 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"
+}

             reply	other threads:[~2020-09-19  4:04 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-19  4:04 waynevanson [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24978@inbox.vuxu.org \
    --to=waynevanson@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).