blob: 4a33fd9453e194ec5160b449a23b32745ef048a2 [file] [log] [blame]
Brian Silvermanc058dbf2015-09-26 17:39:15 -04001licenses(['notice'])
2
Brian Silverman8d3816a2017-07-03 18:52:15 -07003load("//tools:environments.bzl", "mcu_cpus")
4
Brian Silvermanc058dbf2015-09-26 17:39:15 -04005cc_library(
6 name = 'eigen',
7 visibility = ['//visibility:public'],
8 srcs = glob(['Eigen/src/**/*.h']),
9 includes = ['.'],
Brian Silvermanb200c172017-01-02 17:35:35 -080010 hdrs = glob(['Eigen/*'], exclude=[
Brian Silvermanc058dbf2015-09-26 17:39:15 -040011 # 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',
Austin Schuhed006852017-02-18 22:32:35 -080019 ]) + ['unsupported/Eigen/MatrixFunctions'] +
20 glob(['unsupported/Eigen/src/MatrixFunctions/*.h']),
Brian Silverman8d3816a2017-07-03 18:52:15 -070021 compatible_with = mcu_cpus,
Brian Silvermanc058dbf2015-09-26 17:39:15 -040022)