Dev at The Qt Company.
User Details
- User Since
- May 22 2019, 5:49 AM (192 w, 6 d)
Feb 22 2022
Feb 21 2022
release/14.x now configures but fails to build on MSVC2019 with -D LLVM_EXPORT_SYMBOLS_FOR_PLUGINS=ON like at https://reviews.llvm.org/D111100
Feb 9 2022
Feb 8 2022
This patch is having problems on Windows with MSVC 2019 and -D LLVM_EXPORT_SYMBOLS_FOR_PLUGINS=ON and -D "LLVM_ENABLE_PROJECTS=clang;clang-tools-extra".
I had on Windows two uses cases that failed due to this patch.
Oct 26 2021
Qt Creator hit the same issue as others have had, 0 bytes clang-cl.exe due to packaging with 7zip.
Apr 27 2020
@thakis has a use case at https://reviews.llvm.org/D74907 building a SHARED libclang with LLVM_ENABLE_PIC set to OFF.
Apr 24 2020
@mstorsjo can you merge (again) this on my behalf? Thank you in advance!
Apr 23 2020
Since I do not have commit rights, I require help to get this merged.
Apr 21 2020
Apr 20 2020
@thakis ping?
Apr 6 2020
ping
Mar 30 2020
Ping
Mar 23 2020
Mar 16 2020
Ping.
Mar 9 2020
ping?
Feb 27 2020
The pre-merge check complains with clang-tidy not being able to locate windows.h and io.h. Is there anything I can do?
ping?
Feb 26 2020
Use WindowsSupport.h in llvm-ar, which sets _WIN32_WINNT to 0x0601
Feb 25 2020
I've tested this patch with:
Feb 24 2020
Feb 20 2020
Thank you!
The problem is (I believe) that add_clang_library(libclang is passed ${ENABLE_SHARED} and that used to be true on Windows but no longer is after your change (due to the change in line 80 in your original change), so libclang.dll isn't built at all any longer. If it was still built, the _CINDEX_LIB_ logic around line 128 wouldn't be passed for the same reason.
-DLLVM_ENABLE_PIC=OFF on Windows if LIBCLANG_BUILD_STATIC is not set to ON will generate a SHARED libclang.dll
I do not have commit rights, I need help to submit this patch.
I'll submit it today.
Given that this is currently a breaking change: Does it make sense to re-use LLVM_ENABLE_PIC for this, which currently doesn't have an effect on Windows anywhere? Maybe there should be a dedicated "I want libclang to be a static library" opt-in? And maybe the Platform.h should default to the dll setup and require a define to not use it, instead of the other way round? That seems safer for embedders.
Feb 19 2020
Added _WIN32_WINNT to have the same value as WINVER
@mstorsjo can you help me with pushing this commit? Thank you in advance!
I have a bug report regarding this review at: https://bugs.llvm.org/show_bug.cgi?id=44907
Feb 18 2020
Updated revision with a -U9999 diff.
This could also be cherry-picked for release/10.x. Would close https://bugs.llvm.org/show_bug.cgi?id=44906
I do not have commit rights, I need help to submit this patch.
I do not have commit rights, I need help to submit this patch.
Feb 17 2020
Feb 14 2020
Updated from Windows Vista (0x600) to Windows 7 (0x601)
I'm new to Phabricator. I don't feel like installing php on my Windows machine. I wish llvm would have used github as review. But this won't happen anytime soon. Oh well.
Feb 13 2020
Build with this patch being built on GitHub Actions on Windows MSVC, Windows MinGW, Linux, macOS:
https://github.com/cristianadam/llvm-project/actions/runs/38838989
Jul 5 2019
BUILD_SHARED_LIBS does create lots of shared objects, and LLVM_BUILD_LLVM_DYLIB should be the right solution for Qt Creator where we have a bit of big binaries.