From d0e06760ec65baf78d25a0847445df1721c73e57 Mon Sep 17 00:00:00 2001 From: Sameer Agarwal Date: Mon, 9 Apr 2018 10:32:32 -0700 Subject: [PATCH] Bring the Bazel build in sync with the CMake build. 1. Remove defines which are not used anymore. 2. Enable CXX11 threading. 3. Enable EIGEN_SPARSE by default. Change-Id: I841ba517367e6b204475e5255c91313f01a5bcdb --- bazel/ceres.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bazel/ceres.bzl b/bazel/ceres.bzl index 8963370ef..ea6392ab2 100644 --- a/bazel/ceres.bzl +++ b/bazel/ceres.bzl @@ -193,9 +193,9 @@ def ceres_library(name, defines = [ "CERES_NO_SUITESPARSE", "CERES_NO_CXSPARSE", - "CERES_NO_THREADS", "CERES_NO_LAPACK", - "CERES_STD_UNORDERED_MAP", + "CERES_USE_EIGEN_SPARSE", + "CERES_USE_CXX11_THREADS", "CERES_GFLAGS_NAMESPACE=" + gflags_namespace, ], includes = [