Total newbie here. What is the simplest way to build a single .rst file so that I can look at the generated HTML? I have CMake, Python, and Sphinx installed.
~~ Paul
_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Hi Paul,
I'm not sure if there are ways to build a single .rst file. But I
usually build LLVM documentation via the following steps.
```
$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
-DLLVM_ENABLE_SPHINX=On $YOUR_LLVM_PROJECT_PATH/llvm
$ make docs-llvm-html
```
Best Regards,
Xing
>
> ~~ Paul
>
> _______________________________________________
> LLVM Developers mailing list
> llvm...@lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
--
Cheers,
Xing
Note: LLVM treats warnings as errors by default, if you want to
suppress them you can pass "-DSPHINX_WARNINGS_AS_ERRORS=Off" to cmake.
You are able to find some useful options by searching "sphinx" here
[1].
[1] https://llvm.org/docs/CMake.html
At 7/28/2020 10:41 PM, Xing GUO wrote:
>On 7/29/20, Paul C. Anagnostopoulos via llvm-dev
><llvm...@lists.llvm.org> wrote:
>> Folks,
>>
>> Total newbie here. What is the simplest way to build a single .rst file so
>> that I can look at the generated HTML? I have CMake, Python, and Sphinx
>> installed.
>
>Hi Paul,
>
>I'm not sure if there are ways to build a single .rst file. But I
>usually build LLVM documentation via the following steps.
>
>```
>$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
>-DLLVM_ENABLE_SPHINX=On $YOUR_LLVM_PROJECT_PATH/llvm
>$ make docs-llvm-html
>```
>
>Best Regards,
>Xing
_______________________________________________
Yes, exactly.
Best Regards,
Xing
> At 7/28/2020 10:41 PM, Xing GUO wrote:
>>On 7/29/20, Paul C. Anagnostopoulos via llvm-dev
>><llvm...@lists.llvm.org> wrote:
>>> Folks,
>>>
>>> Total newbie here. What is the simplest way to build a single .rst file
>>> so
>>> that I can look at the generated HTML? I have CMake, Python, and Sphinx
>>> installed.
>>
>>Hi Paul,
>>
>>I'm not sure if there are ways to build a single .rst file. But I
>>usually build LLVM documentation via the following steps.
>>
>>```
>>$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
>>-DLLVM_ENABLE_SPHINX=On $YOUR_LLVM_PROJECT_PATH/llvm
>>$ make docs-llvm-html
>>```
>>
>>Best Regards,
>>Xing
>
>
--
Cheers,
I've managed to get the build going. One of the things CMake does is create a file a.exe that tries to figure out which version of the C compiler is available. Malwarebytes does not like that executable. Has anyone run into this problem?
Meanwhile, I've told Malwarebytes not to worry about the build directory or its subdirectories.
Ah, now I have more information from Microsoft Security Essentials, also concerning a.exe. The Trojan is called Win32/Fuery.C!cl
------------------------------
Category: Trojan
Description: This program is dangerous and executes commands from an attacker.
Recommended action: Remove this software immediately.
Items:
file:C:\LLVM\Build\CMakeFiles\3.18.0\CompilerIdC\a.exe
Get more information about this item online.
---------------------------------
At 7/29/2020 12:14 PM, Xing GUO wrote:
>On 7/30/20, Paul C. Anagnostopoulos <pa...@windfall.com> wrote:
>> Is "Unix Makefiles" what I want if I am building on Windows using GNU make?
>
>Yes, exactly.
>
>Best Regards,
>Xing
_______________________________________________
Yes, I figured it was a false positive. This is only the second false positive I've seen in 20 years.
----------------------------------------------------------------
Windfall Paul C. Anagnostopoulos
----------------------------------------------------------
Software 978 369-0839
www.windfall.com
----------------------------------------------------------------
My life has been filled with calamities,
some of which actually happened.
---Mark Twain
Guga 'mzimba, sala 'nhliziyo