aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/ModuleDependencyCollector.cpp
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2022-04-13 18:28:27 -0700
committerShoaib Meenai <smeenai@fb.com>2022-04-13 20:33:28 -0700
commit7226e7fd14c4e57f8ab5729990ee04bcdb1579af (patch)
tree243e45ed30f978194eaaccd227cc2d2139e7a042 /clang/lib/Frontend/ModuleDependencyCollector.cpp
parent094ad0667c5eb61817b68a65a89201310157e57d (diff)
downloadllvm-7226e7fd14c4e57f8ab5729990ee04bcdb1579af.zip
llvm-7226e7fd14c4e57f8ab5729990ee04bcdb1579af.tar.gz
llvm-7226e7fd14c4e57f8ab5729990ee04bcdb1579af.tar.bz2
[cmake] Loosen multi-distribution restrictions
We've found that there are cases where it's useful to be able to include the same target in multiple distributions (e.g. if you want a distribution that's a superset of another distribution, for convenience purposes), and that there are cases where the distribution of a target and its umbrella can legitimately differ (e.g. the LTO library would commonly be distributed alongside your tools, but it also falls under the llvm-libraries umbrella, which would commonly be distributed separately). Relax the restrictions while providing an option to restore them (which is mostly useful to ensure you aren't accidentally placing targets in the wrong distributions). There could be further refinements here (e.g. excluding a target from an umbrella if it's explicitly included in some other distribution, or having variables to control which targets are allowed to be duplicated or placed in a separate distribution than their umbrellas), but we can punt on those until there's an actual need.
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions