Commit ee4eca9
authored
Build
## Motivation
In a recent addition, we included changes to provide `protoc` as a
binary target from the official releases from the upstream `protobuf`
repository. While this solved one of the largest issues in our ecosystem
where folks currently needed to install `protoc` through a system
package manager, it also introduced another set of problems that binary
targets bring with them.
## Modifications
This PR adds `protobuf` and `abseil-cpp` as a submodule to this project
and includes a new target that builds both together from source. It
includes the minimal set of files from both to successfully build
`protoc` and also passes the right compiler and linker flags to build
those warning free.
## Result
We are no longer using a binary target for `protoc` but instead build it
from source which alleviates the problems that we introduced with the
binary target.protoc from source (#1876)1 parent 03a26d1 commit ee4eca9
12 files changed
Lines changed: 577 additions & 336 deletions
File tree
- .github
- scripts
- workflows
- Documentation
- Sources/protobuf
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 37 | | |
43 | 38 | | |
44 | 39 | | |
45 | 40 | | |
46 | 41 | | |
47 | 42 | | |
48 | | - | |
| 43 | + | |
49 | 44 | | |
50 | 45 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 46 | + | |
66 | 47 | | |
67 | | - | |
68 | 48 | | |
69 | 49 | | |
70 | | - | |
71 | 50 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 51 | | |
88 | | - | |
89 | | - | |
| 52 | + | |
90 | 53 | | |
91 | 54 | | |
92 | 55 | | |
| |||
101 | 64 | | |
102 | 65 | | |
103 | 66 | | |
104 | | - | |
105 | | - | |
| 67 | + | |
106 | 68 | | |
107 | | - | |
108 | | - | |
| 69 | + | |
109 | 70 | | |
110 | | - | |
111 | | - | |
| 71 | + | |
112 | 72 | | |
113 | | - | |
114 | | - | |
| 73 | + | |
115 | 74 | | |
116 | 75 | | |
117 | 76 | | |
| |||
128 | 87 | | |
129 | 88 | | |
130 | 89 | | |
| 90 | + | |
131 | 91 | | |
132 | 92 | | |
133 | 93 | | |
| |||
146 | 106 | | |
147 | 107 | | |
148 | 108 | | |
| 109 | + | |
| 110 | + | |
149 | 111 | | |
150 | 112 | | |
151 | 113 | | |
| |||
167 | 129 | | |
168 | 130 | | |
169 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
170 | 135 | | |
171 | 136 | | |
172 | 137 | | |
173 | 138 | | |
174 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
175 | 143 | | |
176 | 144 | | |
177 | 145 | | |
| |||
201 | 169 | | |
202 | 170 | | |
203 | 171 | | |
| 172 | + | |
| 173 | + | |
204 | 174 | | |
205 | 175 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 20 | + | |
26 | 21 | | |
27 | | - | |
28 | 22 | | |
Lines changed: 0 additions & 19 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 39 | | |
45 | 40 | | |
46 | 41 | | |
47 | 42 | | |
48 | 43 | | |
49 | 44 | | |
50 | | - | |
| 45 | + | |
51 | 46 | | |
52 | 47 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 48 | + | |
83 | 49 | | |
84 | | - | |
85 | | - | |
| 50 | + | |
86 | 51 | | |
87 | 52 | | |
88 | 53 | | |
| |||
97 | 62 | | |
98 | 63 | | |
99 | 64 | | |
100 | | - | |
101 | | - | |
| 65 | + | |
0 commit comments