[dev-db/mongodb] sync with tree
This commit is contained in:
parent
274a1ca377
commit
778d3cf61b
@ -83,11 +83,12 @@ python_check_deps() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pkg_pretend() {
|
pkg_pretend() {
|
||||||
# Bug 809692
|
# Bug 809692 + 890294
|
||||||
if use amd64 && ! use cpu_flags_x86_avx; then
|
if use amd64 && ! use cpu_flags_x86_avx; then
|
||||||
eerror "MongoDB 5.0 requires use of the AVX instruction set"
|
ewarn "MongoDB 5.0 requires use of the AVX instruction set."
|
||||||
eerror "https://docs.mongodb.com/v5.0/administration/production-notes/"
|
ewarn "This ebuild will use --experimental-optimization=-sandybridge which"
|
||||||
die "MongoDB requires AVX"
|
ewarn "will result in an experimental build of MongoDB as per upstream."
|
||||||
|
ewarn "https://docs.mongodb.com/v5.0/administration/production-notes/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
||||||
@ -132,6 +133,7 @@ src_configure() {
|
|||||||
)
|
)
|
||||||
|
|
||||||
use arm64 && scons_opts+=( --use-hardware-crc32=off ) # Bug 701300
|
use arm64 && scons_opts+=( --use-hardware-crc32=off ) # Bug 701300
|
||||||
|
use amd64 && ! use cpu_flags_x86_avx && scons_opts+=( --experimental-optimization=-sandybridge ) # Bug 890294
|
||||||
use debug && scons_opts+=( --dbg=on )
|
use debug && scons_opts+=( --dbg=on )
|
||||||
use kerberos && scons_opts+=( --use-sasl-client )
|
use kerberos && scons_opts+=( --use-sasl-client )
|
||||||
use lto && scons_opts+=( --lto=on )
|
use lto && scons_opts+=( --lto=on )
|
Loading…
x
Reference in New Issue
Block a user