Skip to content

Commit 31de3d9

Browse files
thunder-codingFreed-Wu
authored andcommitted
TERMUX_PKG_BLACKLISTED_ARCHES is now TERMUX_PKG_EXCLUDED_ARCHES
1 parent 9cab023 commit 31de3d9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/termux_language_server/assets/json/build.sh.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
"false"
176176
]
177177
},
178-
"TERMUX_PKG_BLACKLISTED_ARCHES": {
178+
"TERMUX_PKG_EXCLUDED_ARCHES": {
179179
"type": "string",
180180
"description": "Comma-separated list of CPU architectures for which package cannot be compiled.",
181181
"pattern": "[a-z][a-z0-9-]*(, [a-z][a-z0-9-]*)*"

src/termux_language_server/finders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def __post_init__(self) -> None:
292292
293293
:rtype: None
294294
"""
295-
self.csvs -= {"TERMUX_PKG_BLACKLISTED_ARCHES"}
295+
self.csvs -= {"TERMUX_PKG_EXCLUDED_ARCHES"}
296296

297297
def __call__(self, uni: UNI) -> bool:
298298
r"""Call.

tests/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ TERMUX_PKG_AUTO_UPDATE=true
1717

1818
# XXX: llama.cpp uses `int64_t`, but on 32-bit Android `size_t` is `int32_t`.
1919
# XXX: I don't think it will work if we simply casting it.
20-
TERMUX_PKG_BLACKLISTED_ARCHES=(arm i686)
20+
TERMUX_PKG_EXCLUDED_ARCHES=(arm i686)
2121

2222
termux_pkg_auto_update() {
2323
local latest_tag

0 commit comments

Comments
 (0)