diff options
author | Repository QA checks <repo-qa-checks@gentoo.org> | 2017-08-21 17:23:48 +0000 |
---|---|---|
committer | Repository QA checks <repo-qa-checks@gentoo.org> | 2017-08-21 17:23:48 +0000 |
commit | f6c8571a0045d2d1cc954ccf02b9ba1d74c011bb (patch) | |
tree | ad9a8e99ccac4d5542b2dbb0c934a1e19349bb3d | |
parent | 2017-08-21 16:23:53 UTC (diff) | |
parent | {alpha,sparc}/package.use.mask: Mask numa USE on dev-db/mariadb (diff) | |
download | gentoo-f6c8571a0045d2d1cc954ccf02b9ba1d74c011bb.tar.gz gentoo-f6c8571a0045d2d1cc954ccf02b9ba1d74c011bb.tar.bz2 gentoo-f6c8571a0045d2d1cc954ccf02b9ba1d74c011bb.zip |
Merge updates from master
-rw-r--r-- | dev-db/mariadb/mariadb-10.2.8.ebuild | 30 | ||||
-rw-r--r-- | dev-db/mariadb/metadata.xml | 6 | ||||
-rw-r--r-- | profiles/arch/alpha/package.use.mask | 4 | ||||
-rw-r--r-- | profiles/arch/sparc/package.use.mask | 4 |
4 files changed, 23 insertions, 21 deletions
diff --git a/dev-db/mariadb/mariadb-10.2.8.ebuild b/dev-db/mariadb/mariadb-10.2.8.ebuild index 8a9288bd01b7..218dc395097d 100644 --- a/dev-db/mariadb/mariadb-10.2.8.ebuild +++ b/dev-db/mariadb/mariadb-10.2.8.ebuild @@ -30,7 +30,7 @@ LICENSE="GPL-2 LGPL-2.1+" SLOT="0/${SUBSLOT:-0}" IUSE="+backup bindist cracklib debug embedded extraengine galera innodb-lz4 innodb-lzo innodb-snappy jdbc jemalloc kerberos latin1 libressl mroonga - odbc oqgraph pam +perl profiling rocksdb selinux +server sphinx + numa odbc oqgraph pam +perl profiling rocksdb selinux +server sphinx sst-rsync sst-xtrabackup static static-libs systemd systemtap tcmalloc test tokudb xml yassl" @@ -100,6 +100,7 @@ COMMON_DEPEND=" innodb-lz4? ( app-arch/lz4 ) innodb-lzo? ( dev-libs/lzo ) innodb-snappy? ( app-arch/snappy ) + numa? ( sys-process/numactl ) oqgraph? ( >=dev-libs/boost-1.40.0:0= dev-libs/judy:0= ) pam? ( virtual/pam:0= ) systemd? ( sys-apps/systemd:= ) @@ -350,16 +351,19 @@ multilib_src_configure() { fi # bfd.h is only used starting with 10.1 and can be controlled by NOT_FOR_DISTRIBUTION + # systemtap only works on native ABI bug 530132 if multilib_is_native_abi; then mycmakeargs+=( -DWITH_READLINE=$(usex bindist 1 0) -DNOT_FOR_DISTRIBUTION=$(usex bindist 0 1) + -DENABLE_DTRACE=$(usex systemtap) ) else mycmakeargs+=( -DWITHOUT_TOOLS=1 -DWITH_READLINE=1 -DNOT_FOR_DISTRIBUTION=0 + -DENABLE_DTRACE=0 ) fi @@ -399,7 +403,8 @@ multilib_src_configure() { -DINSTALL_SQLBENCHDIR=share/mariadb -DPLUGIN_ROCKSDB=$(usex rocksdb DYNAMIC NO) # systemd is only linked to for server notification - -DWITH_SYSTEMD=$(usex systemd) + -DWITH_SYSTEMD=$(usex systemd yes no) + -DWITH_NUMA=$(usex numa ON OFF) ) if use test ; then # This is needed for the new client lib which tests a real, open server @@ -462,17 +467,10 @@ multilib_src_configure() { -DWITHOUT_EMBEDDED_SERVER=1 -DEXTRA_CHARSETS=none -DINSTALL_SQLBENCHDIR= - -DWITH_SYSTEMD=NO + -DWITH_SYSTEMD=no ) fi - # systemtap only works on native ABI bug 530132 - if multilib_is_native_abi; then - mycmakeargs+=( -DENABLE_DTRACE=$(usex systemtap) ) - else - mycmakeargs+=( -DENABLE_DTRACE=0 ) - fi - cmake-utils_src_configure } @@ -487,9 +485,9 @@ multilib_src_compile() { src_install() { # headers with ABI specific data local MULTILIB_WRAPPED_HEADERS=( - /usr/include/mysql/my_config.h - /usr/include/mysql/private/embedded_priv.h - /usr/include/mysql/mysql_version.h + /usr/include/mysql/server/my_config.h + /usr/include/mysql/server/private/embedded_priv.h + /usr/include/mysql/server/mysql_version.h /usr/include/mariadb/mariadb_version.h /usr/include/mysql/mariadb_version.h /usr/include/mysql/private/probes_mysql_nodtrace.h @@ -508,12 +506,12 @@ multilib_src_install() { mysql_init_vars # Remove an unnecessary, private config header which will never match between ABIs and is not meant to be used - if [[ -f "${D}/usr/include/mysql/private/config.h" ]] ; then - rm "${D}/usr/include/mysql/private/config.h" || die + if [[ -f "${D}/usr/include/mysql/server/private/config.h" ]] ; then + rm "${D}/usr/include/mysql/server/private/config.h" || die fi if ! multilib_is_native_abi && use server ; then - insinto /usr/include/mysql/private + insinto /usr/include/mysql/server/private doins "${S}"/sql/*.h fi diff --git a/dev-db/mariadb/metadata.xml b/dev-db/mariadb/metadata.xml index 04e2f81f0467..fdd74b49ca9d 100644 --- a/dev-db/mariadb/metadata.xml +++ b/dev-db/mariadb/metadata.xml @@ -5,11 +5,6 @@ <email>mysql-bugs@gentoo.org</email> <name>MySQL</name> </maintainer> -<!-- -Please note that this list is shared between the following packages: -dev-db/mysql -dev-db/mariadb ---> <use> <flag name="backup">Build mariadb-backup which supports SST and hot backup of InnoDB, Aria and MyISAM including compression and encryption</flag> <flag name="cluster">Add support for NDB clustering (deprecated)</flag> @@ -27,6 +22,7 @@ dev-db/mariadb <flag name="max-idx-128">Raise the max index per table limit from 64 to 128</flag> <flag name="minimal">Install client programs only, no server</flag> <flag name="mroonga">Add support for the Mroonga engine for interfacing with the Groonga text search</flag> + <flag name="numa">Enable NUMA support using sys-process/numactl (NUMA kernel support is also required)</flag> <flag name="openssl">Enable SSL connections and crypto functions using <pkg>dev-libs/openssl</pkg></flag> <flag name="oqgraph">Add support for the Open Query GRAPH engine</flag> <flag name="pam">Enable the optional PAM authentication plugin for the server</flag> diff --git a/profiles/arch/alpha/package.use.mask b/profiles/arch/alpha/package.use.mask index 859908ff1910..d7c8a64f35d0 100644 --- a/profiles/arch/alpha/package.use.mask +++ b/profiles/arch/alpha/package.use.mask @@ -1,6 +1,10 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +# Brian Evans <grknight@gentoo.org> (21 Aug 2017) +# No keywords for sys-process/numactl +dev-db/mariadb numa + # Gilles Dartiguelongue <eva@gentoo.org> (16 Aug 2017) # missing keyword on dev-python/dbusmock, bug #620024 >=gnome-base/gnome-settings-daemon-3.24 test diff --git a/profiles/arch/sparc/package.use.mask b/profiles/arch/sparc/package.use.mask index db1c78844ad2..d3b10d446e4d 100644 --- a/profiles/arch/sparc/package.use.mask +++ b/profiles/arch/sparc/package.use.mask @@ -1,6 +1,10 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +# Brian Evans <grknight@gentoo.org> (21 Aug 2017) +# No keywords for sys-process/numactl +dev-db/mariadb numa + # Gilles Dartiguelongue <eva@gentoo.org> (16 Aug 2017) # missing keyword on dev-python/dbusmock, bug #620024 >=gnome-base/gnome-settings-daemon-3.24 test |