summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/CODEOWNERS4
-rw-r--r--.github/new-prs-labeler.yml8
-rw-r--r--.github/workflows/containers/github-action-ci/Dockerfile6
-rw-r--r--.github/workflows/libcxx-build-containers.yml32
-rw-r--r--.github/workflows/pr-code-format.yml5
-rw-r--r--.github/workflows/premerge.yaml9
6 files changed, 46 insertions, 18 deletions
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index b3511efe6169..302b879e1c1f 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -17,6 +17,7 @@
/runtimes/ @llvm/reviewers-libcxx
/llvm/lib/Analysis/BasicAliasAnalysis.cpp @nikic
+/llvm/lib/Analysis/HashRecognize.cpp @artagnon @pfusik
/llvm/lib/Analysis/InstructionSimplify.cpp @nikic
/llvm/lib/Analysis/LazyValueInfo.cpp @nikic
/llvm/lib/Analysis/ScalarEvolution.cpp @nikic
@@ -112,6 +113,9 @@
/mlir/**/NVGPU*/ @grypp
/mlir/test/**/CUDA/ @grypp
+# MLIR GPU Dialect
+/mlir/**/GPU*/ @fabianmcg
+
# MLIR NVVM Dialect in MLIR
/mlir/**/LLVMIR/**/BasicPtxBuilderInterface* @grypp
/mlir/**/NVVM* @grypp
diff --git a/.github/new-prs-labeler.yml b/.github/new-prs-labeler.yml
index dab3db2616f5..16ada9e1f072 100644
--- a/.github/new-prs-labeler.yml
+++ b/.github/new-prs-labeler.yml
@@ -1090,6 +1090,14 @@ clang:openmp:
- llvm/unittests/Frontend/OpenMP*
- llvm/test/Transforms/OpenMP/**
+clang:temporal-safety:
+ - clang/include/clang/Analysis/Analyses/LifetimeSafety*
+ - clang/lib/Analysis/LifetimeSafety*
+ - clang/unittests/Analysis/LifetimeSafety*
+ - clang/test/Sema/*lifetime-safety*
+ - clang/test/Sema/*lifetime-analysis*
+ - clang/test/Analysis/LifetimeSafety/**
+
clang:as-a-library:
- clang/tools/libclang/**
- clang/bindings/**
diff --git a/.github/workflows/containers/github-action-ci/Dockerfile b/.github/workflows/containers/github-action-ci/Dockerfile
index 8a888f3a411c..f5422b452757 100644
--- a/.github/workflows/containers/github-action-ci/Dockerfile
+++ b/.github/workflows/containers/github-action-ci/Dockerfile
@@ -2,7 +2,7 @@ FROM docker.io/library/ubuntu:24.04 as base
ENV LLVM_SYSROOT=/opt/llvm
FROM base as stage1-toolchain
-ENV LLVM_VERSION=20.1.8
+ENV LLVM_VERSION=21.1.0
RUN apt-get update && \
apt-get install -y \
@@ -73,8 +73,8 @@ RUN apt-get update && \
# caching), so we manually install it here.
# TODO(boomanaiden154): We should return to installing this from the apt
# repository once a version containing the necessary bug fixes is available.
-RUN curl -L 'https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz' > /tmp/sccache.tar.gz && \
- echo "1fbb35e135660d04a2d5e42b59c7874d39b3deb17de56330b25b713ec59f849b /tmp/sccache.tar.gz" | sha256sum -c && \
+RUN curl -L "https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-$(arch)-unknown-linux-musl.tar.gz" > /tmp/sccache.tar.gz && \
+ echo $( [ $(arch) = 'x86_64' ] && echo "1fbb35e135660d04a2d5e42b59c7874d39b3deb17de56330b25b713ec59f849b" || echo "d6a1ce4acd02b937cd61bc675a8be029a60f7bc167594c33d75732bbc0a07400") /tmp/sccache.tar.gz | sha256sum -c && \
tar xzf /tmp/sccache.tar.gz -O --wildcards '*/sccache' > '/usr/local/bin/sccache' && \
rm /tmp/sccache.tar.gz && \
chmod +x /usr/local/bin/sccache
diff --git a/.github/workflows/libcxx-build-containers.yml b/.github/workflows/libcxx-build-containers.yml
index c87ee8e3be25..cbaa8e0f6512 100644
--- a/.github/workflows/libcxx-build-containers.yml
+++ b/.github/workflows/libcxx-build-containers.yml
@@ -32,6 +32,14 @@ jobs:
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
+ # The default Docker storage location for GitHub Actions doesn't have
+ # enough disk space, so change it to /mnt, which has more disk space.
+ - name: Change Docker storage location
+ run: |
+ sudo mkdir /mnt/docker
+ echo '{ "data-root": "/mnt/docker" }' | sudo tee /etc/docker/daemon.json
+ sudo systemctl restart docker
+
- name: Build the Linux builder image
working-directory: libcxx/utils/ci
run: |
@@ -40,11 +48,11 @@ jobs:
env:
TAG: ${{ github.sha }}
- # - name: Build the Android builder image
- # working-directory: libcxx/utils/ci
- # run: docker compose build android-buildkite-builder
- # env:
- # TAG: ${{ github.sha }}
+ - name: Build the Android builder image
+ working-directory: libcxx/utils/ci
+ run: docker compose build android-buildkite-builder
+ env:
+ TAG: ${{ github.sha }}
- name: Log in to GitHub Container Registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
@@ -62,10 +70,10 @@ jobs:
env:
TAG: ${{ github.sha }}
- # - name: Push the Android builder image
- # if: github.event_name == 'push'
- # working-directory: libcxx/utils/ci
- # run: |
- # docker compose push android-buildkite-builder
- # env:
- # TAG: ${{ github.sha }}
+ - name: Push the Android builder image
+ if: github.event_name == 'push'
+ working-directory: libcxx/utils/ci
+ run: |
+ docker compose push android-buildkite-builder
+ env:
+ TAG: ${{ github.sha }}
diff --git a/.github/workflows/pr-code-format.yml b/.github/workflows/pr-code-format.yml
index 5540555ae05e..9341eaf3ce7c 100644
--- a/.github/workflows/pr-code-format.yml
+++ b/.github/workflows/pr-code-format.yml
@@ -52,10 +52,13 @@ jobs:
echo "Formatting files:"
echo "$CHANGED_FILES"
+ # The clang format version should always be upgraded to the first version
+ # of a release cycle (x.1.0) or the last version of a release cycle, or
+ # if there have been relevant clang-format backports.
- name: Install clang-format
uses: aminya/setup-cpp@17c11551771948abc5752bbf3183482567c7caf0 # v1.1.1
with:
- clangformat: 20.1.8
+ clangformat: 21.1.0
- name: Setup Python env
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
diff --git a/.github/workflows/premerge.yaml b/.github/workflows/premerge.yaml
index 9d925517a721..63ab4a835697 100644
--- a/.github/workflows/premerge.yaml
+++ b/.github/workflows/premerge.yaml
@@ -65,7 +65,8 @@ jobs:
# several test suites in a row and discard statistics that we want
# to save in the end.
export SCCACHE_IDLE_TIMEOUT=0
- sccache --start-server
+ mkdir artifacts
+ SCCACHE_LOG=info SCCACHE_ERROR_LOG=$(pwd)/artifacts/sccache.log sccache --start-server
./.ci/monolithic-linux.sh "${projects_to_build}" "${project_check_targets}" "${runtimes_to_build}" "${runtimes_check_targets}" "${runtimes_check_targets_needs_reconfig}" "${enable_cir}"
- name: Upload Artifacts
@@ -107,9 +108,13 @@ jobs:
echo "Building projects: ${projects_to_build}"
echo "Running project checks targets: ${project_check_targets}"
+ echo "Building runtimes: ${runtimes_to_build}"
+ echo "Running runtimes checks targets: ${runtimes_check_targets}"
echo "windows-projects=${projects_to_build}" >> $GITHUB_OUTPUT
echo "windows-check-targets=${project_check_targets}" >> $GITHUB_OUTPUT
+ echo "windows-runtimes=${runtimes_to_build}" >> $GITHUB_OUTPUT
+ echo "windows-runtimes-check-targets=${runtimes_check_targets}" >> $GITHUB_OUTPUT
- name: Build and Test
if: ${{ steps.vars.outputs.windows-projects != '' }}
shell: cmd
@@ -117,7 +122,7 @@ jobs:
call C:\\BuildTools\\Common7\\Tools\\VsDevCmd.bat -arch=amd64 -host_arch=amd64
# See the comments above in the Linux job for why we define each of
# these environment variables.
- bash -c "export SCCACHE_GCS_BUCKET=$CACHE_GCS_BUCKET; export SCCACHE_GCS_RW_MODE=READ_WRITE; export SCCACHE_IDLE_TIMEOUT=0; sccache --start-server; .ci/monolithic-windows.sh \"${{ steps.vars.outputs.windows-projects }}\" \"${{ steps.vars.outputs.windows-check-targets }}\""
+ bash -c "export SCCACHE_GCS_BUCKET=$CACHE_GCS_BUCKET; export SCCACHE_GCS_RW_MODE=READ_WRITE; export SCCACHE_IDLE_TIMEOUT=0; mkdir artifacts; SCCACHE_LOG=info SCCACHE_ERROR_LOG=$(pwd)/artifacts/sccache.log sccache --start-server; .ci/monolithic-windows.sh \"${{ steps.vars.outputs.windows-projects }}\" \"${{ steps.vars.outputs.windows-check-targets }}\" \"${{ steps.vars.outputs.windows-runtimes }}\" \"${{ steps.vars.outputs.windows-runtimes-check-targets }}\""
- name: Upload Artifacts
# In some cases, Github will fail to upload the artifact. We want to
# continue anyways as a failed artifact upload is an infra failure, not