Skip to content

Commit c48e902

Browse files
authored
Update LLVM version to 13.0.1 (#351)
* Use LLVM 13.0.1 * Use Visual Studio 2022 for building on Windows * Use Ubuntu 18.04 containers for building on Linux
1 parent 6fedaca commit c48e902

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

build-coredistools.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if not exist "%BinariesDirectory%" (
5353
pushd "%BinariesDirectory%"
5454

5555
cmake.exe ^
56-
-G "Visual Studio 16 2019" ^
56+
-G "Visual Studio 17 2022" ^
5757
-A %GeneratorPlatform% ^
5858
-DCMAKE_INSTALL_PREFIX="%StagingDirectory%" ^
5959
-DLLVM_DEFAULT_TARGET_TRIPLE=%LLVMDefaultTargetTriple% ^

build-tblgen.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if not exist "%BinariesDirectory%" (
2020
pushd "%BinariesDirectory%"
2121

2222
cmake.exe ^
23-
-G "Visual Studio 16 2019" ^
23+
-G "Visual Studio 17 2022" ^
2424
-DCMAKE_INSTALL_PREFIX="%RootDirectory%\" ^
2525
-DLLVM_TARGETS_TO_BUILD=AArch64;ARM;X86 ^
2626
"%SourcesDirectory%\llvm-project\llvm"

coredistools.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ trigger:
2828

2929
resources:
3030
containers:
31-
- container: ubuntu-16.04-arm
32-
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-cross-20210719121212-8a8d3be
33-
- container: ubuntu-16.04-arm64
34-
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-cross-arm64-20210719121212-8a8d3be
31+
- container: ubuntu-18.04-arm
32+
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-cross-20220312201346-b9de666
33+
- container: ubuntu-18.04-arm64
34+
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-cross-arm64-20220312201346-b2c2436
3535

3636
variables:
3737
LLVMRepositoryUri: https://github.com/llvm/llvm-project.git
3838
LLVMSourceBundle: llvm-project.bundle
39-
LLVMSourceVersion: llvmorg-13.0.0
39+
LLVMSourceVersion: llvmorg-13.0.1
4040

4141
jobs:
4242
- job: checkout_llvm
@@ -73,12 +73,12 @@ jobs:
7373
strategy:
7474
matrix:
7575
arm:
76-
ContainerImage: ubuntu-16.04-arm
76+
ContainerImage: ubuntu-18.04-arm
7777
CrossRootfsDirectory: /crossrootfs/arm
7878
TargetOSArchitecture: linux-arm
7979

8080
arm64:
81-
ContainerImage: ubuntu-16.04-arm64
81+
ContainerImage: ubuntu-18.04-arm64
8282
CrossRootfsDirectory: /crossrootfs/arm64
8383
TargetOSArchitecture: linux-arm64
8484

eng/download-llvm-release.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
from urllib.error import URLError, HTTPError
1313

1414
Release_urls = {
15-
'llvmorg-13.0.0': {
16-
'linux': 'https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/clang+llvm-13.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz',
17-
'macos': 'https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/clang+llvm-13.0.0-x86_64-apple-darwin.tar.xz'
15+
'llvmorg-13.0.1': {
16+
'linux': 'https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.1/clang+llvm-13.0.1-x86_64-linux-gnu-ubuntu-18.04.tar.xz',
17+
'macos': 'https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.1/clang+llvm-13.0.1-x86_64-apple-darwin.tar.xz'
1818
}
1919
}
2020

0 commit comments

Comments
 (0)