Skip to content

Commit

Permalink
bazel: patch bazel for macOS 10.12 Sierra
Browse files Browse the repository at this point in the history
* Wrap in stable block
* Use nanosleep(2) instead of poll(2) to sleep
* See
  bazelbuild/bazel@fefd232

Closes #5270.

Signed-off-by: ilovezfs <[email protected]>
  • Loading branch information
Ed Flanagan authored and ilovezfs committed Sep 28, 2016
1 parent 8236a8d commit 901d299
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Formula/bazel.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
class Bazel < Formula
desc "Google's own build tool"
homepage "https://www.bazel.io/"
url "https://github.com/bazelbuild/bazel/archive/0.3.1.tar.gz"
sha256 "52beafc9d78fc315115226f31425e21df1714d96c7dfcdeeb02306e2fe028dd8"
head "https://github.com/bazelbuild/bazel.git"

stable do
url "https://github.com/bazelbuild/bazel/archive/0.3.1.tar.gz"
sha256 "52beafc9d78fc315115226f31425e21df1714d96c7dfcdeeb02306e2fe028dd8"

# Fix build on macOS 10.12 Sierra
patch do
url "https://github.com/bazelbuild/bazel/commit/fefd2329f4812bcb513294fdf417fc726a86ddfd.diff"
sha256 "73455ede4acb9e40923838cb66750a5baacc6b6f8eaaeed72df02dbca38bbe73"
end
end

bottle do
cellar :any_skip_relocation
sha256 "fda77dc7aa1722d9586ec0a4148357ba89436d641c278e7a93da2486ba059059" => :el_capitan
Expand Down

0 comments on commit 901d299

Please sign in to comment.