Changeset 4e845a4
- Timestamp:
- 09/13/2016 04:56:10 PM (8 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 495703a
- Parents:
- 295ffed
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/llvm.xml
r295ffed r4e845a4 208 208 -DLLVM_ENABLE_FFI=ON \ 209 209 -DCMAKE_BUILD_TYPE=Release \ 210 -D BUILD_SHARED_LIBS=ON\210 -DLLVM_BUILD_LLVM_DYLIB=ON \ 211 211 -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" \ 212 212 -Wno-dev .. && … … 218 218 following commands: 219 219 </para> 220 <!-- The following command still works but let's try the next one221 <screen><userinput>make -C ../docs -f Makefile.sphinx man</userinput></screen>222 -->223 220 <screen><userinput>cmake -DLLVM_ENABLE_SPHINX=ON \ 224 221 -DSPHINX_WARNINGS_AS_ERRORS=OFF \ … … 243 240 <screen role="root"><userinput>make install</userinput></screen> 244 241 245 <!-- version 3.8.0: Clang-analyser is built and installed by default246 <para>247 If you had <xref linkend="python2"/> installed and you have248 built <application>Clang</application>, install the249 <application>Clang Analyzer</application> by running the250 following command as the251 <systemitem class="username">root</systemitem> user:252 </para>253 254 <screen role="root"><userinput>install -v -dm755 /usr/lib/clang-analyzer &&255 256 for prog in scan-build scan-view257 do258 cp -rfv ../tools/clang/tools/$prog /usr/lib/clang-analyzer/ &&259 ln -sfv ../lib/clang-analyzer/$prog/$prog /usr/bin/260 done261 unset prog &&262 263 ln -sfv /usr/bin/clang \264 /usr/lib/clang-analyzer/scan-build/ &&265 mv -v /usr/lib/clang-analyzer/scan-build/scan-build.1 \266 /usr/share/man/man1/</userinput></screen>267 -->268 242 <para> 269 243 If you have built the documentation, install it by running the … … 290 264 <title>Command Explanations</title> 291 265 292 <!--293 <para>294 <command>sed -e ... Makefile.config.in</command>: This sed fixes295 location of the installed documentation.296 </para>297 -->298 266 <para> 299 267 <parameter>-DLLVM_ENABLE-FFI=ON</parameter>: This switch enables … … 304 272 305 273 <para> 274 <parameter>-DLLVM_BUILD_LLVM_DYLIB=ON</parameter>: builds libraries as 275 static and links all of them into an unique shared one. This is the 276 recommended way of building a shared library. 277 </para> 278 279 <para> 306 280 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch enables 307 281 compiler optimizations in order to speed up the code and reduce its size. 308 282 It also disables some compile checks, not necessary on a production 309 283 system. 310 </para>311 312 <para>313 <parameter>-DBUILD_SHARED_LIBS=ON</parameter>: This switch enables314 building all the <application>LLVM</application> libraries as shared315 libraries instead of static.316 284 </para> 317 285 … … 326 294 327 295 <para> 328 <option>-DLLVM_BUILD_LLVM_DYLIB=ON</option>: if used instead of 329 <parameter>-DBUILD_SHARED_LIBS=ON</parameter>, builds libraries as 330 static and links all of them into an unique shared one. 296 <option>-DLLVM_LINK_LLVM_DYLIB=ON</option>: Used in conjunction with 297 <parameter>-DLLVM_BUILD_LLVM_DYLIB=ON</parameter>, this switch enables 298 linking the tools against the shared library instead of the static ones. 299 </para> 300 301 <para> 302 <option>-DBUILD_SHARED_LIBS=ON</option>: if used instead of 303 <parameter>-DLLVM_BUILD_LLVM_DYLIB=ON</parameter>, builds all the 304 <application>LLVM</application> libraries (about 60) as shared 305 libraries instead of static. 331 306 </para> 332 307 … … 363 338 </seg> 364 339 <seg> 365 BugpointPasses.so, libclang*.so (21 libraries), libLLVM*.so (53366 libraries), libLTO.so, and LLVMHello.so340 BugpointPasses.so, LLVMHello.so, libLLVM.so, libLLVM*.a (57 341 libraries), libLTO.so, libclang.so and libclang*.a (24 libraries) 367 342 </seg> 368 343 <seg> -
x/installing/mesa.xml
r295ffed r4e845a4 105 105 drivers and also for llvmpipe which is intended to be the fastest of the 106 106 three sw rasterizers, see 107 <ulink url="http://www.mesa3d.org/ faq.html#part3"/>)107 <ulink url="http://www.mesa3d.org/systems.html"/>) 108 108 </para> 109 109 … … 112 112 <xref linkend="libgcrypt"/>, 113 113 <xref linkend="nettle"/>, 114 (<xref linkend="wayland"/> required for <xref linkend='plasma5-build'/> 115 <phrase revision="systemd"> and for <application>GNOME</application></phrase>), 114 (<xref linkend="wayland"/> required for 115 <xref linkend='plasma5-build'/><phrase revision="systemd">,</phrase> 116 <phrase revision="sysv">and</phrase> 117 <xref linkend='lxqt'/><phrase revision="systemd">, and GNOME</phrase>), 116 118 <ulink url="ftp://ftp.freedesktop.org/pub/mesa/demos/">mesa-demos</ulink> 117 119 (provides more than 300 extra demos to test … … 157 159 158 160 <note> 159 <para>Add wayland to the <option>--with-egl-platforms</option> option 160 below if you plan on building <xref linkend='plasma5-build'/> 161 <phrase revision="systemd">or GNOME</phrase>.</para> 161 <para> 162 Add wayland to the <parameter>--with-egl-platforms</parameter> switch 163 below if you plan on building 164 <xref linkend='plasma5-build'/><phrase revision="systemd">,</phrase> 165 <phrase revision="sysv">or</phrase> 166 <xref linkend='lxqt'/><phrase revision="systemd">, or GNOME</phrase>. 167 </para> 162 168 </note> 163 169 164 <screen><userinput>GLL_DRV="nouveau,r300,r600,radeonsi,svga,swrast ,swr" &&170 <screen><userinput>GLL_DRV="nouveau,r300,r600,radeonsi,svga,swrast" && 165 171 166 172 sed -i "/pthread-stubs/d" configure.ac && … … 291 297 not install <application>elfutils</application> and 292 298 <application>LLVM</application> with the r600/amdgpu and host backends. 299 Note that swr is in an early development stage, and the BLFS team does 300 not recommend building it. 293 301 </para> 294 302
Note:
See TracChangeset
for help on using the changeset viewer.