Skip to content

Commit

Permalink
cockroach 1.1.6
Browse files Browse the repository at this point in the history
Closes #25163.

Signed-off-by: commitay <commitay@users.noreply.github.com>
  • Loading branch information
dt authored and commitay committed Mar 13, 2018
1 parent 13f0f29 commit c1c4d1a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Formula/cockroach.rb
@@ -1,9 +1,9 @@
class Cockroach < Formula
desc "Distributed SQL database"
homepage "https://www.cockroachlabs.com"
url "https://binaries.cockroachdb.com/cockroach-v1.1.5.src.tgz"
version "1.1.5"
sha256 "4da8746971329840531bc9512e9a5ad44a5587d7ee2ad8d2f321124180795444"
url "https://binaries.cockroachdb.com/cockroach-v1.1.6.src.tgz"
version "1.1.6"
sha256 "1a4d6e43d6fe8f4dc4b8f504862a4933c7d4f3d0912f780f6efba1d4003d40fd"
head "https://github.com/cockroachdb/cockroach.git"

bottle do
Expand All @@ -23,7 +23,9 @@ def install
go_version = Formula["go"].installed_version.to_s.split(".")[0, 2].join(".")
inreplace "src/github.com/cockroachdb/cockroach/.go-version",
/^GOVERS = go.*/, "GOVERS = go#{go_version.gsub(".", "\\.")}.*"

# Allow building with Go versions > 1.8.3, which introduced additional LDFLAG whitelisting.
# TODO: remove when cockroach's Makefile handles this internally (i.e. >= 1.1.7).
ENV["CGO_LDFLAGS_ALLOW"] = "-u_je_zone_register"
system "make", "install", "prefix=#{prefix}"
end

Expand Down

0 comments on commit c1c4d1a

Please sign in to comment.