From f9b93bf58085b1bd06fa9c3741bc4b7f29ec74cc Mon Sep 17 00:00:00 2001 From: Jason Zaman Date: Fri, 29 Jun 2018 05:09:02 +0800 Subject: eigen: Add install_eigen_headers target for installing to system (#20281) Eigen provides files that are both GPL and MPL. Tensorflow uses only the MPL headers. This target collects all the headers into genfiles so they can be easily installed to /usr/include/ later. Thanks to dennisjenkins@google.com for all the help testing and figuring out what was missing. And to pcloudy@google.com for pointers to the solution. Signed-off-by: Jason Zaman --- third_party/eigen.BUILD | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'third_party/eigen.BUILD') diff --git a/third_party/eigen.BUILD b/third_party/eigen.BUILD index e54c1a4501..759f8a9be9 100644 --- a/third_party/eigen.BUILD +++ b/third_party/eigen.BUILD @@ -69,3 +69,9 @@ cc_library( includes = ["."], visibility = ["//visibility:public"], ) + +filegroup( + name = "eigen_header_files", + srcs = EIGEN_MPL2_HEADER_FILES, + visibility = ["//visibility:public"], +) -- cgit v1.2.3