diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-26 00:09:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-26 00:09:36 +0100 |
commit | b1c81de4fadbd00897700a7321f03b390d952b2e (patch) | |
tree | e6cc812351d4f105c110cfc363ebb497e996f47a /dev-db/mongodb/mongodb-5.0.2.ebuild | |
parent | 7c59acba5699c9c58090a7a738669669a7307023 (diff) |
gentoo resync : 26.08.2021
Diffstat (limited to 'dev-db/mongodb/mongodb-5.0.2.ebuild')
-rw-r--r-- | dev-db/mongodb/mongodb-5.0.2.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-db/mongodb/mongodb-5.0.2.ebuild b/dev-db/mongodb/mongodb-5.0.2.ebuild index 03eb379258b4..a2ee4340b7f1 100644 --- a/dev-db/mongodb/mongodb-5.0.2.ebuild +++ b/dev-db/mongodb/mongodb-5.0.2.ebuild @@ -21,7 +21,8 @@ SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz" LICENSE="Apache-2.0 SSPL-1" SLOT="0" KEYWORDS="~amd64 ~arm64 -riscv" -IUSE="debug kerberos lto mongosh ssl +tools" +CPU_FLAGS="cpu_flags_x86_avx" +IUSE="debug kerberos lto mongosh ssl +tools ${CPU_FLAGS}" # https://github.com/mongodb/mongo/wiki/Test-The-Mongodb-Server # resmoke needs python packages not yet present in Gentoo @@ -77,6 +78,13 @@ python_check_deps() { } pkg_pretend() { + # Bug 809692 + if ! use cpu_flags_x86_avx; then + eerror "MongoDB 5.0 requires use of the AVX instruction set" + eerror "https://docs.mongodb.com/v5.0/administration/production-notes/" + die "MongoDB requires AVX" + fi + if [[ -n ${REPLACING_VERSIONS} ]]; then if ver_test "$REPLACING_VERSIONS" -lt 4.4; then ewarn "To upgrade from a version earlier than the 4.4-series, you must" |