mysql@5.7: enable all options by default
Closes #34426. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
66dd3963d2
commit
07bdd6adf3
1 changed files with 3 additions and 16 deletions
|
@ -12,13 +12,6 @@ class MysqlAT57 < Formula
|
|||
|
||||
keg_only :versioned_formula
|
||||
|
||||
option "with-embedded", "Build the embedded server"
|
||||
option "with-local-infile", "Build with local infile loading support"
|
||||
option "with-memcached", "Build with InnoDB Memcached plugin"
|
||||
|
||||
deprecated_option "enable-local-infile" => "with-local-infile"
|
||||
deprecated_option "enable-memcached" => "with-memcached"
|
||||
|
||||
depends_on "cmake" => :build
|
||||
# https://github.com/Homebrew/homebrew-core/issues/1475
|
||||
# Needs at least Clang 3.3, which shipped alongside Lion.
|
||||
|
@ -48,17 +41,11 @@ class MysqlAT57 < Formula
|
|||
-DWITH_EDITLINE=system
|
||||
-DWITH_SSL=yes
|
||||
-DWITH_UNIT_TESTS=OFF
|
||||
-DWITH_EMBEDDED_SERVER=ON
|
||||
-DENABLED_LOCAL_INFILE=1
|
||||
-DWITH_INNODB_MEMCACHED=ON
|
||||
]
|
||||
|
||||
# Build the embedded server
|
||||
args << "-DWITH_EMBEDDED_SERVER=ON" if build.with? "embedded"
|
||||
|
||||
# Build with local infile loading support
|
||||
args << "-DENABLED_LOCAL_INFILE=1" if build.with? "local-infile"
|
||||
|
||||
# Build with InnoDB Memcached plugin
|
||||
args << "-DWITH_INNODB_MEMCACHED=ON" if build.with? "memcached"
|
||||
|
||||
system "cmake", ".", *std_cmake_args, *args
|
||||
system "make"
|
||||
system "make", "install"
|
||||
|
|
Loading…
Reference in a new issue