Osman Zakir via llvm-dev
2018-Nov-26 23:30 UTC
[llvm-dev] Have LLD and Clang in their correct locations, but still can't generate project files for LLVM
Yeah, I don't think that matters. It did set the toolset architecture to x64. You know, I attached those log files for a reason. ________________________________ From: Zachary Turner <zturner at google.com> Sent: Tuesday, November 27, 2018 4:27 AM To: Osman Zakir Cc: llvm-dev at lists.llvm.org Subject: Re: [llvm-dev] Have LLD and Clang in their correct locations, but still can't generate project files for LLVM I don't know if it actually matters, but I think there should not be a space after -T. Usually I would specify it like -Thost=x64. On Mon, Nov 26, 2018 at 8:53 AM Osman Zakir via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote: I ran CMake on the command line with this command: " cmake .. -DCMAKE_INSTALL_PREFIX=../install_x64 -T host=x64 -G "Visual Studio 15 2017 Win64" -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly " And I have LLD and Clang where they should be. But I still couldn't generate project files. The path to the build and installation directories don't have spaces at all this time, either. I'm attaching the logs to this message. Please help. _______________________________________________ LLVM Developers mailing list llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181126/af883062/attachment.html>
Brian Cain via llvm-dev
2018-Nov-27 03:26 UTC
[llvm-dev] Have LLD and Clang in their correct locations, but still can't generate project files for LLVM
Please instead include the output at the console, it's the most useful first step for debugging cmake failures. On Mon, Nov 26, 2018, 5:30 PM Osman Zakir via llvm-dev < llvm-dev at lists.llvm.org wrote:> Yeah, I don't think that matters. It did set the toolset architecture to > x64. > > You know, I attached those log files for a reason. > ------------------------------ > *From:* Zachary Turner <zturner at google.com> > *Sent:* Tuesday, November 27, 2018 4:27 AM > *To:* Osman Zakir > *Cc:* llvm-dev at lists.llvm.org > *Subject:* Re: [llvm-dev] Have LLD and Clang in their correct locations, > but still can't generate project files for LLVM > > I don't know if it actually matters, but I think there should not be a > space after -T. Usually I would specify it like -Thost=x64. > > On Mon, Nov 26, 2018 at 8:53 AM Osman Zakir via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > I ran CMake on the command line with this command: > " > cmake .. -DCMAKE_INSTALL_PREFIX=../install_x64 -T host=x64 -G "Visual > Studio 15 2017 Win64" -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly > " > > And I have LLD and Clang where they should be. But I still couldn't > generate project files. The path to the build and installation directories > don't have spaces at all this time, either. I'm attaching the logs to this > message. Please help. > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181126/12233fce/attachment.html>
Osman Zakir via llvm-dev
2018-Nov-27 20:46 UTC
[llvm-dev] Have LLD and Clang in their correct locations, but still can't generate project files for LLVM
Is there no one who has already built LLVM for targeting WebAsesembly with, using Visual Studio 2017 as the generator and toolchain (x64 of course)? My LLVM root folder is C:/llvm, and LLD and Clang are in llvm_root/tools/lld and llvm_root/tools/clang respectively. If this is as it should be, then what's the problem? Would someone please help me with this by also checking the logs I've attached to the first message in this thread? Thanks in advance. In llvm/tools/, I see there's also a folder called "msbuild" which also has a .sln file called llvm.sln. How about if I just try to build that (and if needed, would it be okay to just put the preprocessor definition LLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly in there for each project?)? ________________________________ From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Osman Zakir via llvm-dev <llvm-dev at lists.llvm.org> Sent: Tuesday, November 27, 2018 4:30 AM To: llvm-dev at lists.llvm.org Subject: Re: [llvm-dev] Have LLD and Clang in their correct locations, but still can't generate project files for LLVM Yeah, I don't think that matters. It did set the toolset architecture to x64. You know, I attached those log files for a reason. ________________________________ From: Zachary Turner <zturner at google.com> Sent: Tuesday, November 27, 2018 4:27 AM To: Osman Zakir Cc: llvm-dev at lists.llvm.org Subject: Re: [llvm-dev] Have LLD and Clang in their correct locations, but still can't generate project files for LLVM I don't know if it actually matters, but I think there should not be a space after -T. Usually I would specify it like -Thost=x64. On Mon, Nov 26, 2018 at 8:53 AM Osman Zakir via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote: I ran CMake on the command line with this command: " cmake .. -DCMAKE_INSTALL_PREFIX=../install_x64 -T host=x64 -G "Visual Studio 15 2017 Win64" -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly " And I have LLD and Clang where they should be. But I still couldn't generate project files. The path to the build and installation directories don't have spaces at all this time, either. I'm attaching the logs to this message. Please help. _______________________________________________ LLVM Developers mailing list llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181127/e6b10389/attachment.html>
Zachary Turner via llvm-dev
2018-Nov-27 23:51 UTC
[llvm-dev] Have LLD and Clang in their correct locations, but still can't generate project files for LLVM
I think most people are using ninja to do the build. You can still use the Visual Studio generator for the IDE experience while doing build from ninja. I know there are a couple of people who build from inside of Visual Studio, but it's a pretty small number, and I don't think they are targeting WebAssembly. On Tue, Nov 27, 2018 at 12:46 PM Osman Zakir via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Is there no one who has already built LLVM for targeting WebAsesembly > with, using Visual Studio 2017 as the generator and toolchain (x64 of > course)? > > My LLVM root folder is C:/llvm, and LLD and Clang are in > llvm_root/tools/lld and llvm_root/tools/clang respectively. If this is as > it should be, then what's the problem? Would someone please help me with > this by also checking the logs I've attached to the first message in this > thread? Thanks in advance. > > In llvm/tools/, I see there's also a folder called "msbuild" which also > has a .sln file called llvm.sln. How about if I just try to build that > (and if needed, would it be okay to just put the preprocessor definition > LLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly in there for each > project?)? > ------------------------------ > *From:* llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Osman > Zakir via llvm-dev <llvm-dev at lists.llvm.org> > *Sent:* Tuesday, November 27, 2018 4:30 AM > *To:* llvm-dev at lists.llvm.org > > *Subject:* Re: [llvm-dev] Have LLD and Clang in their correct locations, > but still can't generate project files for LLVM > Yeah, I don't think that matters. It did set the toolset architecture to > x64. > > You know, I attached those log files for a reason. > ------------------------------ > *From:* Zachary Turner <zturner at google.com> > *Sent:* Tuesday, November 27, 2018 4:27 AM > *To:* Osman Zakir > *Cc:* llvm-dev at lists.llvm.org > *Subject:* Re: [llvm-dev] Have LLD and Clang in their correct locations, > but still can't generate project files for LLVM > > I don't know if it actually matters, but I think there should not be a > space after -T. Usually I would specify it like -Thost=x64. > > On Mon, Nov 26, 2018 at 8:53 AM Osman Zakir via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > I ran CMake on the command line with this command: > " > cmake .. -DCMAKE_INSTALL_PREFIX=../install_x64 -T host=x64 -G "Visual > Studio 15 2017 Win64" -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly > " > > And I have LLD and Clang where they should be. But I still couldn't > generate project files. The path to the build and installation directories > don't have spaces at all this time, either. I'm attaching the logs to this > message. Please help. > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181127/daad747b/attachment-0001.html>
Seemingly Similar Threads
- Have LLD and Clang in their correct locations, but still can't generate project files for LLVM
- Have LLD and Clang in their correct locations, but still can't generate project files for LLVM
- Errors in configuration for LLVM with CMake GUI
- Errors in configuration for LLVM with CMake GUI
- Errors in configuration for LLVM with CMake GUI