sysbench 1.0.18
Closes #45825. Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
parent
4b47d211aa
commit
eb5b29f102
1 changed files with 4 additions and 4 deletions
|
@ -1,9 +1,8 @@
|
|||
class Sysbench < Formula
|
||||
desc "System performance benchmark tool"
|
||||
homepage "https://github.com/akopytov/sysbench"
|
||||
url "https://github.com/akopytov/sysbench/archive/1.0.17.tar.gz"
|
||||
sha256 "9bcad62eaf473510f5184f33cc41f1e07c2640c8810ae9eebe25ba27ba04df5d"
|
||||
revision 1
|
||||
url "https://github.com/akopytov/sysbench/archive/1.0.18.tar.gz"
|
||||
sha256 "c679b285e633c819d637bdafaeacc1bec13f37da5b3357c7e17d97a71bf28cb1"
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -25,7 +24,8 @@ class Sysbench < Formula
|
|||
# Fix for luajit build breakage.
|
||||
# Per https://luajit.org/install.html: If MACOSX_DEPLOYMENT_TARGET
|
||||
# is not set then it's forced to 10.4, which breaks compile on Mojave.
|
||||
ENV["MACOSX_DEPLOYMENT_TARGET"] = MacOS.version
|
||||
# https://github.com/LuaJIT/LuaJIT/issues/518: set to 10.14 to build on Catalina.
|
||||
ENV["MACOSX_DEPLOYMENT_TARGET"] = (DevelopmentTools.clang_build_version >= 1100) ? "10.14" : MacOS.version
|
||||
|
||||
system "./configure", "--prefix=#{prefix}", "--with-mysql"
|
||||
system "make", "install"
|
||||
|
|
Loading…
Reference in a new issue