1
0
Fork 0
llvm-premerge-checks/scripts/llvm-dependencies.yaml

86 lines
2.4 KiB
YAML

# This mapping is only used to determine which projects need to be rebuild.
# E.g. all builds are still in-tree, so 'llvm' will always be included in the
# built projects.
dependencies:
llvm: []
clang:
- llvm
clang-tools-extra:
- clang
- llvm
# FIXME: "compiler-rt" depends on "llvm" only for configuration, right?
# it means we can miss breakages in configuration changes.
# Same for libcxx, libc and other projects that don't have 'llvm'
# as a dependency.
compiler-rt:
- clang
flang:
- llvm
- mlir
- clang
libc:
- clang
- clang-tools-extra
# FIXME: not sure about 'libcxx' and 'libcxxabi'
libcxx: []
libcxxabi: []
libclc: []
libunwind: []
lld:
- llvm
lldb:
- clang
- llvm
mlir:
- llvm
openmp:
- clang
polly:
- llvm
pstl: []
cross-project-tests:
- clang
- lld
# List of all projects in the LLVM monorepository. This list is taken from
# llvm/CMakeLists.txt in "set(LLVM_ALL_PROJECTS ..."
# The value for all project is the list of ninja targets to run.
allprojects:
clang: ["check-clang"]
clang-tools-extra: ["check-clang-tools"]
compiler-rt: ["check-all"] # check-compiler-rt seems to exist only in standalone builds.
cross-project-tests: ["check-cross-project"]
flang: ["check-flang"]
libc: ["check-libc"]
libclc: ["check-all"] # There does not seem to be a more specific target.
libcxx: ["check-cxx"]
libcxxabi: ["check-cxxabi"]
libunwind: ["check-unwind"]
lld: ["check-lld"]
lldb: ["check-all"] # FIXME: `check-lldb` may not include every lldb tests?
mlir: ["check-mlir"]
openmp: ["check-openmp"]
polly: ["check-polly"]
pstl: ["check-all"] # There does not seem to be a more specific target.
llvm: ["check-llvm"]
# projects excluded from automatic configuration as they could not be built
excludedProjects:
windows:
- lldb # failing tests
- libunwind # no windows support
- libcxx # no windows support
- libcxxabi # no windows support
- libc # no windows support
- openmp # TODO: check: kuhnel has trouble with the Perl installation
- cross-project-tests # test failing
- check-cxxabi
# test stuck, needs to be killed manually: instrprof-multiprocess.test
- compiler-rt
- flang # no windows support
linux:
- libcxx # has custom checks
- libcxxabi # has custom checks
- cross-project-tests # tests failing
- lldb # tests failing