blob: e9cef5b341f38aa03748dd179acdf52603108b0d [file] [log] [blame]
Serge Bazanskibb7db922020-04-30 12:43:10 +02001Copyright 2020 The Monogon Project Authors.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is distributed on an "AS IS" BASIS,
11WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14
15
16From 16e16b82c44cf48f0752a74de83845263fd04fda Mon Sep 17 00:00:00 2001
17From: Lorenz Brun <lorenz@brun.one>
18Date: Wed, 5 Feb 2020 16:37:42 +0100
19Subject: [PATCH] Build the plugins we need in pure mode
20
21---
22 plugins/ipam/host-local/BUILD.bazel | 1 +
23 plugins/main/loopback/BUILD.bazel | 1 +
24 plugins/main/ptp/BUILD.bazel | 1 +
25 3 files changed, 3 insertions(+)
26
27diff --git a/plugins/ipam/host-local/BUILD.bazel b/plugins/ipam/host-local/BUILD.bazel
28index ce1f2d6..72817a6 100644
29--- a/plugins/ipam/host-local/BUILD.bazel
30+++ b/plugins/ipam/host-local/BUILD.bazel
31@@ -22,6 +22,7 @@ go_library(
32 go_binary(
33 name = "host-local",
34 embed = [":go_default_library"],
35+ pure = "on",
36 visibility = ["//visibility:public"],
37 )
38
39diff --git a/plugins/main/loopback/BUILD.bazel b/plugins/main/loopback/BUILD.bazel
40index c4d6e00..952bfb1 100644
41--- a/plugins/main/loopback/BUILD.bazel
42+++ b/plugins/main/loopback/BUILD.bazel
43@@ -19,6 +19,7 @@ go_library(
44 go_binary(
45 name = "loopback",
46 embed = [":go_default_library"],
47+ pure = "on",
48 visibility = ["//visibility:public"],
49 )
50
51diff --git a/plugins/main/ptp/BUILD.bazel b/plugins/main/ptp/BUILD.bazel
52index 512de12..2eb5d50 100644
53--- a/plugins/main/ptp/BUILD.bazel
54+++ b/plugins/main/ptp/BUILD.bazel
55@@ -23,6 +23,7 @@ go_library(
56 go_binary(
57 name = "ptp",
58 embed = [":go_default_library"],
59+ pure = "on",
60 visibility = ["//visibility:public"],
61 )
62
63--
642.20.1