Skip to content

Commit

Permalink
Merge pull request #440 from refi64/chromium-llvm-url
Browse files Browse the repository at this point in the history
chromiumchecker: Switch prebuilt Clang url to use .tar.xz
  • Loading branch information
wjt authored Sep 19, 2024
2 parents a01c775 + d19426d commit 6e156e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/checkers/chromiumchecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class LLVMPrebuiltComponent(LLVMComponent):

_PREBUILT_URL_FORMAT = (
"https://commondatastorage.googleapis.com"
"/chromium-browser-clang/Linux_x64/clang-{revision}-{sub_revision}.tgz"
"/chromium-browser-clang/Linux_x64/clang-{revision}-{sub_revision}.tar.xz"
)

async def check(self) -> None:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_chromiumchecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async def test_check(self):
elif data.filename.startswith("clang-"):
self.assertRegex(
data.new_version.url,
r"^https://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/clang-.*\.tgz$", # noqa: E501
r"^https://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/clang-.*\.tar\.xz$", # noqa: E501
)
self.assertNotEqual(
data.new_version.checksum,
Expand Down

0 comments on commit 6e156e0

Please sign in to comment.