summaryrefslogtreecommitdiff
path: root/sci-libs/tensorflow/files/tensorflow-2.14.1-0010-systemlib-fix-missing-osx-in-pybind11.patch
blob: 24b7cf4eec9006b494cd53c48136f66898fd14bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From ce5e7c9b7f0a667514a65dc58ca67b61fa591c8f Mon Sep 17 00:00:00 2001
From: wangjiezhe <wangjiezhe@gmail.com>
Date: Thu, 21 Dec 2023 22:22:35 +0800
Subject: [PATCH 10/13] systemlib: fix missing `:osx` in pybind11

---
 third_party/systemlibs/pybind11.BUILD | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/third_party/systemlibs/pybind11.BUILD b/third_party/systemlibs/pybind11.BUILD
index 79a483d7b5d..cda63fbd019 100644
--- a/third_party/systemlibs/pybind11.BUILD
+++ b/third_party/systemlibs/pybind11.BUILD
@@ -6,3 +6,8 @@ cc_library(
         "@org_tensorflow//third_party/python_runtime:headers",
     ],
 )
+
+config_setting(
+    name = "osx",
+    constraint_values = ["@platforms//os:osx"],
+)
-- 
2.41.0