Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RAPIDS 24.02 Upgrade #433

Merged
merged 63 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
52d4917
upgrade to cudf-23.10
cwharris Jan 2, 2024
a30dc5d
find replace cuda 11.8 with 12.0
cwharris Jan 2, 2024
18b9ad6
rapids 23.12
cwharris Jan 2, 2024
9be6ae6
unpin dep versions
cwharris Jan 5, 2024
ab8e707
pin dependencies
cwharris Jan 11, 2024
a4194b6
update cuda 12.0 references to 12.1
cwharris Jan 11, 2024
9304d52
configure libcudacxx before rmm
cwharris Jan 11, 2024
20e7405
fix utilities escaping issues
cwharris Jan 11, 2024
368462d
utils update
cwharris Jan 12, 2024
9c4b419
workaround cccl bug
cwharris Jan 12, 2024
fc88407
revert libcudacxx find workaround
cwharris Jan 12, 2024
f797662
upgrade to rapids 24.02
cwharris Jan 12, 2024
f81ca1c
add python to dependencies.yaml
cwharris Jan 12, 2024
e84ec9d
update utilities
cwharris Jan 12, 2024
e5e9237
update utilites
cwharris Jan 12, 2024
0aae7dc
copyright
cwharris Jan 12, 2024
a323560
update conda build files
cwharris Jan 16, 2024
ed23b04
update default rapids version for conda build
cwharris Jan 16, 2024
bd59c75
revert libhwloc to 2.9.2
cwharris Jan 16, 2024
a9a1d7e
fix round-trip serialization bug in libxml2 which is used by libhwloc
cwharris Jan 17, 2024
447c1c8
review feedback adjustments
cwharris Jan 17, 2024
3cd1a11
sort deps
cwharris Jan 17, 2024
477be3d
remove gmock as conda dependency
cwharris Jan 17, 2024
33af7ed
remove cudatoolkit dep from meta.yaml
cwharris Jan 18, 2024
7bb379b
fix meta yaml formatting
cwharris Jan 18, 2024
8d3f94a
fix iwyu
cwharris Jan 18, 2024
1c7ee0b
fix iwyu
cwharris Jan 18, 2024
950dd12
fix clang-tidy and iwyu errors
cwharris Jan 18, 2024
d78e2f3
fix copyright year
cwharris Jan 18, 2024
3465e13
add cuda-* to meta.yaml
cwharris Jan 18, 2024
61294fb
update cuda includes in meta.yaml
cwharris Jan 18, 2024
fd7e2e0
adjust conda build
cwharris Jan 18, 2024
370a5b6
adjust conda build
cwharris Jan 18, 2024
456f173
adjust conda build
cwharris Jan 18, 2024
36bfd44
adjust conda build
cwharris Jan 18, 2024
382fea6
update mrc ci container
cwharris Jan 19, 2024
95a74e4
explicitly set cuda compiler
cwharris Jan 19, 2024
9c369e3
try fix conda build
cwharris Jan 19, 2024
3a8fee3
try fix conda build
cwharris Jan 19, 2024
993eb44
try fix conda build
cwharris Jan 19, 2024
631a6b4
try fix conda build
cwharris Jan 19, 2024
6d2a767
try fix conda build
cwharris Jan 22, 2024
881a523
try fix conda build
cwharris Jan 22, 2024
1b78a58
try fix conda build
cwharris Jan 22, 2024
e65c121
try fix conda build
cwharris Jan 22, 2024
d47914c
try fix conda build
cwharris Jan 22, 2024
d578371
try fix conda build
cwharris Jan 22, 2024
993dba0
try fix conda build
cwharris Jan 23, 2024
1ab2897
try fix conda build
cwharris Jan 23, 2024
fcb3650
try fix conda build
cwharris Jan 23, 2024
7bc2c8d
try fix conda build
cwharris Jan 23, 2024
23ed042
try fix conda build
cwharris Jan 23, 2024
3c195f6
try fix conda build
cwharris Jan 23, 2024
91545f5
uncomment some code
cwharris Jan 23, 2024
487b885
changes to meta.yaml
cwharris Jan 23, 2024
31e09e7
try fix conda build
cwharris Jan 23, 2024
9b409b3
try fix conda build
cwharris Jan 24, 2024
e8a737b
try fix conda build
cwharris Jan 24, 2024
e01a669
try fix conda build
cwharris Jan 24, 2024
9e95a26
try fix conda build
cwharris Jan 24, 2024
e9a5f30
try fix conda build
cwharris Jan 24, 2024
2e2a576
try fix conda build
cwharris Jan 24, 2024
6404a82
try fix conda build
cwharris Jan 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ Checks: >
-modernize-macro-to-enum,
google-readability-todo

