Skip to content

Commit

Permalink
flatbuffers 2.0.7
Browse files Browse the repository at this point in the history
* flatbuffers 2.0.7
* flatbuffers: skip build tests
  It seems to lead to a build failure on Linux.

Closes #108676.

Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
  • Loading branch information
2 people authored and BrewTestBot committed Aug 24, 2022
1 parent 5e44b05 commit d6d8929
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Formula/flatbuffers.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Flatbuffers < Formula
desc "Serialization library for C++, supporting Java, C#, and Go"
homepage "https://google.github.io/flatbuffers"
url "https://github.com/google/flatbuffers/archive/v2.0.6.tar.gz"
sha256 "e2dc24985a85b278dd06313481a9ca051d048f9474e0f199e372fea3ea4248c9"
url "https://github.com/google/flatbuffers/archive/v2.0.7.tar.gz"
sha256 "4c7986174dc3941220bf14feaacaad409c3e1526d9ad7f490366fede9a6f43fa"
license "Apache-2.0"
head "https://github.com/google/flatbuffers.git", branch: "master"

Expand All @@ -26,8 +26,12 @@ class Flatbuffers < Formula
conflicts_with "osrm-backend", because: "both install flatbuffers headers"

def install
system "cmake", "-G", "Unix Makefiles", *std_cmake_args
system "make", "install"
system "cmake", "-S", ".", "-B", "build",
"-DFLATBUFFERS_BUILD_SHAREDLIB=ON",
"-DFLATBUFFERS_BUILD_TESTS=OFF",
*std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"
end

test do
Expand Down

0 comments on commit d6d8929

Please sign in to comment.