From 36ad75778bfaad69ee59d29eb4f2e86ff28f7af5 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Fri, 17 Mar 2017 11:39:00 -0700 Subject: [PATCH] INSTALL: document USE_SSE Summary: Fixes #1790. adamretter siying Closes https://github.com/facebook/rocksdb/pull/1996 Differential Revision: D4730449 Pulled By: IslamAbdelRahman fbshipit-source-id: 19944fa --- INSTALL.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index da7921b8f..64e78412f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,6 +1,6 @@ ## Compilation -**Important**: If you plan to run RocksDB in production, don't compile using default +**Important**: If you plan to run RocksDB in production, don't compile using default `make` or `make all`. That will compile RocksDB in debug mode, which is much slower than release mode. @@ -22,7 +22,8 @@ use binaries compiled by `make all` in production. * By default the binary we produce is optimized for the platform you're compiling on (-march=native or the equivalent). If you want to build a portable binary, add 'PORTABLE=1' before -your make commands, like this: `PORTABLE=1 make static_lib` +your make commands, like this: `PORTABLE=1 make static_lib`. If you want to build a binary that +makes use of SSE4, add 'USE_SSE=1' before your make commands, like this: `USE_SSE=1 make static_lib`. ## Dependencies