Brian Silverman | 7a7c24d | 2018-09-01 17:49:09 -0700 | [diff] [blame^] | 1 | licenses(["notice"]) |
Brian Silverman | c058dbf | 2015-09-26 17:39:15 -0400 | [diff] [blame] | 2 | |
Brian Silverman | 8d3816a | 2017-07-03 18:52:15 -0700 | [diff] [blame] | 3 | load("//tools:environments.bzl", "mcu_cpus") |
| 4 | |
Brian Silverman | c058dbf | 2015-09-26 17:39:15 -0400 | [diff] [blame] | 5 | cc_library( |
Brian Silverman | 7a7c24d | 2018-09-01 17:49:09 -0700 | [diff] [blame^] | 6 | 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 Silverman | c058dbf | 2015-09-26 17:39:15 -0400 | [diff] [blame] | 28 | ) |