#WarningsAsErrors: '*'
WarningsAsErrors: >
*,
-clang-diagnostic-unused-command-line-argument,
-clang-diagnostic-ignored-optimization-argument

HeaderFilterRegex: '.*\/include\/mrc\/.*'
AnalyzeTemporaryDtors: false
FormatStyle: file
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/conda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM rapidsai/devcontainers:23.04-cuda11.8-mambaforge-ubuntu22.04 AS base
FROM rapidsai/devcontainers:23.04-cuda12.1-mambaforge-ubuntu22.04 AS base

ENV PATH="${PATH}:/workspaces/mrc/.devcontainer/bin"
6 changes: 3 additions & 3 deletions .devcontainer/opt/mrc/bin/post-attach-command.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -28,6 +28,6 @@ sed -ri "s/conda activate base/conda activate $ENV_NAME/g" ~/.bashrc;

if conda_env_find "${ENV_NAME}" ; \

then mamba env update --name ${ENV_NAME} -f ${MRC_ROOT}/conda/environments/all_cuda-118_arch-x86_64.yaml --prune; \
else mamba env create --name ${ENV_NAME} -f ${MRC_ROOT}/conda/environments/all_cuda-118_arch-x86_64.yaml; \
then mamba env update --name ${ENV_NAME} -f ${MRC_ROOT}/conda/environments/all_cuda-121_arch-x86_64.yaml --prune; \
else mamba env create --name ${ENV_NAME} -f ${MRC_ROOT}/conda/environments/all_cuda-121_arch-x86_64.yaml; \
fi
2 changes: 1 addition & 1 deletion .devcontainer/opt/mrc/conda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM rapidsai/devcontainers:23.04-cuda11.8-mambaforge-ubuntu22.04 AS base
FROM rapidsai/devcontainers:23.04-cuda12.1-mambaforge-ubuntu22.04 AS base

