blob: e66382cd50af418ea6c8cccc99e68cea3a4d0404 [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 ]),
Austin Schuh972e47e2018-12-20 17:20:58 -080023 compatible_with = mcu_cpus,
Brian Silverman7a7c24d2018-09-01 17:49:09 -070024 includes = ["."],
25 visibility = ["//visibility:public"],
Brian Silvermanc058dbf2015-09-26 17:39:15 -040026)