Skip to content

Commit

Permalink
bond: use Homebrew ghc
Browse files Browse the repository at this point in the history
  • Loading branch information
carlocab committed Dec 26, 2020
1 parent 0adc8d5 commit 963220b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Formula/bond.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@ class Bond < Formula
end

depends_on "cmake" => :build
depends_on "ghc@8.6" => :build
depends_on "haskell-stack" => :build
depends_on "boost"
depends_on "rapidjson"

def install
mkdir "build" do
system "cmake", "..", *std_cmake_args, "-DBOND_ENABLE_GRPC=FALSE", "-DBOND_FIND_RAPIDJSON=TRUE"
system "cmake", "..", *std_cmake_args,
"-DBOND_ENABLE_GRPC=FALSE",
"-DBOND_FIND_RAPIDJSON=TRUE",
"-DBOND_STACK_OPTIONS=--system-ghc;--no-install-ghc"
system "make"
system "make", "install"
end
Expand Down

0 comments on commit 963220b

Please sign in to comment.