blob: f3036f257927825b188bc0b0093a80f53da63791 [file] [log] [blame]
Brian Silverman7a7c24d2018-09-01 17:49:09 -07001licenses(["notice"])
Brian Silvermanc058dbf2015-09-26 17:39:15 -04002
Alex Perrycb7da4b2019-08-28 19:35:56 -07003load("@//tools:environments.bzl", "mcu_cpus")
Brian Silverman8d3816a2017-07-03 18:52:15 -07004
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 ]),
James Kuszmaul6271cf72019-09-18 20:10:08 -070023 compatible_with = mcu_cpus + ["@//tools:web"],
Brian Silverman7a7c24d2018-09-01 17:49:09 -070024 includes = ["."],
25 visibility = ["//visibility:public"],
Brian Silvermanc058dbf2015-09-26 17:39:15 -040026)