mysql@5.6: enable all options by default
This commit is contained in:
parent
62727d3b7b
commit
66dd3963d2
1 changed files with 5 additions and 24 deletions
|
@ -12,15 +12,6 @@ class MysqlAT56 < Formula
|
|||
|
||||
keg_only :versioned_formula
|
||||
|
||||
option "with-embedded", "Build the embedded server"
|
||||
option "with-archive-storage-engine", "Compile with the ARCHIVE storage engine enabled"
|
||||
option "with-blackhole-storage-engine", "Compile with the BLACKHOLE storage engine enabled"
|
||||
option "with-local-infile", "Build with local infile loading support"
|
||||
option "with-memcached", "Enable innodb-memcached support"
|
||||
|
||||
deprecated_option "enable-local-infile" => "with-local-infile"
|
||||
deprecated_option "enable-memcached" => "with-memcached"
|
||||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "pidof" unless MacOS.version >= :mountain_lion
|
||||
depends_on "openssl"
|
||||
|
@ -51,23 +42,13 @@ class MysqlAT56 < Formula
|
|||
-DCOMPILATION_COMMENT=Homebrew
|
||||
-DWITH_EDITLINE=system
|
||||
-DWITH_UNIT_TESTS=OFF
|
||||
-DWITH_EMBEDDED_SERVER=ON
|
||||
-DWITH_ARCHIVE_STORAGE_ENGINE=1
|
||||
-DWITH_BLACKHOLE_STORAGE_ENGINE=1
|
||||
-DENABLED_LOCAL_INFILE=1
|
||||
-DWITH_INNODB_MEMCACHED=1
|
||||
]
|
||||
|
||||
# Build the embedded server
|
||||
args << "-DWITH_EMBEDDED_SERVER=ON" if build.with? "embedded"
|
||||
|
||||
# Compile with ARCHIVE engine enabled if chosen
|
||||
args << "-DWITH_ARCHIVE_STORAGE_ENGINE=1" if build.with? "archive-storage-engine"
|
||||
|
||||
# Compile with BLACKHOLE engine enabled if chosen
|
||||
args << "-DWITH_BLACKHOLE_STORAGE_ENGINE=1" if build.with? "blackhole-storage-engine"
|
||||
|
||||
# Build with local infile loading support
|
||||
args << "-DENABLED_LOCAL_INFILE=1" if build.with? "local-infile"
|
||||
|
||||
# Build with memcached support
|
||||
args << "-DWITH_INNODB_MEMCACHED=1" if build.with? "memcached"
|
||||
|
||||
system "cmake", ".", *std_cmake_args, *args
|
||||
system "make"
|
||||
system "make", "install"
|
||||
|
|
Loading…
Reference in a new issue