blob: 8fe7fa6d2e8cb275d0180cef51d0fad083e0f12e [file] [log] [blame]
Brian Silverman7a7c24d2018-09-01 17:49:09 -07001licenses(["notice"])
Brian Silvermanc058dbf2015-09-26 17:39:15 -04002
Brian Silverman8d3816a2017-07-03 18:52:15 -07003load("//tools:environments.bzl", "mcu_cpus")
4
Brian Silvermanc058dbf2015-09-26 17:39:15 -04005cc_library(
Brian Silverman7a7c24d2018-09-01 17:49:09 -07006 name = "eigen",
7 srcs = glob(["Eigen/src/**/*.h"]),
8 hdrs = glob(
9 ["Eigen/*"],
10 exclude = [
11 # Stuff that we don't have the dependencies for.
12 "Eigen/CholmodSupport",
13 "Eigen/MetisSupport",
14 "Eigen/PaStiXSupport",
15 "Eigen/PardisoSupport",
16 "Eigen/SPQRSupport",
17 "Eigen/SuperLUSupport",
18 "Eigen/UmfPackSupport",
19 ],
20 ) + ["unsupported/Eigen/MatrixFunctions"] + glob([
21 "unsupported/Eigen/src/MatrixFunctions/*.h",
22 ]),
23 compatible_with = mcu_cpus + [
24 "//tools:armhf-debian",
25 ],
26 includes = ["."],
27 visibility = ["//visibility:public"],
Brian Silvermanc058dbf2015-09-26 17:39:15 -040028)