[clang-tools-extra] [clang-doc] fix paths by hard coding path to share (PR #98099)

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 8 16:52:35 PDT 2024


ilovepi wrote:

I'd rephrase your commit message and title in the following way.
```
[clang-doc][cmake] Fix asset directory location for other generator types

This patch fixes how clang-doc copies asset files for the build to 
match the install location for all CMake generator types. The previous
version of this patch did not account for standalone builds of
clang that may use older LLVM installs, ane which do not have the
`LLVM_SHARE_OUTPUT_INTDIR` defined. Instead, we create an
equivalent path using `LLVM_RUNTIME_OUTPUT_INTDIR`.

Fixes #97507
```

You may want to adjust the line length to match 80 columns, since I just eyeballed it.


https://github.com/llvm/llvm-project/pull/98099


More information about the cfe-commits mailing list