Skip to content

Commit

Permalink
Update build-llvm.py
Browse files Browse the repository at this point in the history
加入清华镜像,加速下载kernel 
https://mirrors.tuna.tsinghua.edu.cn/kernel/v6.x
  • Loading branch information
tomxi1997 authored Jan 31, 2024
1 parent 4592c1e commit d26871b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build-llvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,8 @@
lsm.location = Path(src_folder, f"linux-{ver_str}")
lsm.patches = list(src_folder.glob('*.patch'))

lsm.tarball.base_download_url = 'https://cdn.kernel.org/pub/linux/kernel/v6.x'
#lsm.tarball.base_download_url = 'https://cdn.kernel.org/pub/linux/kernel/v6.x'
lsm.tarball.base_download_url = 'https://mirrors.tuna.tsinghua.edu.cn/kernel/v6.x'
lsm.tarball.local_location = lsm.location.with_name(f"{lsm.location.name}.tar.xz")
lsm.tarball.remote_checksum_name = 'sha256sums.asc'

Expand Down

0 comments on commit d26871b

Please sign in to comment.