Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bazel.rb to version 0.16.1 #31066

Closed
wants to merge 1 commit into from
Closed

Conversation

buchgr
Copy link

@buchgr buchgr commented Aug 13, 2018

PTAL @ilovezfs @JCount @keith

This patch release of Bazel also fixes a build error on homebrew that has been encountered with 0.16.0 #30653

@DomT4
Copy link
Member

DomT4 commented Aug 13, 2018

PTAL ilovezfs

ILZ has departed the project, so let's give him some well-deserved peace on the pings heh, just for future reference.

@@ -11,7 +11,9 @@ class Bazel < Formula
sha256 "4edb4d88f886980bc1933be3fe9f704bc48fc1663e74c3fadb49ce7333d4642a" => :el_capitan
end

depends_on :java => "1.8"
depends_on "zip" => :build
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see from the previous PR these are only necessary on certain versions of macOS? We should scope them accordingly.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case that would mean simply changing this line to:
depends_on "zip" => :build if MacOS.version <= :el_capitan

(if 10.11 and later are the platforms that need zip.)

@DomT4 DomT4 added the build failure CI fails while building the software label Aug 14, 2018
@JCount JCount mentioned this pull request Aug 14, 2018
@@ -11,7 +11,9 @@ class Bazel < Formula
sha256 "4edb4d88f886980bc1933be3fe9f704bc48fc1663e74c3fadb49ce7333d4642a" => :el_capitan
end

depends_on :java => "1.8"
depends_on "zip" => :build
depends_on "unzip" => :build
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you scope this dependency the same way the zip dependency is scoped?

@buchgr
Copy link
Author

buchgr commented Aug 22, 2018

Hi,

we have decided to from now on only ship Bazel with an embedded JDK. That is not compatible with Homebrews requirement of not shipping binaries. We thus have created our own TAP: https://groups.google.com/forum/#!topic/bazel-discuss/3Ht26sWhMuA

So I was wondering what the best path forward for Bazel in homebrew core is?

Thanks!

@buchgr buchgr closed this Aug 23, 2018
@lock lock bot added the outdated PR was locked due to age label Sep 22, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Sep 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
build failure CI fails while building the software outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants