As discussed in https://discourse.llvm.org/t/should-we-continue-embed-the-full-llvm-version-in-lib-clang/62094/8
Release note update still missing of course.
Paths
| Differential D125860
[clang] Only use major version in resource dir ClosedPublic Authored by tbaeder on May 18 2022, 1:21 AM.
Details Summary As discussed in https://discourse.llvm.org/t/should-we-continue-embed-the-full-llvm-version-in-lib-clang/62094/8 Release note update still missing of course.
Diff Detail
Unit TestsFailed Event TimelineHerald added projects: Restricted Project, Restricted Project, Restricted Project, Restricted Project, Restricted Project. · View Herald TranscriptMay 18 2022, 1:21 AM Herald added subscribers: llvm-commits, openmp-commits, lldb-commits and 3 others. · View Herald Transcript Comment Actions To be honest, I've never seen much purpose in the x.y.z directory naming and I feel like it's making packaging unnecessarily more complex, at least for us in Gentoo. That said, I'd personally prefer if the directory was entirely configurable just like CLANG_RESOURCE_DIR can specify arbitrary path right now. But I'm also fine with this as-is. Adding some more people who may have an opinion. Comment Actions The consensus in the discourse thread you mention is not super strong, but I tend to agree with that patch. +1 for me. Comment Actions LGTM. Considering https://discourse.llvm.org/t/should-we-continue-embed-the-full-llvm-version-in-lib-clang/62094 and this thread, I think overall people favor this patch. If a distribution wants to provide 16.0 and 16.1 simultaneously, the two installations can be in different install prefixes :) This revision is now accepted and ready to land.Nov 4 2022, 7:30 PM Comment Actions I'm worried that this is gonna break build bots. Has anyone seen the ThreadSanitizer timeout reported by the precommit-ci before? Comment Actions @tbaeder That CI failure seems unrelated. Maybe just commit early in the day so you have time to deal with the bot failures (if any). This revision was landed with ongoing or failed builds.Nov 10 2022, 6:02 AM Closed by commit rGe1b88c8a09be: [clang] Only use major version in resource dir (authored by tbaeder). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 435876 clang/include/clang/Basic/Version.inc.in
clang/lib/Driver/Driver.cpp
clang/lib/Headers/CMakeLists.txt
clang/lib/Tooling/CMakeLists.txt
clang/runtime/CMakeLists.txt
compiler-rt/cmake/base-config-ix.cmake
lldb/source/Plugins/ExpressionParser/Clang/ClangHost.cpp
lldb/unittests/Expression/ClangParserTest.cpp
llvm/cmake/modules/LLVMExternalProjectUtils.cmake
openmp/runtime/src/CMakeLists.txt
polly/lib/External/isl/interface/extract_interface.cc
|