From 11ed82555e7e49c9f8136e609b2282536130b37d Mon Sep 17 00:00:00 2001 From: mpl Date: Fri, 30 Oct 2015 19:19:05 +0100 Subject: [PATCH] make.go: default sqlite to "false" instead of "auto" Even if sqlite libs are installed on the host, since sqlite as an indexer seems to be less efficient than kvfile (and way less efficient than leveldb) for us, we should not build camlistored with it, unless user-specified. Related: issue #632 (relevant benchmarks posted there). Change-Id: I6f87e554ee03ccb8dbbcf4d918971dba715647f4 --- make.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.go b/make.go index dabb53e14..f275f52f6 100644 --- a/make.go +++ b/make.go @@ -50,7 +50,7 @@ var haveSQLite = checkHaveSQLite() var ( embedResources = flag.Bool("embed_static", true, "Whether to embed resources needed by the UI such as images, css, and javascript.") - sqlFlag = flag.String("sqlite", "auto", "Whether you want SQLite in your build: true, false, or auto.") + sqlFlag = flag.String("sqlite", "false", "Whether you want SQLite in your build: true, false, or auto.") all = flag.Bool("all", false, "Force rebuild of everything (go install -a)") race = flag.Bool("race", false, "Build race-detector version of binaries (they will run slowly)") verbose = flag.Bool("v", strings.Contains(os.Getenv("CAMLI_DEBUG_X"), "makego"), "Verbose mode")