can I rebuild the deb package from the source code by disabling the AVX dependency? because I need to install the version >= 6.x on a VM that does not support AVX
Hi @Mykhailo_Chornii !
Theoretically you can rebuild percona server for mongodb without AVX dependency.
For this please follow the instructions from the docs, but before building it you need to modify the SConstruct file by removing default +sandybridge
optimization. Change this part
add_option('experimental-optimization',
action="append",
choices=experimental_optimization_choices,
const=experimental_optimization_choices[0],
default=['+sandybridge'],
help='Enable experimental optimizations',
nargs='?',
type='choice'
)
to this
add_option('experimental-optimization',
action="append",
choices=experimental_optimization_choices,
const=experimental_optimization_choices[0],
default=[],
help='Enable experimental optimizations',
nargs='?',
type='choice'
)
But keep in mind that we haven’t tested it so there may be performance issues