Skip to content

Commit

Permalink
[BUILD] Fix several minor LLVM build issues (#3202)
Browse files Browse the repository at this point in the history
I'm not able to push LLVM binaries built from this branch to Azure
unfortunately, because it relies on branch filtered Entra ID now,
allowing only `llvm-head` and `main`. So I'll push it to main and then
update the storage from there.
  • Loading branch information
Jokeren authored Feb 27, 2024
1 parent a03e0b0 commit 12bcc7c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/llvm-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
matrix:
config:
- {runner: 'Ubuntu 20.04', runs_on: 'ubuntu-20.04', target-os: 'ubuntu', arch: 'x64'}
- {runner: 'Ubuntu 20.04', runs_on: 'ubuntu-20.04', target-os: 'ubuntu', arch: 'arm64'}
- {runner: 'Ubuntu 20.04 ARM64', runs_on: 'ubuntu-20.04', target-os: 'ubuntu', arch: 'arm64'}
- {runner: 'CentOS 7', runs_on: ['self-hosted', 'CPU'], target-os: 'centos', arch: 'x64'}
- {runner: 'MacOS X64', runs_on: 'macos-12', target-os: 'macos', arch: 'x64'}
- {runner: 'MacOS ARM64', runs_on: 'macos-12', target-os: 'macos', arch: 'arm64'}
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
mkdir arm-sysroot
mkdir -p llvm-project/host-tools
cd llvm-project/host-tools
cmake -G Ninja ../llvm -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="mlir;llvm;clang"
cmake -GNinja ../llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="mlir;llvm;clang"
ninja mlir-tblgen
ninja llvm-tblgen
ninja clang-tblgen
Expand Down Expand Up @@ -205,6 +205,7 @@ jobs:
if: matrix.config.arch == 'arm64' && matrix.config.target-os == 'macos'
run: >
python3 -m pip install -r llvm-project/mlir/python/requirements.txt
cmake -GNinja -Bllvm-project/build
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
Expand Down

0 comments on commit 12bcc7c

Please sign in to comment.