aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-framework/tensorflow/files/0001-Revert-set-distinct_host_configuration-false-by-defa.patch
blob: adc4661870af7409c0afda79acb929ca7c73f83c (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
26
27
28
29
30
31
32
33
From 0076b9b52016c7a22c4418d25945ebc893a67b12 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Mon, 16 May 2022 00:53:00 -0700
Subject: [PATCH] Revert "set --distinct_host_configuration=false by default
 for linux builds"

This reverts commit 0f9af911152880e36b2bfa8435e3746b9e329660.

Revert it to support cross compile

Upstream-Status: Inappropriate [oe specific]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .bazelrc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/.bazelrc b/.bazelrc
index a71ade6950f..9f7627bb7c6 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -355,8 +355,6 @@ build:windows --features=compiler_param_file
 
 # On windows, we never cross compile
 build:windows --distinct_host_configuration=false
-# On linux, don't cross compile by default
-build:linux --distinct_host_configuration=false
 
 # Do not risk cache corruption. See:
 # https://github.com/bazelbuild/bazel/issues/3360
-- 
2.36.0