forked from Lainports/freebsd-ports
databases/mongodb50: optionally support pre-AVX CPUs
Upstream defaults to Sandybridge+ CPUs for amd64. It is reported to still work with older CPUs. No revision bump as the change does not impact the default build. PR: 268510 Approved by: rene (mentor) Differential Revision: https://reviews.freebsd.org/D37924
This commit is contained in:
parent
5d942c73f0
commit
fb2179e940
1 changed files with 7 additions and 3 deletions
|
|
@ -43,10 +43,10 @@ MAKE_ARGS= --cxx-std=17 \
|
|||
--libc++ \
|
||||
--runtime-hardening=on \
|
||||
--use-system-boost \
|
||||
--use-system-libunwind \
|
||||
--use-system-pcre \
|
||||
--use-system-snappy \
|
||||
--use-system-stemmer \
|
||||
--use-system-libunwind \
|
||||
--use-system-yaml \
|
||||
--use-system-zlib \
|
||||
--use-system-zstd \
|
||||
|
|
@ -59,11 +59,15 @@ CONFLICTS_INSTALL= mongodb[0-9][0-9] # etc/mongodb.conf.sample
|
|||
USERS= mongodb
|
||||
GROUPS= mongodb
|
||||
|
||||
OPTIONS_DEFINE= LTO SASL SSL
|
||||
OPTIONS_DEFAULT= LTO SASL SSL
|
||||
OPTIONS_DEFINE= LTO SASL SSL NOAVX
|
||||
OPTIONS_DEFAULT= LTO SASL SSL
|
||||
|
||||
NOAVX_DESC= "Disable AVX instructions on amd64 (Sandybridge+)"
|
||||
|
||||
LTO_MAKE_ARGS= --lto=on
|
||||
|
||||
NOAVX_MAKE_ARGS= --experimental-optimization="-sandybridge"
|
||||
|
||||
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
|
||||
SASL_MAKE_ARGS= --use-sasl-client
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue