Changeset cbfa153 for general/prog


Ignore:
Timestamp:
07/17/2024 06:47:00 PM (2 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
12.2, gimp3, lazarus, trunk, xry111/for-12.3, xry111/spidermonkey128
Children:
ad8b716
Parents:
4304a5f
Message:

Finish adding spaces after -D options.

Location:
general/prog
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/prog/llvm.xml

    r4304a5f rcbfa153  
    290290cd       build &amp;&amp;
    291291
    292 CC=gcc CXX=g++                              \
    293 cmake -DCMAKE_INSTALL_PREFIX=/usr           \
    294       -DCMAKE_SKIP_INSTALL_RPATH=ON         \
    295       -DLLVM_ENABLE_FFI=ON                  \
    296       -DCMAKE_BUILD_TYPE=Release            \
    297       -DLLVM_BUILD_LLVM_DYLIB=ON            \
    298       -DLLVM_LINK_LLVM_DYLIB=ON             \
    299       -DLLVM_ENABLE_RTTI=ON                 \
    300       -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" \
    301       -DLLVM_BINUTILS_INCDIR=/usr/include   \
    302       -DLLVM_INCLUDE_BENCHMARKS=OFF         \
    303       -DCLANG_DEFAULT_PIE_ON_LINUX=ON       \
    304       -DCLANG_CONFIG_FILE_SYSTEM_DIR=/etc/clang \
    305       -Wno-dev -G Ninja ..                  &amp;&amp;
     292CC=gcc CXX=g++                               \
     293cmake -D CMAKE_INSTALL_PREFIX=/usr           \
     294      -D CMAKE_SKIP_INSTALL_RPATH=ON         \
     295      -D LLVM_ENABLE_FFI=ON                  \
     296      -D CMAKE_BUILD_TYPE=Release            \
     297      -D LLVM_BUILD_LLVM_DYLIB=ON            \
     298      -D LLVM_LINK_LLVM_DYLIB=ON             \
     299      -D LLVM_ENABLE_RTTI=ON                 \
     300      -D LLVM_TARGETS_TO_BUILD="host;AMDGPU" \
     301      -D LLVM_BINUTILS_INCDIR=/usr/include   \
     302      -D LLVM_INCLUDE_BENCHMARKS=OFF         \
     303      -D CLANG_DEFAULT_PIE_ON_LINUX=ON       \
     304      -D CLANG_CONFIG_FILE_SYSTEM_DIR=/etc/clang \
     305      -W no-dev -G Ninja ..                  &amp;&amp;
    306306ninja</userinput></screen>
    307307<!-- Commented out because myst-parser is not in BLFS and we cannot test
     
    312312    </para>
    313313
    314 <screen remap="doc"><userinput>cmake -DLLVM_BUILD_DOCS=ON            \
    315       -DLLVM_ENABLE_SPHINX=ON         \
    316       -DSPHINX_WARNINGS_AS_ERRORS=OFF \
    317       -Wno-dev -G Ninja ..            &amp;&amp;
     314<screen remap="doc"><userinput>cmake -D LLVM_BUILD_DOCS=ON            \
     315      -D LLVM_ENABLE_SPHINX=ON         \
     316      -D SPHINX_WARNINGS_AS_ERRORS=OFF \
     317      -W no-dev -G Ninja ..            &amp;&amp;
    318318ninja docs-llvm-html  docs-llvm-man</userinput></screen>
    319319
     
    440440
    441441    <para>
    442       <parameter>-DLLVM_ENABLE_FFI=ON</parameter>: This switch allows
     442      <parameter>-D LLVM_ENABLE_FFI=ON</parameter>: This switch allows
    443443      <application>LLVM</application> to use
    444444      <application>libffi</application>.
     
    446446
    447447    <para>
    448       <parameter>-DLLVM_BUILD_LLVM_DYLIB=ON</parameter>: This switch builds
     448      <parameter>-D LLVM_BUILD_LLVM_DYLIB=ON</parameter>: This switch builds
    449449      the libraries as static and links all of them into an unique shared one.
    450450      This is the recommended way of building a shared library.
     
    452452
    453453    <para>
    454       <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch enables
     454      <parameter>-D CMAKE_BUILD_TYPE=Release</parameter>: This switch enables
    455455      compiler optimizations in order to speed up the code and reduce its size.
    456456      It also disables some compile checks which are not necessary on a
     
    459459
    460460    <para>
    461       <parameter>-DLLVM_TARGETS_TO_BUILD="host;AMDGPU"</parameter>: This
     461      <parameter>-D LLVM_TARGETS_TO_BUILD="host;AMDGPU"</parameter>: This
    462462      switch enables building for the same target as the host, and also for
    463463      the r600 AMD GPU used by the Mesa r600 and radeonsi drivers.
     
    470470
    471471    <para>
    472       <parameter>-DLLVM_LINK_LLVM_DYLIB=ON</parameter>: Used in conjunction with
    473       <parameter>-DLLVM_BUILD_LLVM_DYLIB=ON</parameter>, this switch enables
     472      <parameter>-D LLVM_LINK_LLVM_DYLIB=ON</parameter>: Used in conjunction with
     473      <parameter>-D LLVM_BUILD_LLVM_DYLIB=ON</parameter>, this switch enables
    474474      linking the tools against the shared library instead of the static ones.
    475475      It slightly reduces their size and also ensures that llvm-config
     
    478478
    479479    <para>
    480       <parameter>-DLLVM_ENABLE_RTTI=ON</parameter>: This switch is used to
     480      <parameter>-D LLVM_ENABLE_RTTI=ON</parameter>: This switch is used to
    481481      build LLVM with run-time type information. This is required for building
    482482      <xref linkend="mesa"/>.
     
    484484
    485485    <para>
    486       <parameter>-DLLVM_BINUTILS_INCDIR=/usr/include</parameter>: This switch
     486      <parameter>-D LLVM_BINUTILS_INCDIR=/usr/include</parameter>: This switch
    487487      is used to tell the build system the location of binutils headers,
    488488      which were installed in LFS.  This allows the building of
     
    493493
    494494    <para>
    495       <parameter>-DLLVM_INCLUDE_BENCHMARKS=OFF</parameter>:
     495      <parameter>-D LLVM_INCLUDE_BENCHMARKS=OFF</parameter>:
    496496      is used to disable generation build targets for the LLVM
    497497      benchmarks. This option requires additional code that
     
    500500
    501501    <para>
    502       <parameter>-DCLANG_DEFAULT_PIE_ON_LINUX=ON</parameter>: makes
     502      <parameter>-D CLANG_DEFAULT_PIE_ON_LINUX=ON</parameter>: makes
    503503      <option>-fpie</option> option the default when compiling programs.
    504504      Together with the <xref linkend="gASLR"/> feature enabled in the kernel,
     
    507507
    508508    <para>
    509       <parameter>-DCLANG_CONFIG_FILE_SYSTEM_DIR=/etc/clang</parameter>:
     509      <parameter>-D CLANG_CONFIG_FILE_SYSTEM_DIR=/etc/clang</parameter>:
    510510      makes <command>clang</command> and <command>clang++</command>
    511511      search <filename class='directory'>/etc/clang</filename> for
     
    514514
    515515    <para>
    516       <option>-DBUILD_SHARED_LIBS=ON</option>: if used instead of
    517       <parameter>-DLLVM_BUILD_LLVM_DYLIB=ON</parameter> and
    518       <parameter>-DLLVM_LINK_LLVM_DYLIB=ON</parameter>, builds all the
     516      <option>-D BUILD_SHARED_LIBS=ON</option>: if used instead of
     517      <parameter>-D LLVM_BUILD_LLVM_DYLIB=ON</parameter> and
     518      <parameter>-D LLVM_LINK_LLVM_DYLIB=ON</parameter>, builds all the
    519519      <application>LLVM</application> libraries (about 60) as shared
    520520      libraries instead of static.
     
    522522
    523523    <para>
    524       <option>-DLLVM_ENABLE_DOXYGEN</option>: Enables the generation of
     524      <option>-D LLVM_ENABLE_DOXYGEN</option>: Enables the generation of
    525525      browsable HTML documentation if you have installed <xref
    526526      linkend="doxygen"/>. You should run <command>make doxygen-html</command>
  • general/prog/lua.xml

    r4304a5f rcbfa153  
    148148<screen><userinput>patch -Np1 -i ../lua-&lua-version;-shared_library-1.patch &amp;&amp;
    149149make linux</userinput></screen>
    150 <!-- make MYCFLAGS="-DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1" linux
     150<!-- make MYCFLAGS="-D LUA_COMPAT_5_2 -D LUA_COMPAT_5_1" linux
    151151     The MYCFLAGS="" part was brought into the patch since optimization had to
    152152     be turned off.
     
    199199
    200200    <para>
    201       <envar>MYCFLAGS="-DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1"</envar>: This
     201      <envar>MYCFLAGS="- DLUA_COMPAT_5_2 -D LUA_COMPAT_5_1"</envar>: This
    202202      environment variable includes compatibility layers with Lua 5.1 and 5.2
    203203      in the build.
  • general/prog/rust.xml

    r4304a5f rcbfa153  
    173173      <xref linkend="libssh2"/>,
    174174      <xref linkend="llvm"/>
    175       (built with -DLLVM_LINK_LLVM_DYLIB=ON so that rust can link to
     175      (built with -D LLVM_LINK_LLVM_DYLIB=ON so that rust can link to
    176176      system LLVM instead of building its shipped version), and
    177177      <xref linkend="sqlite"/>
Note: See TracChangeset for help on using the changeset viewer.