Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 647606 Details for
Bug 730620
dev-qt/qt-creator-4.8.2 fails to build, cannot find clang libs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The patch from bug#711788, adapted it to the 4.8.2 codebase
qt-creator-4.8.0-dylib-fix.patch (text/plain), 1.66 KB, created by
Marco Leogrande
on 2020-07-04 20:47:43 UTC
(
hide
)
Description:
The patch from bug#711788, adapted it to the 4.8.2 codebase
Filename:
MIME Type:
Creator:
Marco Leogrande
Created:
2020-07-04 20:47:43 UTC
Size:
1.66 KB
patch
obsolete
>--- a/src/shared/clang/clang_installation.pri >+++ b/src/shared/clang/clang_installation.pri >@@ -150,16 +150,6 @@ > output = $$system($$llvm_config --version, lines) > LLVM_VERSION = $$extractVersion($$output) > >-!isEmpty(LLVM_VERSION) { >- versionIsAtLeast($$LLVM_VERSION, 7, 0, 0): { >- CLANGFORMAT_LIBS=-lclangFormat -lclangToolingInclusions -lclangToolingCore -lclangRewrite -lclangLex -lclangBasic >- win32:CLANGFORMAT_LIBS += -lversion >- } else:versionIsAtLeast($$LLVM_VERSION, 6, 0, 0): { >- CLANGFORMAT_LIBS=-lclangFormat -lclangToolingCore -lclangRewrite -lclangLex -lclangBasic >- win32:CLANGFORMAT_LIBS += -lversion >- } >-} >- > isEmpty(LLVM_VERSION) { > $$llvmWarningOrError(\ > "Cannot determine clang version. Set LLVM_INSTALL_DIR to build the Clang Code Model",\ >@@ -210,6 +200,19 @@ > $$llvmWarningOrError("Cannot find Clang shared library in $$LLVM_LIBDIR") > } > >+ versionIsAtLeast($$LLVM_VERSION, 7, 0, 0): { >+ exists($${LLVM_LIBDIR}/libclangFormat.so*)|exists($${LLVM_LIBDIR}/libclangFormat.dylib) { >+ CLANGFORMAT_LIBS=-lclangFormat -lclangToolingInclusions -lclangToolingCore -lclangRewrite -lclangLex -lclangBasic >+ win32:CLANGFORMAT_LIBS += -lversion >+ } else { >+ CLANGFORMAT_LIBS=-lclang-cpp >+ ALL_CLANG_LIBS=-lclang-cpp >+ } >+ } else:versionIsAtLeast($$LLVM_VERSION, 6, 0, 0): { >+ CLANGFORMAT_LIBS=-lclangFormat -lclangToolingCore -lclangRewrite -lclangLex -lclangBasic >+ win32:CLANGFORMAT_LIBS += -lversion >+ } >+ > !contains(QMAKE_DEFAULT_LIBDIRS, $$LLVM_LIBDIR): LIBCLANG_LIBS = -L$${LLVM_LIBDIR} > LIBCLANG_LIBS += $${CLANG_LIB} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 730620
:
647496
| 647606