Changeset 5e8edab5 for general/prog/llvm.xml
- Timestamp:
- 05/24/2019 02:26:17 AM (5 years ago)
- Branches:
- elogind
- Children:
- 8eebfaa5
- Parents:
- 215c728b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/llvm.xml
r215c728b r5e8edab5 211 211 212 212 <para> 213 If you have installed <application>Sphinx</application> and 214 <application>recommonmark</application> and wish 215 to generate the html documentation and manual pages, issue the following 216 commands: 217 </para> 218 219 <screen remap="doc"><userinput>cmake -DLLVM_ENABLE_SPHINX=ON \ 220 -DSPHINX_WARNINGS_AS_ERRORS=OFF \ 221 -Wno-dev -G Ninja .. && 222 ninja docs-llvm-html docs-llvm-man</userinput></screen> 223 224 <para> 225 If you have downloaded the optional packages, the clang documentation 226 can be built too: 227 </para> 228 229 <screen remap="doc"><userinput>ninja docs-clang-html docs-clang-man</userinput></screen> 230 231 <para> 213 232 <!-- EDITORS - if you have more than 4 cores, take some offline to measure 214 233 the elapsed time for the tests. Also, libstdc++.a and perhaps libstdc++fs.a … … 234 253 235 254 <para> 236 If you have installed <application>Sphinx</application> and 237 <application>recommonmark</application> and wish 238 to generate the html documentation and manual pages, issue the following 239 commands: 240 </para> 241 <screen><userinput>cmake -DLLVM_ENABLE_SPHINX=ON \ 242 -DSPHINX_WARNINGS_AS_ERRORS=OFF \ 243 -Wno-dev -G Ninja .. && 244 ninja docs-llvm-html docs-llvm-man</userinput></screen> 245 <para> 246 If you have downloaded the optional packages, the clang documentation 247 can be built too: 248 </para> 249 <screen><userinput>ninja docs-clang-html docs-clang-man</userinput></screen> 250 251 <para> 252 Install the llvm documentation by running the following command as the 253 <systemitem class="username">root</systemitem> user: 254 </para> 255 256 <screen role="root"><userinput>install -v -m644 docs/man/* /usr/share/man/man1 && 255 If you have built the the llvm documentation, install it by running the 256 following commands as the <systemitem class="username">root</systemitem> 257 user: 258 </para> 259 260 <screen role="root" 261 remap="doc"><userinput>install -v -m644 docs/man/* /usr/share/man/man1 && 257 262 install -v -d -m755 /usr/share/doc/llvm-&llvm-version;/llvm-html && 258 263 cp -Rv docs/html/* /usr/share/doc/llvm-&llvm-version;/llvm-html</userinput></screen> 259 264 260 265 <para> 261 The clang documentation can be installed in the same way (again as the 266 If you have built the clang documentation, it can be installed in the 267 same way (again as the 262 268 <systemitem class="username">root</systemitem> user): 263 269 </para> 264 270 265 <screen role="root"><userinput>install -v -m644 tools/clang/docs/man/* /usr/share/man/man1 && 271 <screen role="root" 272 remap="doc"><userinput>install -v -m644 tools/clang/docs/man/* /usr/share/man/man1 && 266 273 install -v -d -m755 /usr/share/doc/llvm-&llvm-version;/clang-html && 267 274 cp -Rv tools/clang/docs/html/* /usr/share/doc/llvm-&llvm-version;/clang-html</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.