Skip to content

Commit cccf237

Browse files
committed
[automated] Updating /docs due to commit e0bd647
Full commit hash is e0bd647 DOCS_ALLOW_DIRECT_EDITS
1 parent e0bd647 commit cccf237

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

docs/dup/building.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ <h2 id="building-filament"><a class="header" href="#building-filament">Building
162162
<h3 id="prerequisites"><a class="header" href="#prerequisites">Prerequisites</a></h3>
163163
<p>To build Filament, you must first install the following tools:</p>
164164
<ul>
165-
<li>CMake 3.19 (or more recent)</li>
166-
<li>clang 14.0 (or more recent)</li>
165+
<li>CMake 3.22.1 (or more recent)</li>
166+
<li>clang 16.0 (or more recent)</li>
167167
<li><a href="https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages">ninja 1.10</a> (or more recent)</li>
168168
</ul>
169169
<p>Additional dependencies may be required for your operating system. Please refer to the appropriate
@@ -220,16 +220,16 @@ <h3 id="filament-specific-cmake-options"><a class="header" href="#filament-speci
220220
<h3 id="linux"><a class="header" href="#linux">Linux</a></h3>
221221
<p>Make sure you've installed the following dependencies:</p>
222222
<ul>
223-
<li><code>clang-14</code> or higher</li>
223+
<li><code>clang-16</code> or higher</li>
224224
<li><code>libglu1-mesa-dev</code></li>
225-
<li><code>libc++-14-dev</code> (<code>libcxx-devel</code> and <code>libcxx-static</code> on Fedora) or higher</li>
226-
<li><code>libc++abi-14-dev</code> (<code>libcxxabi-static</code> on Fedora) or higher</li>
225+
<li><code>libc++-16-dev</code> (<code>libcxx-devel</code> and <code>libcxx-static</code> on Fedora) or higher</li>
226+
<li><code>libc++abi-16-dev</code> (<code>libcxxabi-static</code> on Fedora) or higher</li>
227227
<li><code>ninja-build</code></li>
228228
<li><code>libxi-dev</code></li>
229229
<li><code>libxcomposite-dev</code> (<code>libXcomposite-devel</code> on Fedora)</li>
230230
<li><code>libxxf86vm-dev</code> (<code>libXxf86vm-devel</code> on Fedora)</li>
231231
</ul>
232-
<pre><code class="language-shell">sudo apt install clang-14 libglu1-mesa-dev libc++-14-dev libc++abi-14-dev ninja-build libxi-dev libxcomposite-dev libxxf86vm-dev -y
232+
<pre><code class="language-shell">sudo apt install clang-16 libglu1-mesa-dev libc++-16-dev libc++abi-16-dev ninja-build libxi-dev libxcomposite-dev libxxf86vm-dev -y
233233
</code></pre>
234234
<p>After dependencies have been installed, we highly recommend using the <a href="#easy-build">easy build</a>
235235
script.</p>
@@ -243,15 +243,15 @@ <h3 id="linux"><a class="header" href="#linux">Linux</a></h3>
243243
<code>cmake</code> with the following command:</p>
244244
<pre><code class="language-shell">mkdir out/cmake-release
245245
cd out/cmake-release
246-
# Or use a specific version of clang, for instance /usr/bin/clang-14
246+
# Or use a specific version of clang, for instance /usr/bin/clang-16
247247
CC=/usr/bin/clang CXX=/usr/bin/clang++ CXXFLAGS=-stdlib=libc++ \
248248
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../release/filament ../..
249249
</code></pre>
250250
<p>You can also export the <code>CC</code> and <code>CXX</code> environment variables to always point to <code>clang</code>. Another
251251
solution is to use <code>update-alternatives</code> to both change the default compiler, and point to a
252252
specific version of clang:</p>
253-
<pre><code class="language-shell">update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 100
254-
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-14 100
253+
<pre><code class="language-shell">update-alternatives --install /usr/bin/clang clang /usr/bin/clang-16 100
254+
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-16 100
255255
update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100
256256
update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++ 100
257257
</code></pre>

docs/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/searchindex.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)