ENV PATH="${PATH}:/workspaces/mrc/.devcontainer/bin"
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: Copyright (c) 2018-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 2018-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -37,7 +37,7 @@ option(MRC_USE_CONDA "Enables finding dependencies via conda. All dependencies m
environment" ON)
option(MRC_USE_IWYU "Enable running include-what-you-use as part of the build process" OFF)

set(MRC_RAPIDS_VERSION "23.06" CACHE STRING "Which version of RAPIDS to build for. Sets default versions for RAPIDS CMake and RMM.")
set(MRC_RAPIDS_VERSION "24.02" CACHE STRING "Which version of RAPIDS to build for. Sets default versions for RAPIDS CMake and RMM.")

set(MRC_CACHE_DIR "${CMAKE_SOURCE_DIR}/.cache" CACHE PATH "Directory to contain all CPM and CCache data")
mark_as_advanced(MRC_CACHE_DIR)
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ cd $MRC_ROOT
#### Create MRC Conda environment
```bash
# note: `mamba` may be used in place of `conda` for better performance.
conda env create -n mrc --file $MRC_ROOT/conda/environments/all_cuda-118_arch-x86_64.yaml
conda env create -n mrc --file $MRC_ROOT/conda/environments/all_cuda-121_arch-x86_64.yaml
conda activate mrc
```
#### Build MRC
Expand Down
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@


ARG FROM_IMAGE="rapidsai/ci-conda"
ARG CUDA_VER=11.8.0
ARG CUDA_VER=12.1.1
ARG LINUX_DISTRO=ubuntu
ARG LINUX_VER=20.04
ARG LINUX_VER=22.04
ARG PYTHON_VER=3.10

# ============= base ===================
FROM ${FROM_IMAGE}:cuda11.8.0-ubuntu20.04-py3.10 AS base
FROM ${FROM_IMAGE}:cuda${CUDA_VER}-${LINUX_DISTRO}${LINUX_VER}-py${PYTHON_VER} AS base

ARG PROJ_NAME=mrc
ARG USERNAME=morpheus
Expand All @@ -45,13 +45,13 @@ RUN useradd --uid $USER_UID --gid $USER_GID -m $USERNAME && \
echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME && \
chmod 0440 /etc/sudoers.d/$USERNAME

COPY ./conda/environments/all_cuda-118_arch-x86_64.yaml /opt/mrc/conda/environments/all_cuda-118_arch-x86_64.yaml
COPY ./conda/environments/all_cuda-121_arch-x86_64.yaml /opt/mrc/conda/environments/all_cuda-121_arch-x86_64.yaml

RUN --mount=type=cache,target=/opt/conda/pkgs,sharing=locked \
echo "create env: ${PROJ_NAME}" && \
sudo -g conda -u $USERNAME \
CONDA_ALWAYS_YES=true \
/opt/conda/bin/mamba env create -q -n ${PROJ_NAME} --file /opt/mrc/conda/environments/all_cuda-118_arch-x86_64.yaml && \
/opt/conda/bin/mamba env create -q -n ${PROJ_NAME} --file /opt/mrc/conda/environments/all_cuda-121_arch-x86_64.yaml && \
chmod -R a+rwX /opt/conda && \
rm -rf /tmp/conda

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ cd $MRC_ROOT
#### Create MRC Conda Environment
```bash
# note: `mamba` may be used in place of `conda` for better performance.
conda env create -n mrc-dev --file $MRC_ROOT/conda/environments/all_cuda-118_arch-x86_64.yaml
conda env create -n mrc-dev --file $MRC_ROOT/conda/environments/all_cuda-121_arch-x86_64.yaml
conda activate mrc-dev
```
<!-- omit in toc -->
Expand Down
1 change: 0 additions & 1 deletion ci/conda/recipes/libmrc/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ CMAKE_ARGS="-DMRC_RAPIDS_VERSION=${rapids_version} ${CMAKE_ARGS}"
CMAKE_ARGS="-DMRC_USE_CCACHE=OFF ${CMAKE_ARGS}"
CMAKE_ARGS="-DMRC_USE_CONDA=ON ${CMAKE_ARGS}"
CMAKE_ARGS="-DPython_EXECUTABLE=${PYTHON} ${CMAKE_ARGS}"
CMAKE_ARGS="-DUCX_VERSION=${ucx} ${CMAKE_ARGS}"

echo "CC : ${CC}"
echo "CXX : ${CXX}"
Expand Down
55 changes: 2 additions & 53 deletions ci/conda/recipes/libmrc/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,62 +23,11 @@ cuda_compiler:
- cuda-nvcc

cuda_compiler_version:
- 11.8
- 12.1

python:
- 3.8
- 3.10
- 3.10

# Setup the dependencies to build with multiple versions of RAPIDS
rapids_version: # Keep around compatibility with current version -2
- 23.02
- 23.04
- 23.06

# Multiple versions of abseil are required to satisfy the solver for some
# environments. RAPIDS 22.06 only works with gRPC 1.45 and 22.08 only works with
# 1.46. For each version of gRPC, support 2 abseil versions. Zip all of the keys
# together to avoid impossible combinations
libabseil:
- 20230125.0
- 20230125.0
- 20230125.0

libgrpc:
- 1.51
- 1.51
- 1.54

ucx:
- 1.13
- 1.14
- 1.14

libprotobuf:
- 3.21
- 3.21
- 3.21

zip_keys:
- python
- rapids_version
- libabseil
- libgrpc
- ucx
- libprotobuf

# The following mimic what is available in the pinning feedstock:
# https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/main/recipe/conda_build_config.yaml
boost:
- 1.82
boost_cpp:
- 1.82
gflags:
- 2.2
glog:
- 0.6

pin_run_as_build:
boost-cpp:
max_pin: x.x
- 24.02
81 changes: 33 additions & 48 deletions ci/conda/recipes/libmrc/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,10 +14,8 @@
# limitations under the License.

{% set version = environ.get('GIT_VERSION', '0.0.0.dev').lstrip('v') + environ.get('VERSION_SUFFIX', '') %}
{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %}
{% set py_version = environ.get('CONDA_PY', '3.10') %}
{% set cuda_version = '.'.join(environ.get('CUDA', '11.8').split('.')[:2]) %}
{% set cuda_major = cuda_version.split('.')[0] %}
{% set cuda_version = '.'.join(environ.get('CUDA', '12.1').split('.')[:2]) %}

package:
name: libmrc-split
Expand All @@ -40,39 +38,32 @@ requirements:
- {{ compiler("c") }}
- {{ compiler("cuda") }}
- {{ compiler("cxx") }}
- autoconf >=2.69
- ccache
- cmake >=3.24
- cuda-cudart-dev # Needed by CMake to compile a test application
- cmake =3.27
- libtool
- ninja
- ninja =1.11
- numactl-libs-cos7-x86_64
- pkg-config 0.29.*
- pkg-config =0.29
- sysroot_linux-64 >=2.17
host:
# Libraries necessary to build. Keep sorted!
- boost-cpp
- cuda-cudart-dev
- cuda-nvml-dev
- doxygen 1.9.2.*
- flatbuffers 2.0.*
- gflags
- glog
- gmock 1.13.*
- libgrpc
- gtest 1.13.*
- libabseil
- libhwloc 2.9.2
- libprotobuf
- boost-cpp =1.84
- cuda-cudart-dev {{ cuda_version }}.*
- cuda-nvml-dev {{ cuda_version }}.*
- cuda-nvrtc-dev {{ cuda_version }}.*
- cuda-version {{ cuda_version }}.*
- doxygen 1.10.0
- glog =0.6
- libgrpc =1.59
- gtest =1.14
- libhwloc =2.9.2
- librmm {{ rapids_version }}
- nlohmann_json 3.9.1
- nlohmann_json =3.9
- pybind11-abi # See: https://conda-forge.org/docs/maintainer/knowledge_base.html#pybind11-abi-constraints
- pybind11-stubgen 0.10
- pybind11-stubgen =0.10
- python {{ python }}
- scikit-build >=0.17
- ucx
# Need to specify cudatoolkit to get correct version. Remove once all libraries migrate to cuda-toolkit
- cudatoolkit {{ cuda_version }}.*
- scikit-build =0.17
- ucx =1.15

outputs:
- name: libmrc
Expand All @@ -88,32 +79,26 @@ outputs:
- {{ compiler("c") }}
- {{ compiler("cuda") }}
- {{ compiler("cxx") }}
- cmake >=3.24
- cmake =3.27
- numactl-libs-cos7-x86_64
- sysroot_linux-64 2.17
- sysroot_linux-64 =2.17
host:
# Any libraries with weak run_exports need to go here to be added to the run. Keep sorted!
- boost-cpp
- cuda-cudart # Needed to allow pin_compatible to work
- glog
- libgrpc
- libabseil # Needed for transitive run_exports from libgrpc. Does not need a version
- libhwloc 2.9.2
- libprotobuf # Needed for transitive run_exports from libgrpc. Does not need a version
- boost-cpp =1.84
- cuda-version # Needed to allow pin_compatible to work
- glog =0.6
- libgrpc =1.59
- libhwloc =2.9.2
- librmm {{ rapids_version }}
- nlohmann_json 3.9.*
- ucx
# Need to specify cudatoolkit to get correct version. Remove once all libraries migrate to cuda-toolkit
- cudatoolkit {{ cuda_version }}.*
- nlohmann_json =3.9
- ucx =1.15
run:
# Manually add any packages necessary for run that do not have run_exports. Keep sorted!
- {{ pin_compatible('cuda-cudart', min_pin='x.x', max_pin='x') }}
- {{ pin_compatible('nlohmann_json', max_pin='x.x')}}
- {{ pin_compatible('ucx', max_pin='x.x')}}
- boost-cpp # Needed to use pin_run_as_build
run_constrained:
# Since we dont explicitly require this but other packages might, constrain the versions
- {{ pin_compatible('cudatoolkit', min_pin='x.x', max_pin='x') }}
- cuda-version {{ cuda_version }}.*
- nlohmann_json =3.9
- ucx =1.15
- cuda-cudart
- boost-cpp =1.84
test:
script: test_libmrc.sh
files:
Expand Down
5 changes: 3 additions & 2 deletions ci/conda/recipes/run_conda_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,12 @@ fi
# Choose default variants
if hasArg quick; then
# For quick build, just do most recent version of rapids
CONDA_ARGS_ARRAY+=("--variants" "{rapids_version: 23.06}")
CONDA_ARGS_ARRAY+=("--variants" "{rapids_version: 24.02}")
fi

CONDA_ARGS_ARRAY+=("--keep-old-work")
# And default channels
CONDA_ARGS_ARRAY+=("-c" "rapidsai" "-c" "nvidia/label/cuda-11.8.0" "-c" "nvidia" "-c" "conda-forge" "-c" "main")
CONDA_ARGS_ARRAY+=("-c" "conda-forge" "-c" "rapidsai-nightly" "-c" "nvidia")

# Set GIT_VERSION to set the project version inside of meta.yaml
export GIT_VERSION="$(get_version)"
Expand Down
4 changes: 2 additions & 2 deletions ci/scripts/github/common.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# SPDX-FileCopyrightText: Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -35,7 +35,7 @@ id
export NUM_PROC=${PARALLEL_LEVEL:-$(nproc)}
export BUILD_CC=${BUILD_CC:-"gcc"}

export CONDA_ENV_YML="${MRC_ROOT}/conda/environments/all_cuda-118_arch-x86_64.yaml"
export CONDA_ENV_YML="${MRC_ROOT}/conda/environments/all_cuda-121_arch-x86_64.yaml"

export CMAKE_BUILD_ALL_FEATURES="-DCMAKE_MESSAGE_CONTEXT_SHOW=ON -DMRC_BUILD_BENCHMARKS=ON -DMRC_BUILD_EXAMPLES=ON -DMRC_BUILD_PYTHON=ON -DMRC_BUILD_TESTS=ON -DMRC_USE_CONDA=ON -DMRC_PYTHON_BUILD_STUBS=ON"
export CMAKE_BUILD_WITH_CODECOV="-DCMAKE_BUILD_TYPE=Debug -DMRC_ENABLE_CODECOV=ON -DMRC_PYTHON_PERFORM_INSTALL:BOOL=ON -DMRC_PYTHON_INPLACE_BUILD:BOOL=ON"
Expand Down
6 changes: 3 additions & 3 deletions ci/scripts/run_ci_local.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -58,8 +58,8 @@ GIT_BRANCH=$(git branch --show-current)
GIT_COMMIT=$(git log -n 1 --pretty=format:%H)

BASE_LOCAL_CI_TMP=${BASE_LOCAL_CI_TMP:-${MRC_ROOT}/.tmp/local_ci_tmp}
CONTAINER_VER=${CONTAINER_VER:-230920}
CUDA_VER=${CUDA_VER:-11.8}
CONTAINER_VER=${CONTAINER_VER:-240119}
CUDA_VER=${CUDA_VER:-12.1}
DOCKER_EXTRA_ARGS=${DOCKER_EXTRA_ARGS:-""}

BUILD_CONTAINER="nvcr.io/ea-nvidia-morpheus/morpheus:mrc-ci-build-${CONTAINER_VER}"
Expand Down
8 changes: 2 additions & 6 deletions ci/scripts/run_clang_tidy_for_ci.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# SPDX-FileCopyrightText: Copyright (c) 2021-2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 2021-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -16,11 +16,7 @@

# set -x

# Call clang-tidy adding warnings-as-errors option. Currently this is not
# possible with clang-tidy-diff.py until this is merged:
# https://reviews.llvm.org/D49864

# Also add -fno-caret-diagnostics to prevent clangs own compiler warnings from
# coming through:
# https://github.com/llvm/llvm-project/blob/3f3faa36ff3d84af3c3ed84772d7e4278bc44ff1/libc/cmake/modules/LLVMLibCObjectRules.cmake#L226
${CLANG_TIDY:-clang-tidy} --warnings-as-errors='*' --extra-arg=-fno-caret-diagnostics "$@"
${CLANG_TIDY:-clang-tidy} --extra-arg=-fno-caret-diagnostics "$@"
Loading