Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: always specify PORTABLE=1 when building RocksDB
Something recently changed on the TC agents (presumably usage of a new machine type with a different CPU) so that using `-march=native` when building RocksDB causes AVX512 instructions to be used which are not present on roachprod machines. The result is that binaries built in this way will die with "illegal instruction". RocksDB has a mechanism to disable the use of `-march=native`: pass `PORTABLE=1` to the make command. We were already doing this for release builds. Now we're doing it for all builds. Fixes cockroachdb#58754 Release note: none
- Loading branch information