cquery 20180718

cquery v20180718

Closes #30345.
Closes #31021.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Xu Cheng 2018-08-12 17:04:54 +08:00 committed by Dominyk Tiller
parent c22061ad6c
commit 8c02ea2fdd
No known key found for this signature in database
GPG key ID: FE19AEFCF658C6F6

View file

@ -2,8 +2,8 @@ class Cquery < Formula
desc "C/C++ language server" desc "C/C++ language server"
homepage "https://github.com/cquery-project/cquery" homepage "https://github.com/cquery-project/cquery"
# pull from git tag to get submodules # pull from git tag to get submodules
url "https://github.com/cquery-project/cquery.git", :tag => "v20180302", url "https://github.com/cquery-project/cquery.git", :tag => "v20180718",
:revision => "f3e9e756e182b122bef8826a77047f6ccf5529b6" :revision => "b523aa928acf8ffb3de6b22c79db7366a9672489"
head "https://github.com/cquery-project/cquery.git" head "https://github.com/cquery-project/cquery.git"
bottle do bottle do
@ -13,10 +13,16 @@ class Cquery < Formula
sha256 "9692d28682c009a9bec583ff20aa16ce5c790975375755a5a48a28ec3e3953c4" => :el_capitan sha256 "9692d28682c009a9bec583ff20aa16ce5c790975375755a5a48a28ec3e3953c4" => :el_capitan
end end
# error: 'shared_timed_mutex' is unavailable: introduced in macOS 10.12
depends_on :macos => :sierra
depends_on "cmake" => :build
depends_on "llvm"
needs :cxx14
def install def install
system "./waf", "configure", "--prefix=#{prefix}" system "cmake", ".", "-DSYSTEM_CLANG=ON", *std_cmake_args
system "./waf", "build" system "make", "install"
system "./waf", "install"
end end
test do test do