Brian Silverman | c058dbf | 2015-09-26 17:39:15 -0400 | [diff] [blame] | 1 | licenses(['notice']) |
| 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( |
| 6 | name = 'eigen', |
| 7 | visibility = ['//visibility:public'], |
| 8 | srcs = glob(['Eigen/src/**/*.h']), |
| 9 | includes = ['.'], |
Brian Silverman | b200c17 | 2017-01-02 17:35:35 -0800 | [diff] [blame] | 10 | hdrs = glob(['Eigen/*'], exclude=[ |
Brian Silverman | c058dbf | 2015-09-26 17:39:15 -0400 | [diff] [blame] | 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', |
Austin Schuh | ed00685 | 2017-02-18 22:32:35 -0800 | [diff] [blame] | 19 | ]) + ['unsupported/Eigen/MatrixFunctions'] + |
| 20 | glob(['unsupported/Eigen/src/MatrixFunctions/*.h']), |
Brian Silverman | 8d3816a | 2017-07-03 18:52:15 -0700 | [diff] [blame^] | 21 | compatible_with = mcu_cpus, |
Brian Silverman | c058dbf | 2015-09-26 17:39:15 -0400 | [diff] [blame] | 22 | ) |