cockroachdb 19.1.2

Closes #41050.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Andrei Matei 2019-06-17 14:49:31 -04:00 committed by FX Coudert
parent b7009786bc
commit cd86d92128

View file

@ -1,9 +1,9 @@
class Cockroach < Formula
desc "Distributed SQL database"
homepage "https://www.cockroachlabs.com"
url "https://binaries.cockroachdb.com/cockroach-v19.1.1.src.tgz"
version "19.1.1"
sha256 "cc05d2f0a4310d23007985a91a2e3ac4ab17b9cd853934536228e6e4812c7fed"
url "https://binaries.cockroachdb.com/cockroach-v19.1.2.src.tgz"
version "19.1.2"
sha256 "fb43cbe938be7a44238cef6e545a4a8f333bc0c56007d102225720dfc501bda0"
head "https://github.com/cockroachdb/cockroach.git"
bottle do
@ -19,17 +19,6 @@ class Cockroach < Formula
depends_on "make" => :build
depends_on "xz" => :build
# Compiling CockroachDB v19.1 with Go 1.12 changes the behavior of setrlimit
# in a way that causes CockroachDB to crash upon startup if kern.maxfiles is
# too low. This patch backports the upstream fix from
# cockroachdb/cockroach#37705, which will be included in the next release.
# Note that the pull request patch cannot be used directly, as the paths in
# the release tarball do not exactly match the paths in the Git repository.
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/master/cockroach/v19.1.1-kern-maxfiles-w-go-1.12.patch"
sha256 "7735ef5d3598214100f0bb3dbb718a499386987b99296ceb9c9f97a3945fd0ba"
end
def install
# The GNU Make that ships with macOS Mojave (v3.81 at the time of writing) has a bug
# that causes it to loop infinitely when trying to build cockroach. Use