diff --git a/.github/workflows/llvm-build.yml b/.github/workflows/llvm-build.yml index e8daecfb0c58..53755ae8ede7 100644 --- a/.github/workflows/llvm-build.yml +++ b/.github/workflows/llvm-build.yml @@ -30,10 +30,9 @@ jobs: - {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: 'AlmaLinux 8', runs_on: ['self-hosted', 'CPU'], target-os: 'almalinux', 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'} - # TODO(#2805): add back once the workflow works and runs in comparable time to the other ones - # - {runner: 'Windows Latest', runs_on: 'windows-latest', target-os: 'windows', arch: 'x64'} + - {runner: 'MacOS X64', runs_on: 'macos-13', target-os: 'macos', arch: 'x64'} + - {runner: 'MacOS ARM64', runs_on: 'macos-13', target-os: 'macos', arch: 'arm64'} + - {runner: 'Windows Latest', runs_on: 'windows-latest', target-os: 'windows', arch: 'x64'} steps: @@ -127,7 +126,8 @@ jobs: -DLLVM_BUILD_TOOLS=ON -DLLVM_ENABLE_ASSERTIONS=ON -DMLIR_ENABLE_BINDINGS_PYTHON=ON - -DLLVM_ENABLE_PROJECTS="clang;mlir" + -DLLVM_ENABLE_PROJECTS="mlir;llvm" + -DLLVM_ENABLE_DIA_SDK=OFF -DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD="host;NVPTX;AMDGPU" -DLLVM_ENABLE_TERMINFO=OFF @@ -300,6 +300,7 @@ jobs: - name: Upload LLVM Artifacts to Azure if: ${{ (github.repository == 'triton-lang/triton') }} + shell: bash -el {0} run: | az storage blob upload --account-name oaitriton --auth-mode login --container-name public --file "${{ env.llvm_install_dir }}.tar.gz" --name "llvm-builds/${{ env.llvm_install_dir }}.tar.gz" --overwrite