percona-server@5.6: remove options

This commit is contained in:
FX Coudert 2018-10-04 21:31:26 +02:00
parent fbf897ef28
commit 8ba01bdd63

View file

@ -19,11 +19,6 @@ class PerconaServerAT56 < Formula
keg_only :versioned_formula
option "with-test", "Build with unit tests"
option "with-embedded", "Build the embedded server"
option "with-memcached", "Build with InnoDB Memcached plugin"
option "with-local-infile", "Build with local infile loading support"
depends_on "cmake" => :build
depends_on "pidof" unless MacOS.version >= :mountain_lion
depends_on "openssl"
@ -56,6 +51,7 @@ class PerconaServerAT56 < Formula
-DDEFAULT_COLLATION=utf8_general_ci
-DCOMPILATION_COMMENT=Homebrew
-DWITH_EDITLINE=system
-DWITH_UNIT_TESTS=OFF
-DCMAKE_FIND_FRAMEWORK=LAST
-DCMAKE_VERBOSE_MAKEFILE=ON
]
@ -71,22 +67,6 @@ class PerconaServerAT56 < Formula
# https://bugs.launchpad.net/percona-server/+bug/1531446
args.concat %w[-DWITHOUT_TOKUDB=1]
# To enable unit testing at build, we need to download the unit testing suite
if build.with? "test"
args << "-DENABLE_DOWNLOADS=ON"
else
args << "-DWITH_UNIT_TESTS=OFF"
end
# Build the embedded server
args << "-DWITH_EMBEDDED_SERVER=ON" if build.with? "embedded"
# Build with InnoDB Memcached plugin
args << "-DWITH_INNODB_MEMCACHED=ON" if build.with? "memcached"
# Build with local infile loading support
args << "-DENABLED_LOCAL_INFILE=1" if build.with? "local-infile"
system "cmake", ".", *std_cmake_args, *args
system "make"
system "make", "install"