Rebase from 'upstream'
Added install rule for package.xml
Avoid using architecture-specific optimizations in the build farm.
Avoid building docs and tests.
Disable warnings as errors.