Changeset a7b21cc


Ignore:
Timestamp:
02/10/2023 01:25:35 PM (15 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
adcccac
Parents:
3ca986e0
Message:

llvm: Modify CMakeList.txt to avoid using a stray directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/llvm.xml

    r3ca986e0 ra7b21cc  
    208208    <title>Installation of LLVM</title>
    209209
    210     <note>
    211       <para>
    212         Starting with version 15.0.0, an additional tarball
    213         <filename>llvm-cmake-&llvm-version;.src.tar.xz</filename>
    214         needs to be extracted at the same level as the
    215         <filename>llvm-&llvm-version;.src.tar.xz</filename> tarball,
    216         and the extracted directory needs to be renamed to
    217         <filename class="directory">cmake</filename>.
    218       </para>
     210    <para>
     211      Starting with version 15.0.0, an additional tarball
     212      <filename>llvm-cmake-&llvm-version;.src.tar.xz</filename>
     213      is needed.  The upstream expects it extracted at the same level as
     214      the <filename>llvm-&llvm-version;.src.tar.xz</filename> tarball,
     215      and the extracted directory renamed to
     216      <filename class="directory">cmake</filename>.  Extract it and
     217      modify the build system to avoid creating a directory outside the
     218      <filename>llvm-&llvm-version;.src</filename> hierarchy:
     219    </para>
    219220
    220221<screen><userinput>tar -xf ../llvm-cmake-&llvm-version;.src.tar.xz &amp;&amp;
    221 mv cmake-&llvm-version;.src ../cmake</userinput></screen>
    222 
    223     </note>
     222sed '/LLVM_COMMON_CMAKE_UTILS/s@../cmake@cmake-&llvm-version;.src@' \
     223    -i CMakeLists.txt</userinput></screen>
    224224
    225225    <para>
Note: See TracChangeset for help on using the changeset viewer.