Commit 3adf3b8
committed
Revert "[OHOS] Add support for OpenHarmony"
This reverts commit c417b7a.
Huawei is currently under U.S. government sanctions.
Additionally, their approach to PC restrictions contradicts the
principles of open-source software, particularly in relation to
LLVM. By promoting a locked-down ecosystem on PC, they undermine the
fundamental openness that LLVM aims to support.
The 23,999 CNY (3,333.46 USD) and 29,999 CNY (4,166.86 USD) PCs appear
to restrict users to an app store environment, preventing installation
of alternative operating systems, running executables, and sideloading
applications. This level of control limits user freedom and is
inconsistent with the core philosophy of open-source software.
The pricing is excessively high without offering hardware value
that justifies the cost, seemingly catering more to materialism,
extreme nationalism and
profit-driven motives rather than genuine innovation or user benefit.
They market their OS as "open," but in practice, it does not prioritize
openness for end users. Instead, the term appears to be more of a promotional
slogan rather than a true commitment to open-source principles or user freedom.
Furthermore, Huawei representatives have engaged in discussions on GitHub
without actively contributing patches, including within the Microsoft VSCode
project. Given that VSCode does not support locked-down operating systems
such as iOS, the relevance of their involvement is questionable—especially
considering that Huawei Next is a locked-down PC incapable of running
independent programs.
A development environment should enable programmers to execute the code they write.
The Chinese open-source community, generally speaking, does not support Huawei’s
approach in this regard.
As a response, this patch removes support for Huawei OpenHarmony and its variants,
as well as Harmony Next (a walled-garden OS), from the LLVM upstream repository.1 parent 835bba9 commit 3adf3b8
File tree
9 files changed
+6
-39
lines changed- llvm
- include/llvm
- BinaryFormat
- TargetParser
- lib
- TargetParser
- Target/ARM
- test/CodeGen/AArch64
- unittests/TargetParser
9 files changed
+6
-39
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | 122 | | |
124 | 123 | | |
125 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
241 | 240 | | |
242 | 241 | | |
243 | 242 | | |
| |||
299 | 298 | | |
300 | 299 | | |
301 | 300 | | |
302 | | - | |
303 | 301 | | |
304 | 302 | | |
305 | 303 | | |
| |||
825 | 823 | | |
826 | 824 | | |
827 | 825 | | |
828 | | - | |
829 | | - | |
| 826 | + | |
830 | 827 | | |
831 | 828 | | |
832 | | - | |
833 | | - | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | | - | |
838 | | - | |
839 | | - | |
840 | 829 | | |
841 | 830 | | |
842 | 831 | | |
| |||
912 | 901 | | |
913 | 902 | | |
914 | 903 | | |
915 | | - | |
916 | 904 | | |
917 | 905 | | |
918 | 906 | | |
| |||
1122 | 1110 | | |
1123 | 1111 | | |
1124 | 1112 | | |
1125 | | - | |
| 1113 | + | |
1126 | 1114 | | |
1127 | 1115 | | |
1128 | 1116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
373 | | - | |
| 372 | + | |
374 | 373 | | |
375 | 374 | | |
376 | 375 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
249 | | - | |
| 248 | + | |
250 | 249 | | |
251 | 250 | | |
252 | 251 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
571 | | - | |
572 | | - | |
| 571 | + | |
573 | 572 | | |
574 | 573 | | |
575 | 574 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
322 | 321 | | |
323 | 322 | | |
324 | 323 | | |
| |||
381 | 380 | | |
382 | 381 | | |
383 | 382 | | |
384 | | - | |
385 | 383 | | |
386 | 384 | | |
387 | 385 | | |
| |||
713 | 711 | | |
714 | 712 | | |
715 | 713 | | |
716 | | - | |
717 | 714 | | |
718 | 715 | | |
719 | 716 | | |
| |||
768 | 765 | | |
769 | 766 | | |
770 | 767 | | |
771 | | - | |
772 | 768 | | |
773 | 769 | | |
774 | 770 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1289 | 1289 | | |
1290 | 1290 | | |
1291 | 1291 | | |
1292 | | - | |
1293 | | - | |
1294 | | - | |
1295 | | - | |
1296 | | - | |
1297 | | - | |
1298 | | - | |
1299 | | - | |
1300 | | - | |
1301 | | - | |
1302 | | - | |
1303 | | - | |
1304 | 1292 | | |
1305 | 1293 | | |
1306 | 1294 | | |
| |||
0 commit comments