Changeset cbfa153
- Timestamp:
- 07/17/2024 06:47:00 PM (6 weeks ago)
- Branches:
- gimp3, lazarus, trunk, xry111/for-12.3, xry111/spidermonkey128
- Children:
- ad8b716
- Parents:
- 4304a5f
- Files:
-
- 41 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/abseil-cpp.xml
r4304a5f rcbfa153 80 80 cd build && 81 81 82 cmake -D CMAKE_INSTALL_PREFIX=/usr \83 -D CMAKE_BUILD_TYPE=Release \84 -D ABSL_PROPAGATE_CXX_STD=ON \85 -D BUILD_SHARED_LIBS=ON \86 -G Ninja .. &&82 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 83 -D CMAKE_BUILD_TYPE=Release \ 84 -D ABSL_PROPAGATE_CXX_STD=ON \ 85 -D BUILD_SHARED_LIBS=ON \ 86 -G Ninja .. && 87 87 ninja</userinput></screen> 88 88 … … 103 103 104 104 <para> 105 <parameter>-D ABSL_PROPAGATE_CXX_STD=ON</parameter>: This parameter105 <parameter>-D ABSL_PROPAGATE_CXX_STD=ON</parameter>: This parameter 106 106 enables propagating C++ features to targets that link to this package's 107 107 libraries. … … 109 109 110 110 <para> 111 <parameter>-D BUILD_SHARED_LIBS=ON</parameter>: This parameter builds111 <parameter>-D BUILD_SHARED_LIBS=ON</parameter>: This parameter builds 112 112 shared versions of the libraries provided by this package instead of 113 113 static libraries. -
general/genlib/brotli.xml
r4304a5f rcbfa153 98 98 cd build && 99 99 100 cmake -D CMAKE_INSTALL_PREFIX=/usr \101 -D CMAKE_BUILD_TYPE=Release \100 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 101 -D CMAKE_BUILD_TYPE=Release \ 102 102 .. && 103 103 make</userinput></screen> -
general/genlib/clucene.xml
r4304a5f rcbfa153 106 106 cd build && 107 107 108 cmake -D CMAKE_INSTALL_PREFIX=/usr \109 -D BUILD_CONTRIBS_LIB=ON .. &&108 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 109 -D BUILD_CONTRIBS_LIB=ON .. && 110 110 make</userinput></screen> 111 111 … … 122 122 123 123 <para> 124 <parameter>-D BUILD_CONTRIBS_LIB=ON</parameter>: This cmake variable124 <parameter>-D BUILD_CONTRIBS_LIB=ON</parameter>: This cmake variable 125 125 enables building the CLucene contribs library necessary for running 126 126 applications that use language specific text analyzers like LibreOffice -
general/genlib/double-conversion.xml
r4304a5f rcbfa153 90 90 cd build && 91 91 92 cmake -D CMAKE_INSTALL_PREFIX=/usr \93 -D BUILD_SHARED_LIBS=ON \94 -D BUILD_TESTING=ON \92 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 93 -D BUILD_SHARED_LIBS=ON \ 94 -D BUILD_TESTING=ON \ 95 95 .. && 96 96 make</userinput></screen> … … 111 111 112 112 <para> 113 <parameter>-D BUILD_SHARED_LIBS=ON</parameter>: This switch forces cmake to build113 <parameter>-D BUILD_SHARED_LIBS=ON</parameter>: This switch forces cmake to build 114 114 a shared version of the library instead of the static version. 115 115 </para> 116 116 117 117 <para> 118 <parameter>-D BUILD_TESTING=ON</parameter>: This switch builds the test programs.118 <parameter>-D BUILD_TESTING=ON</parameter>: This switch builds the test programs. 119 119 </para> 120 120 </sect2> -
general/genlib/intel-gmmlib.xml
r4304a5f rcbfa153 97 97 cd build && 98 98 99 cmake -D CMAKE_INSTALL_PREFIX=/usr\100 -D BUILD_TYPE=Release\101 -G Ninja 102 -W no-dev ..&&99 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 100 -D BUILD_TYPE=Release \ 101 -G Ninja \ 102 -W no-dev .. && 103 103 ninja</userinput></screen> 104 104 105 105 <para> 106 106 The test suite is normally run by <command>ninja</command> unless 107 -D RUN_TEST_SUITE=NO is passed to cmake.107 -D RUN_TEST_SUITE=NO is passed to cmake. 108 108 </para> 109 109 -
general/genlib/json-c.xml
r4304a5f rcbfa153 101 101 cd build && 102 102 103 cmake -D CMAKE_INSTALL_PREFIX=/usr \104 -D CMAKE_BUILD_TYPE=Release \105 -D BUILD_STATIC_LIBS=OFF \103 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 104 -D CMAKE_BUILD_TYPE=Release \ 105 -D BUILD_STATIC_LIBS=OFF \ 106 106 .. && 107 107 make</userinput></screen> … … 139 139 140 140 <para> 141 <parameter>-D CMAKE_BUILD_TYPE=Release</parameter>: This switch is141 <parameter>-D CMAKE_BUILD_TYPE=Release</parameter>: This switch is 142 142 used to apply a higher level of compiler optimizations. 143 143 </para> -
general/genlib/libptytty.xml
r4304a5f rcbfa153 89 89 cd build && 90 90 91 cmake -D CMAKE_INSTALL_PREFIX=/usr \92 -D CMAKE_BUILD_TYPE=Release \93 -D PT_UTMP_FILE:STRING=/run/utmp \91 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 92 -D CMAKE_BUILD_TYPE=Release \ 93 -D PT_UTMP_FILE:STRING=/run/utmp \ 94 94 .. && 95 95 make</userinput></screen> -
general/genlib/libuv.xml
r4304a5f rcbfa153 106 106 cd build && 107 107 108 cmake -D CMAKE_INSTALL_PREFIX=/usr .. &&108 cmake -D CMAKE_INSTALL_PREFIX=/usr .. && 109 109 make </userinput></screen> 110 110 --> -
general/genlib/libyaml.xml
r4304a5f rcbfa153 92 92 cd build && 93 93 94 cmake -D CMAKE_INSTALL_PREFIX=/usr \95 -D BUILD_SHARED_LIBS=true \96 -D CMAKE_BUILD_TYPE=RELEASE .. &&94 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 95 -D BUILD_SHARED_LIBS=true \ 96 -D CMAKE_BUILD_TYPE=RELEASE .. && 97 97 make</userinput></screen> --> 98 98 -
general/genlib/protobuf.xml
r4304a5f rcbfa153 86 86 cd build && 87 87 88 cmake -D CMAKE_INSTALL_PREFIX=/usr \89 -D CMAKE_BUILD_TYPE=Release \90 -D CMAKE_SKIP_INSTALL_RPATH=ON \91 -D protobuf_BUILD_TESTS=OFF \92 -D protobuf_ABSL_PROVIDER=package \93 -D protobuf_BUILD_LIBUPB=OFF \94 -D protobuf_BUILD_SHARED_LIBS=ON \95 -D utf8_range_ENABLE_INSTALL=OFF \96 -G Ninja .. &&88 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 89 -D CMAKE_BUILD_TYPE=Release \ 90 -D CMAKE_SKIP_INSTALL_RPATH=ON \ 91 -D protobuf_BUILD_TESTS=OFF \ 92 -D protobuf_ABSL_PROVIDER=package \ 93 -D protobuf_BUILD_LIBUPB=OFF \ 94 -D protobuf_BUILD_SHARED_LIBS=ON \ 95 -D utf8_range_ENABLE_INSTALL=OFF \ 96 -G Ninja .. && 97 97 ninja</userinput></screen> 98 98 … … 125 125 126 126 <para> 127 <parameter>-D protobuf_BUILD_TESTS=OFF</parameter>: This parameter prevents127 <parameter>-D protobuf_BUILD_TESTS=OFF</parameter>: This parameter prevents 128 128 the tests from being built because 129 129 <ulink url="https://github.com/google/googletest">gtest</ulink> is not … … 132 132 133 133 <para> 134 <parameter>-D protobuf_ABSL_PROVIDER=package</parameter>: This parameter134 <parameter>-D protobuf_ABSL_PROVIDER=package</parameter>: This parameter 135 135 allows the build system to use the system-installed copy of 136 136 <xref linkend="abseil-cpp" role="nodep"/>. … … 138 138 139 139 <para> 140 <parameter>-D protobuf_BUILD_SHARED_LIBS=ON</parameter>: This parameter140 <parameter>-D protobuf_BUILD_SHARED_LIBS=ON</parameter>: This parameter 141 141 enables building shared versions of the libraries provided by this package 142 142 instead of static versions. … … 144 144 145 145 <para> 146 <parameter>-D utf8_range_ENABLE_INSTALL=OFF</parameter>: This parameter146 <parameter>-D utf8_range_ENABLE_INSTALL=OFF</parameter>: This parameter 147 147 disables installing the utf8_range static library. The functions 148 148 provided by this library and used by protobuf is already embedded into -
general/genlib/spirv-headers.xml
r4304a5f rcbfa153 98 98 cd build && 99 99 100 cmake -D CMAKE_INSTALL_PREFIX=/usr -G Ninja .. &&100 cmake -D CMAKE_INSTALL_PREFIX=/usr -G Ninja .. && 101 101 ninja</userinput></screen> 102 102 -
general/genlib/uchardet.xml
r4304a5f rcbfa153 89 89 cd build && 90 90 91 cmake -D CMAKE_INSTALL_PREFIX=/usr \92 -D BUILD_STATIC=OFF \93 -W no-dev .. &&91 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 92 -D BUILD_STATIC=OFF \ 93 -W no-dev .. && 94 94 make</userinput></screen> 95 95 … … 109 109 110 110 <para> 111 <parameter>-D BUILD_STATIC=OFF</parameter>: This switch disables building111 <parameter>-D BUILD_STATIC=OFF</parameter>: This switch disables building 112 112 the static version of the library. 113 113 </para> -
general/genlib/utfcpp.xml
r4304a5f rcbfa153 86 86 cd build && 87 87 88 cmake -D CMAKE_INSTALL_PREFIX=/usr ..</userinput></screen>88 cmake -D CMAKE_INSTALL_PREFIX=/usr ..</userinput></screen> 89 89 <!-- Running make does nothing --> 90 90 -
general/genutils/tidy-html5.xml
r4304a5f rcbfa153 94 94 <screen><userinput>cd build/cmake && 95 95 96 cmake -D CMAKE_INSTALL_PREFIX=/usr \97 -D CMAKE_BUILD_TYPE=Release \98 -D BUILD_TAB2SPACE=ON \96 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 97 -D CMAKE_BUILD_TYPE=Release \ 98 -D BUILD_TAB2SPACE=ON \ 99 99 ../.. && 100 100 … … 119 119 120 120 <para> 121 <parameter>-D CMAKE_BUILD_TYPE=Release</parameter>: This switch is used to121 <parameter>-D CMAKE_BUILD_TYPE=Release</parameter>: This switch is used to 122 122 build the release library without any debug `assert` in the code. 123 123 </para> 124 124 125 125 <para> 126 <parameter>-D BUILD_TAB2SPACE=ON</parameter>: This switch is used to enable126 <parameter>-D BUILD_TAB2SPACE=ON</parameter>: This switch is used to enable 127 127 building the <command>tab2space</command> utility. 128 128 </para> -
general/graphlib/exiv2.xml
r4304a5f rcbfa153 124 124 cd build && 125 125 126 cmake -D CMAKE_INSTALL_PREFIX=/usr\127 -D CMAKE_BUILD_TYPE=Release\128 -D EXIV2_ENABLE_VIDEO=yes\129 -D EXIV2_ENABLE_WEBREADY=yes\130 -D EXIV2_ENABLE_CURL=yes\131 -D EXIV2_BUILD_SAMPLES=no\132 -D CMAKE_SKIP_INSTALL_RPATH=ON \133 -G Ninja .. &&126 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 127 -D CMAKE_BUILD_TYPE=Release \ 128 -D EXIV2_ENABLE_VIDEO=yes \ 129 -D EXIV2_ENABLE_WEBREADY=yes \ 130 -D EXIV2_ENABLE_CURL=yes \ 131 -D EXIV2_BUILD_SAMPLES=no \ 132 -D CMAKE_SKIP_INSTALL_RPATH=ON \ 133 -G Ninja .. && 134 134 ninja</userinput></screen> 135 135 … … 153 153 154 154 <para> 155 <parameter>-D EXIV2_ENABLE_VIDEO=yes</parameter>:155 <parameter>-D EXIV2_ENABLE_VIDEO=yes</parameter>: 156 156 This switch enables managing video metadata. 157 157 </para> 158 158 159 159 <para> 160 <parameter>-D EXIV2_ENABLE_WEBREADY=yes</parameter>:160 <parameter>-D EXIV2_ENABLE_WEBREADY=yes</parameter>: 161 161 This switch enables managing web image metadata. 162 162 </para> 163 163 164 164 <para> 165 <parameter>-D EXIV2_BUILD_SAMPLES=no</parameter>:165 <parameter>-D EXIV2_BUILD_SAMPLES=no</parameter>: 166 166 This switch is necessary to suppress building and installing 167 167 sample programs. If the sample programs are built, 34 additional … … 170 170 171 171 <para> 172 <parameter>-D EXIV2_ENABLE_CURL=yes</parameter>:172 <parameter>-D EXIV2_ENABLE_CURL=yes</parameter>: 173 173 This switch is necessary to enable network/http capabilities. 174 174 </para> 175 175 176 176 <para> 177 <option>-D EXIV2_ENABLE_INIH=no</option>:177 <option>-D EXIV2_ENABLE_INIH=no</option>: 178 178 Use this switch if you have not installed <xref linkend="inih"/>. 179 179 </para> 180 180 181 181 <para> 182 <option>-D EXIV2_ENABLE_BROTLI=no</option>:182 <option>-D EXIV2_ENABLE_BROTLI=no</option>: 183 183 Use this switch if you have not installed <xref linkend="brotli"/>. 184 184 </para> -
general/graphlib/graphite2.xml
r4304a5f rcbfa153 138 138 cd build && 139 139 140 cmake -D CMAKE_INSTALL_PREFIX=/usr .. &&140 cmake -D CMAKE_INSTALL_PREFIX=/usr .. && 141 141 make</userinput></screen> 142 142 … … 181 181 182 182 <para> 183 <option>-D CMAKE_VERBOSE_MAKEFILE=ON</option>: This switch turns on183 <option>-D CMAKE_VERBOSE_MAKEFILE=ON</option>: This switch turns on 184 184 build verbose mode. 185 185 </para> -
general/graphlib/jasper.xml
r4304a5f rcbfa153 114 114 cd BUILD && 115 115 116 cmake -D CMAKE_INSTALL_PREFIX=/usr \117 -D CMAKE_BUILD_TYPE=Release \118 -D CMAKE_SKIP_INSTALL_RPATH=ON \119 -D JAS_ENABLE_DOC=NO \120 -D ALLOW_IN_SOURCE_BUILD=YES \121 -D CMAKE_INSTALL_DOCDIR=/usr/share/doc/jasper-&jasper-version; \116 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 117 -D CMAKE_BUILD_TYPE=Release \ 118 -D CMAKE_SKIP_INSTALL_RPATH=ON \ 119 -D JAS_ENABLE_DOC=NO \ 120 -D ALLOW_IN_SOURCE_BUILD=YES \ 121 -D CMAKE_INSTALL_DOCDIR=/usr/share/doc/jasper-&jasper-version; \ 122 122 .. && 123 123 make</userinput></screen> … … 142 142 143 143 <para> 144 <parameter>-D JAS_ENABLE_DOC=NO</parameter>: This option disables144 <parameter>-D JAS_ENABLE_DOC=NO</parameter>: This option disables 145 145 rebuilding the pdf documentation if <xref linkend="texlive"/> 146 146 is installed. … … 148 148 149 149 <para> 150 <parameter>-D ALLOW_IN_SOURCE_BUILD=YES</parameter>: This switch allows150 <parameter>-D ALLOW_IN_SOURCE_BUILD=YES</parameter>: This switch allows 151 151 building from within the source tree. In our case, this is needed to 152 152 allow us to build inside of the BUILD directory instead of needing to -
general/graphlib/libjpeg-turbo.xml
r4304a5f rcbfa153 96 96 cd build && 97 97 98 cmake -D CMAKE_INSTALL_PREFIX=/usr \99 -D CMAKE_BUILD_TYPE=RELEASE \100 -D ENABLE_STATIC=FALSE \101 -D CMAKE_INSTALL_DEFAULT_LIBDIR=lib \102 -D CMAKE_SKIP_INSTALL_RPATH=ON \103 -D CMAKE_INSTALL_DOCDIR=/usr/share/doc/libjpeg-turbo-&libjpeg-turbo-version; \98 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 99 -D CMAKE_BUILD_TYPE=RELEASE \ 100 -D ENABLE_STATIC=FALSE \ 101 -D CMAKE_INSTALL_DEFAULT_LIBDIR=lib \ 102 -D CMAKE_SKIP_INSTALL_RPATH=ON \ 103 -D CMAKE_INSTALL_DOCDIR=/usr/share/doc/libjpeg-turbo-&libjpeg-turbo-version; \ 104 104 .. && 105 105 make</userinput></screen> … … 134 134 135 135 <para> 136 <option>-D WITH_JPEG8=ON</option>: This switch enables compatibility136 <option>-D WITH_JPEG8=ON</option>: This switch enables compatibility 137 137 with <application>libjpeg</application> version 8. 138 138 </para> -
general/graphlib/libtiff.xml
r4304a5f rcbfa153 121 121 cd libtiff-build && 122 122 123 cmake -D CMAKE_INSTALL_DOCDIR=/usr/share/doc/libtiff-&libtiff-version; \124 -D CMAKE_INSTALL_PREFIX=/usr -G Ninja .. &&123 cmake -D CMAKE_INSTALL_DOCDIR=/usr/share/doc/libtiff-&libtiff-version; \ 124 -D CMAKE_INSTALL_PREFIX=/usr -G Ninja .. && 125 125 ninja</userinput></screen> 126 126 -
general/graphlib/opencv.xml
r4304a5f rcbfa153 161 161 cd build && 162 162 163 cmake -D CMAKE_INSTALL_PREFIX=/usr \164 -D CMAKE_BUILD_TYPE=Release \165 -D ENABLE_CXX11=ON \166 -D BUILD_PERF_TESTS=OFF \167 -D WITH_XINE=ON \168 -D BUILD_TESTS=OFF \169 -D ENABLE_PRECOMPILED_HEADERS=OFF \170 -D CMAKE_SKIP_INSTALL_RPATH=ON \171 -D BUILD_WITH_DEBUG_INFO=OFF \172 -W no-dev .. &&163 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 164 -D CMAKE_BUILD_TYPE=Release \ 165 -D ENABLE_CXX11=ON \ 166 -D BUILD_PERF_TESTS=OFF \ 167 -D WITH_XINE=ON \ 168 -D BUILD_TESTS=OFF \ 169 -D ENABLE_PRECOMPILED_HEADERS=OFF \ 170 -D CMAKE_SKIP_INSTALL_RPATH=ON \ 171 -D BUILD_WITH_DEBUG_INFO=OFF \ 172 -W no-dev .. && 173 173 make</userinput></screen> 174 174 … … 192 192 193 193 <para> 194 <parameter>-D WITH_XINE=ON</parameter>: This option instructs the make194 <parameter>-D WITH_XINE=ON</parameter>: This option instructs the make 195 195 procedure to use <xref linkend="xine-lib"/>. 196 196 </para> 197 197 198 198 <para> 199 <parameter>-D ENABLE_PRECOMPILED_HEADERS=OFF</parameter>: This option199 <parameter>-D ENABLE_PRECOMPILED_HEADERS=OFF</parameter>: This option 200 200 is needed for compatibility with gcc-6.1 and later. 201 201 </para> 202 202 203 203 <para> 204 <option>-D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib-&opencv-version;/modules</option>:204 <option>-D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib-&opencv-version;/modules</option>: 205 205 instructs the build system to build additional modules. 206 206 </para> -
general/graphlib/openjpeg2.xml
r4304a5f rcbfa153 97 97 cd build && 98 98 99 cmake -D CMAKE_BUILD_TYPE=Release\100 -D CMAKE_INSTALL_PREFIX=/usr \101 -D BUILD_STATIC_LIBS=OFF ..&&99 cmake -D CMAKE_BUILD_TYPE=Release \ 100 -D CMAKE_INSTALL_PREFIX=/usr \ 101 -D BUILD_STATIC_LIBS=OFF .. && 102 102 make</userinput></screen> 103 103 … … 109 109 110 110 <screen remap="test"><userinput>git clone https://github.com/uclouvain/openjpeg-data.git --depth 1 && 111 OPJ_DATA_ROOT=$PWD/openjpeg-data cmake -D BUILD_TESTING=ON ..&&111 OPJ_DATA_ROOT=$PWD/openjpeg-data cmake -D BUILD_TESTING=ON .. && 112 112 make && 113 113 make test</userinput></screen> … … 126 126 127 127 <para> 128 <option>-D BUILD_TESTING=ON</option>: This switch enables128 <option>-D BUILD_TESTING=ON</option>: This switch enables 129 129 building the test suite. 130 130 </para> -
general/graphlib/qpdf.xml
r4304a5f rcbfa153 97 97 cd build && 98 98 99 cmake -D CMAKE_INSTALL_PREFIX=/usr \100 -D CMAKE_BUILD_TYPE=Release \101 -D BUILD_STATIC_LIBS=OFF \102 -D CMAKE_INSTALL_DOCDIR=/usr/share/doc/qpdf-&qpdf-version; \99 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 100 -D CMAKE_BUILD_TYPE=Release \ 101 -D BUILD_STATIC_LIBS=OFF \ 102 -D CMAKE_INSTALL_DOCDIR=/usr/share/doc/qpdf-&qpdf-version; \ 103 103 .. && 104 104 make</userinput></screen> -
general/graphlib/woff2.xml
r4304a5f rcbfa153 101 101 </para> 102 102 103 <screen><userinput>mkdir out &&104 cd out &&105 cmake -D CMAKE_INSTALL_PREFIX=/usr \106 -D CMAKE_BUILD_TYPE=Release \107 -D CMAKE_SKIP_INSTALL_RPATH=ON .. &&103 <screen><userinput>mkdir out && 104 cd out && 105 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 106 -D CMAKE_BUILD_TYPE=Release \ 107 -D CMAKE_SKIP_INSTALL_RPATH=ON .. && 108 108 make</userinput></screen> 109 109 -
general/prog/llvm.xml
r4304a5f rcbfa153 290 290 cd build && 291 291 292 CC=gcc CXX=g++ \293 cmake -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 .. &&292 CC=gcc CXX=g++ \ 293 cmake -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 .. && 306 306 ninja</userinput></screen> 307 307 <!-- Commented out because myst-parser is not in BLFS and we cannot test … … 312 312 </para> 313 313 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 .. &&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 .. && 318 318 ninja docs-llvm-html docs-llvm-man</userinput></screen> 319 319 … … 440 440 441 441 <para> 442 <parameter>-D LLVM_ENABLE_FFI=ON</parameter>: This switch allows442 <parameter>-D LLVM_ENABLE_FFI=ON</parameter>: This switch allows 443 443 <application>LLVM</application> to use 444 444 <application>libffi</application>. … … 446 446 447 447 <para> 448 <parameter>-D LLVM_BUILD_LLVM_DYLIB=ON</parameter>: This switch builds448 <parameter>-D LLVM_BUILD_LLVM_DYLIB=ON</parameter>: This switch builds 449 449 the libraries as static and links all of them into an unique shared one. 450 450 This is the recommended way of building a shared library. … … 452 452 453 453 <para> 454 <parameter>-D CMAKE_BUILD_TYPE=Release</parameter>: This switch enables454 <parameter>-D CMAKE_BUILD_TYPE=Release</parameter>: This switch enables 455 455 compiler optimizations in order to speed up the code and reduce its size. 456 456 It also disables some compile checks which are not necessary on a … … 459 459 460 460 <para> 461 <parameter>-D LLVM_TARGETS_TO_BUILD="host;AMDGPU"</parameter>: This461 <parameter>-D LLVM_TARGETS_TO_BUILD="host;AMDGPU"</parameter>: This 462 462 switch enables building for the same target as the host, and also for 463 463 the r600 AMD GPU used by the Mesa r600 and radeonsi drivers. … … 470 470 471 471 <para> 472 <parameter>-D LLVM_LINK_LLVM_DYLIB=ON</parameter>: Used in conjunction with473 <parameter>-D LLVM_BUILD_LLVM_DYLIB=ON</parameter>, this switch enables472 <parameter>-D LLVM_LINK_LLVM_DYLIB=ON</parameter>: Used in conjunction with 473 <parameter>-D LLVM_BUILD_LLVM_DYLIB=ON</parameter>, this switch enables 474 474 linking the tools against the shared library instead of the static ones. 475 475 It slightly reduces their size and also ensures that llvm-config … … 478 478 479 479 <para> 480 <parameter>-D LLVM_ENABLE_RTTI=ON</parameter>: This switch is used to480 <parameter>-D LLVM_ENABLE_RTTI=ON</parameter>: This switch is used to 481 481 build LLVM with run-time type information. This is required for building 482 482 <xref linkend="mesa"/>. … … 484 484 485 485 <para> 486 <parameter>-D LLVM_BINUTILS_INCDIR=/usr/include</parameter>: This switch486 <parameter>-D LLVM_BINUTILS_INCDIR=/usr/include</parameter>: This switch 487 487 is used to tell the build system the location of binutils headers, 488 488 which were installed in LFS. This allows the building of … … 493 493 494 494 <para> 495 <parameter>-D LLVM_INCLUDE_BENCHMARKS=OFF</parameter>:495 <parameter>-D LLVM_INCLUDE_BENCHMARKS=OFF</parameter>: 496 496 is used to disable generation build targets for the LLVM 497 497 benchmarks. This option requires additional code that … … 500 500 501 501 <para> 502 <parameter>-D CLANG_DEFAULT_PIE_ON_LINUX=ON</parameter>: makes502 <parameter>-D CLANG_DEFAULT_PIE_ON_LINUX=ON</parameter>: makes 503 503 <option>-fpie</option> option the default when compiling programs. 504 504 Together with the <xref linkend="gASLR"/> feature enabled in the kernel, … … 507 507 508 508 <para> 509 <parameter>-D CLANG_CONFIG_FILE_SYSTEM_DIR=/etc/clang</parameter>:509 <parameter>-D CLANG_CONFIG_FILE_SYSTEM_DIR=/etc/clang</parameter>: 510 510 makes <command>clang</command> and <command>clang++</command> 511 511 search <filename class='directory'>/etc/clang</filename> for … … 514 514 515 515 <para> 516 <option>-D BUILD_SHARED_LIBS=ON</option>: if used instead of517 <parameter>-D LLVM_BUILD_LLVM_DYLIB=ON</parameter> and518 <parameter>-D LLVM_LINK_LLVM_DYLIB=ON</parameter>, builds all the516 <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 519 519 <application>LLVM</application> libraries (about 60) as shared 520 520 libraries instead of static. … … 522 522 523 523 <para> 524 <option>-D LLVM_ENABLE_DOXYGEN</option>: Enables the generation of524 <option>-D LLVM_ENABLE_DOXYGEN</option>: Enables the generation of 525 525 browsable HTML documentation if you have installed <xref 526 526 linkend="doxygen"/>. You should run <command>make doxygen-html</command> -
general/prog/lua.xml
r4304a5f rcbfa153 148 148 <screen><userinput>patch -Np1 -i ../lua-&lua-version;-shared_library-1.patch && 149 149 make linux</userinput></screen> 150 <!-- make MYCFLAGS="-D LUA_COMPAT_5_2 -DLUA_COMPAT_5_1" linux150 <!-- make MYCFLAGS="-D LUA_COMPAT_5_2 -D LUA_COMPAT_5_1" linux 151 151 The MYCFLAGS="" part was brought into the patch since optimization had to 152 152 be turned off. … … 199 199 200 200 <para> 201 <envar>MYCFLAGS="- DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1"</envar>: This201 <envar>MYCFLAGS="- DLUA_COMPAT_5_2 -D LUA_COMPAT_5_1"</envar>: This 202 202 environment variable includes compatibility layers with Lua 5.1 and 5.2 203 203 in the build. -
general/prog/rust.xml
r4304a5f rcbfa153 173 173 <xref linkend="libssh2"/>, 174 174 <xref linkend="llvm"/> 175 (built with -D LLVM_LINK_LLVM_DYLIB=ON so that rust can link to175 (built with -D LLVM_LINK_LLVM_DYLIB=ON so that rust can link to 176 176 system LLVM instead of building its shipped version), and 177 177 <xref linkend="sqlite"/> -
multimedia/audioutils/kwave.xml
r4304a5f rcbfa153 103 103 cd build && 104 104 105 cmake -D CMAKE_INSTALL_PREFIX=$KF6_PREFIX \106 -D CMAKE_BUILD_TYPE=Release \107 -D BUILD_TESTING=OFF \108 -W no-dev .. &&105 cmake -D CMAKE_INSTALL_PREFIX=$KF6_PREFIX \ 106 -D CMAKE_BUILD_TYPE=Release \ 107 -D BUILD_TESTING=OFF \ 108 -W no-dev .. && 109 109 make</userinput></screen> 110 110 -
multimedia/audioutils/pnmixer.xml
r4304a5f rcbfa153 89 89 cd build && 90 90 91 cmake -D CMAKE_INSTALL_PREFIX=/usr .. &&91 cmake -D CMAKE_INSTALL_PREFIX=/usr .. && 92 92 make</userinput></screen> 93 93 -
multimedia/libdriv/faad2.xml
r4304a5f rcbfa153 97 97 cd build && 98 98 99 cmake -D CMAKE_INSTALL_PREFIX=/usr \100 -D CMAKE_BUILD_TYPE=Release \101 -D BUILD_SHARED_LIBS=ON \99 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 100 -D CMAKE_BUILD_TYPE=Release \ 101 -D BUILD_SHARED_LIBS=ON \ 102 102 .. && 103 103 make</userinput></screen> -
multimedia/libdriv/frei0r.xml
r4304a5f rcbfa153 95 95 cd build && 96 96 97 cmake -D CMAKE_INSTALL_PREFIX=/usr \98 -D CMAKE_BUILD_TYPE=Release \99 -W no-dev .. &&97 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 98 -D CMAKE_BUILD_TYPE=Release \ 99 -W no-dev .. && 100 100 101 101 make</userinput></screen> … … 117 117 118 118 <para> 119 <option>-D WITHOUT_OPENCV=TRUE</option>: This option instructs the make119 <option>-D WITHOUT_OPENCV=TRUE</option>: This option instructs the make 120 120 procedure to disable building plugins dependent upon opencv. 121 121 </para> 122 122 123 123 <para> 124 <option>-D WITHOUT_GAVL=TRUE</option>: This option instructs the make124 <option>-D WITHOUT_GAVL=TRUE</option>: This option instructs the make 125 125 procedure to disable building plugins dependent upon gavl. 126 126 </para> -
multimedia/libdriv/libaom.xml
r4304a5f rcbfa153 99 99 cd aom-build && 100 100 101 cmake -D CMAKE_INSTALL_PREFIX=/usr \102 -D CMAKE_BUILD_TYPE=Release \103 -D BUILD_SHARED_LIBS=1 \104 -D ENABLE_DOCS=no \101 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 102 -D CMAKE_BUILD_TYPE=Release \ 103 -D BUILD_SHARED_LIBS=1 \ 104 -D ENABLE_DOCS=no \ 105 105 -G Ninja .. && 106 106 ninja</userinput></screen> … … 124 124 125 125 <para> 126 <parameter>-D BUILD_SHARED_LIBS=1</parameter>: This switch builds shared126 <parameter>-D BUILD_SHARED_LIBS=1</parameter>: This switch builds shared 127 127 versions of the libraries. 128 128 </para> 129 129 130 130 <para> 131 <parameter>-D ENABLE_DOCS=no</parameter>: This switch disables building131 <parameter>-D ENABLE_DOCS=no</parameter>: This switch disables building 132 132 the documentation because it fails due to an incompatibility with the 133 133 latest version of <xref role="nodep" linkend="doxygen"/>. … … 135 135 136 136 <para> 137 <option>-D ENABLE_NASM=yes</option>: Use this switch if you have both137 <option>-D ENABLE_NASM=yes</option>: Use this switch if you have both 138 138 <xref linkend="yasm"/> and 139 139 <xref role="nodep" linkend="nasm"/> installed and wish to use -
multimedia/libdriv/libmusicbrainz5.xml
r4304a5f rcbfa153 125 125 cd build && 126 126 127 cmake -D CMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. &&127 cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release .. && 128 128 make</userinput></screen> 129 129 -
multimedia/libdriv/libvdpau-va-gl.xml
r4304a5f rcbfa153 106 106 cd build && 107 107 108 cmake -D CMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$XORG_PREFIX .. &&108 cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=$XORG_PREFIX .. && 109 109 make</userinput></screen> 110 110 -
multimedia/libdriv/sdl.xml
r4304a5f rcbfa153 91 91 cd build && 92 92 93 cmake -D CMAKE_INSTALL_PREFIX=/usr \94 -D CMAKE_BUILD_TYPE=RELEASE \93 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 94 -D CMAKE_BUILD_TYPE=RELEASE \ 95 95 .. && 96 96 make</userinput></screen> -
multimedia/libdriv/taglib.xml
r4304a5f rcbfa153 94 94 cd build && 95 95 96 cmake -D CMAKE_INSTALL_PREFIX=/usr \97 -D CMAKE_BUILD_TYPE=Release \98 -D BUILD_SHARED_LIBS=ON \96 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 97 -D CMAKE_BUILD_TYPE=Release \ 98 -D BUILD_SHARED_LIBS=ON \ 99 99 .. && 100 100 make</userinput></screen> -
multimedia/libdriv/x265.xml
r4304a5f rcbfa153 98 98 cd bld && 99 99 100 cmake -D CMAKE_INSTALL_PREFIX=/usr \101 -D GIT_ARCHETYPE=1 \102 -W no-dev ../source &&100 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 101 -D GIT_ARCHETYPE=1 \ 102 -W no-dev ../source && 103 103 make</userinput></screen> 104 104 … … 120 120 121 121 <para> 122 <parameter>-D GIT_ARCHETYPE=1</parameter>: Upstream no longer provides122 <parameter>-D GIT_ARCHETYPE=1</parameter>: Upstream no longer provides 123 123 releases. BLFS is using a git snapshot, but if the builder has not 124 124 installed <application>git</application> the build will not install -
xsoft/other/fontforge.xml
r4304a5f rcbfa153 154 154 cd build && 155 155 156 cmake -D CMAKE_INSTALL_PREFIX=/usr \157 -D CMAKE_BUILD_TYPE=Release \156 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 157 -D CMAKE_BUILD_TYPE=Release \ 158 158 -Wno-dev .. && 159 159 make</userinput></screen> … … 187 187 188 188 <para> 189 <parameter>-D CMAKE_BUILD_TYPE=Release</parameter>: This switch is used to189 <parameter>-D CMAKE_BUILD_TYPE=Release</parameter>: This switch is used to 190 190 create an optimized release without debug information. 191 191 </para> 192 192 193 193 <para> 194 <parameter>-W no-dev</parameter>: This switch is used to suppress warnings194 <parameter>-W no-dev</parameter>: This switch is used to suppress warnings 195 195 intended for the package's developers. 196 196 </para> 197 197 198 198 <para> 199 <option>-D ENABLE_X11=ON</option>: use an X11 backend instead of GDK3199 <option>-D ENABLE_X11=ON</option>: use an X11 backend instead of GDK3 200 200 (gtk+-3) for basic Xorg graphics. 201 201 </para> -
xsoft/other/freerdp.xml
r4304a5f rcbfa153 154 154 stylesheets, and is needed because BLFS does not use namespaced versions 155 155 of the stylesheets. This is needed to create man pages. If you do not 156 want manpages, pass -D WITH_MANPAGES=OFF to CMake instead.156 want manpages, pass -D WITH_MANPAGES=OFF to CMake instead. 157 157 </para> 158 158 -
xsoft/other/inkscape.xml
r4304a5f rcbfa153 189 189 cd build && 190 190 191 cmake -D CMAKE_INSTALL_PREFIX=/usr \192 -D CMAKE_BUILD_TYPE=Release \191 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 192 -D CMAKE_BUILD_TYPE=Release \ 193 193 .. && 194 194 make</userinput></screen> … … 230 230 231 231 <para> 232 <parameter>-D CMAKE_BUILD_TYPE=Release</parameter>: This switch is used to232 <parameter>-D CMAKE_BUILD_TYPE=Release</parameter>: This switch is used to 233 233 build the release library without any debug `assert` in the code. 234 234 </para> 235 235 236 236 <para> 237 <option>-D WITH_DBUS=ON</option>: use this if you wish to use237 <option>-D WITH_DBUS=ON</option>: use this if you wish to use 238 238 <command>inkscape</command> in interactive scripts which manipulate 239 239 images. -
xsoft/other/tigervnc.xml
r4304a5f rcbfa153 170 170 171 171 # Build viewer 172 cmake -G "Unix Makefiles" \173 -D CMAKE_INSTALL_PREFIX=/usr \174 -D CMAKE_BUILD_TYPE=Release \175 -D INSTALL_SYSTEMD_UNITS=OFF \176 -W no-dev . &&172 cmake -G "Unix Makefiles" \ 173 -D CMAKE_INSTALL_PREFIX=/usr \ 174 -D CMAKE_BUILD_TYPE=Release \ 175 -D INSTALL_SYSTEMD_UNITS=OFF \ 176 -W no-dev . && 177 177 make && 178 178 … … 203 203 204 204 # Build viewer 205 cmake -G "Unix Makefiles" \206 -D CMAKE_INSTALL_PREFIX=/usr \207 -D CMAKE_BUILD_TYPE=Release \208 -W no-dev . &&205 cmake -G "Unix Makefiles" \ 206 -D CMAKE_INSTALL_PREFIX=/usr \ 207 -D CMAKE_BUILD_TYPE=Release \ 208 -W no-dev . && 209 209 make && 210 210 -
xsoft/other/transmission.xml
r4304a5f rcbfa153 133 133 cd build && 134 134 135 cmake -D CMAKE_INSTALL_PREFIX=/usr \136 -D CMAKE_BUILD_TYPE=Release \137 -D CMAKE_INSTALL_DOCDIR=/usr/share/doc/transmission-&transmission-version; \135 cmake -D CMAKE_INSTALL_PREFIX=/usr \ 136 -D CMAKE_BUILD_TYPE=Release \ 137 -D CMAKE_INSTALL_DOCDIR=/usr/share/doc/transmission-&transmission-version; \ 138 138 .. && 139 139 … … 161 161 162 162 <para> 163 <option>-D ENABLE_QT=OFF</option>: This switch disables building163 <option>-D ENABLE_QT=OFF</option>: This switch disables building 164 164 the <application>Qt</application> interface. The default is to build it 165 165 if &qt5-deps; or <xref linkend="qt6"/> is installed. … … 167 167 168 168 <para> 169 <option>-D ENABLE_GTK=OFF</option>: This switch disables building169 <option>-D ENABLE_GTK=OFF</option>: This switch disables building 170 170 the GTK-4 interface. The default is to build it if 171 171 <xref linkend="gtkmm4"/> is installed. … … 173 173 174 174 <para> 175 <option>-D ENABLE_WEB=OFF</option>: This switch disables building175 <option>-D ENABLE_WEB=OFF</option>: This switch disables building 176 176 the web client. The default is to build it if <xref linkend="nodejs"/> 177 177 is installed. … … 179 179 180 180 <para> 181 <option>-D REBUILD_WEB=ON</option>: This switch forces rebuilding181 <option>-D REBUILD_WEB=ON</option>: This switch forces rebuilding 182 182 the web client. This option needs <xref linkend="nodejs"/> to be 183 183 installed as well as an internet connection. The default is to not
Note:
See TracChangeset
for help on using the changeset viewer.