Changeset 4e845a4


Ignore:
Timestamp:
09/13/2016 04:56:10 PM (8 years ago)
Author:
Pierre Labastie <pieere@…>
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
Message:

Fix LLVM and mesa instructions for LLVM-3.9

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17757 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • general/prog/llvm.xml

    r295ffed r4e845a4  
    208208      -DLLVM_ENABLE_FFI=ON                  \
    209209      -DCMAKE_BUILD_TYPE=Release            \
    210       -DBUILD_SHARED_LIBS=ON                \
     210      -DLLVM_BUILD_LLVM_DYLIB=ON            \
    211211      -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" \
    212212      -Wno-dev ..                           &amp;&amp;
     
    218218      following commands:
    219219    </para>
    220 <!-- The following command still works but let's try the next one
    221 <screen><userinput>make -C ../docs -f Makefile.sphinx man</userinput></screen>
    222 -->
    223220<screen><userinput>cmake -DLLVM_ENABLE_SPHINX=ON         \
    224221      -DSPHINX_WARNINGS_AS_ERRORS=OFF \
     
    243240<screen role="root"><userinput>make install</userinput></screen>
    244241
    245 <!-- version 3.8.0: Clang-analyser is built and installed by default
    246     <para>
    247       If you had <xref linkend="python2"/> installed and you have
    248       built <application>Clang</application>, install the
    249       <application>Clang Analyzer</application> by running the
    250       following command as the
    251       <systemitem class="username">root</systemitem> user:
    252     </para>
    253 
    254 <screen role="root"><userinput>install -v -dm755 /usr/lib/clang-analyzer &amp;&amp;
    255 
    256 for prog in scan-build scan-view
    257 do
    258   cp -rfv ../tools/clang/tools/$prog /usr/lib/clang-analyzer/ &amp;&amp;
    259   ln -sfv ../lib/clang-analyzer/$prog/$prog /usr/bin/
    260 done
    261 unset prog &amp;&amp;
    262 
    263 ln -sfv /usr/bin/clang \
    264         /usr/lib/clang-analyzer/scan-build/ &amp;&amp;
    265 mv -v   /usr/lib/clang-analyzer/scan-build/scan-build.1 \
    266         /usr/share/man/man1/</userinput></screen>
    267 -->
    268242    <para>
    269243      If you have built  the documentation, install it by running the
     
    290264    <title>Command Explanations</title>
    291265
    292 <!--
    293     <para>
    294       <command>sed -e ... Makefile.config.in</command>: This sed fixes
    295       location of the installed documentation.
    296     </para>
    297 -->
    298266    <para>
    299267      <parameter>-DLLVM_ENABLE-FFI=ON</parameter>: This switch enables
     
    304272
    305273    <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>
    306280      <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch enables
    307281      compiler optimizations in order to speed up the code and reduce its size.
    308282      It also disables some compile checks, not necessary on a production
    309283      system.
    310     </para>
    311 
    312     <para>
    313       <parameter>-DBUILD_SHARED_LIBS=ON</parameter>: This switch enables
    314       building all the <application>LLVM</application> libraries as shared
    315       libraries instead of static.
    316284    </para>
    317285
     
    326294
    327295    <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.
    331306    </para>
    332307
     
    363338        </seg>
    364339        <seg>
    365           BugpointPasses.so, libclang*.so (21 libraries), libLLVM*.so (53
    366           libraries), libLTO.so, and LLVMHello.so
     340          BugpointPasses.so,  LLVMHello.so, libLLVM.so, libLLVM*.a (57
     341          libraries), libLTO.so, libclang.so and libclang*.a (24 libraries)
    367342        </seg>
    368343        <seg>
  • x/installing/mesa.xml

    r295ffed r4e845a4  
    105105      drivers and also for llvmpipe which is intended to be the fastest of the
    106106      three sw rasterizers, see
    107       <ulink url="http://www.mesa3d.org/faq.html#part3"/>)
     107      <ulink url="http://www.mesa3d.org/systems.html"/>)
    108108    </para>
    109109
     
    112112      <xref linkend="libgcrypt"/>,
    113113      <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>),
    116118      <ulink url="ftp://ftp.freedesktop.org/pub/mesa/demos/">mesa-demos</ulink>
    117119      (provides more than 300 extra demos to test
     
    157159
    158160    <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>
    162168    </note>
    163169
    164 <screen><userinput>GLL_DRV="nouveau,r300,r600,radeonsi,svga,swrast,swr" &amp;&amp;
     170<screen><userinput>GLL_DRV="nouveau,r300,r600,radeonsi,svga,swrast" &amp;&amp;
    165171
    166172sed -i "/pthread-stubs/d" configure.ac      &amp;&amp;
     
    291297      not install <application>elfutils</application> and
    292298      <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.
    293301    </para>
    294302
Note: See TracChangeset for help on using the changeset viewer.