Ignore:
Timestamp:
04/16/2018 01:00:07 AM (6 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, 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:
ed9ef43f
Parents:
314919e
Message:

Attempt to make rustc build agaisnt system llvm for everyone.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/llvm.xml

    r314919e rbb0652ca  
    55  %general-entities;
    66
     7  <!ENTITY llvm-majmin "6.0"> <!-- used in an explanation -->
    78  <!ENTITY llvm-download-http "http://llvm.org/releases/&llvm-version;/llvm-&llvm-version;.src.tar.xz">
    89  <!ENTITY llvm-download-ftp  " ">
     
    196197      -DCMAKE_BUILD_TYPE=Release            \
    197198      -DLLVM_BUILD_LLVM_DYLIB=ON            \
     199      -DLLVM_LINK_LLVM_DYLIB=ON             \
    198200      -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" \
    199201      -Wno-dev ..                           &amp;&amp;
     
    281283
    282284    <para>
    283       <option>-DLLVM_LINK_LLVM_DYLIB=ON</option>: Used in conjunction with
     285      <parameter>-DLLVM_LINK_LLVM_DYLIB=ON</parameter>: Used in conjunction with
    284286      <parameter>-DLLVM_BUILD_LLVM_DYLIB=ON</parameter>, this switch enables
    285287      linking the tools against the shared library instead of the static ones.
     288      It also slightly reduces their size and also ensures that llvm-config
     289      will correctly use libLLVM-&llvm-majmin;.so.
    286290    </para>
    287291
    288292    <para>
    289293      <option>-DBUILD_SHARED_LIBS=ON</option>: if used instead of
    290       <parameter>-DLLVM_BUILD_LLVM_DYLIB=ON</parameter>, builds all the
     294      <parameter>-DLLVM_BUILD_LLVM_DYLIB=ON</parameter> and
     295      <parameter>-DLLVM_LINK_LLVM_DYLIB=ON</parameter>, builds all the
    291296      <application>LLVM</application> libraries (about 60) as shared
    292297      libraries instead of static.
Note: See TracChangeset for help on using the changeset viewer.