Skip to content

Commit

Permalink
Improve H20 build docs
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaScheller committed Dec 10, 2023
1 parent 5f626b9 commit b19a03b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/src/installation/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,14 @@ set RESOLVER_NAME=fileResolver
To run the build, run:

~~~admonish warning title="Houdini GCC ABI Change"
Starting with Houdini 20, SideFX is offering gcc 11 builds. Our automatic builds use this version.
If you still want to use gcc 9, then you'll have to set the below in our main CMakeLists.txt file.
Starting with Houdini 20, SideFX is offering gcc 11 builds. Our automatic GitHub builds make use of this starting Houdini 20 and upwards.
To make our CMake script still work with H19.5, we automatically switch to gcc 9, if the Houdini version 19.5 is in the Houdini root folder path.
If you want to still build against gcc 9 with Houdini 20 and upwards, you'll need to set `_GLIBCXX_USE_CXX11_ABI=0` as described below and make sure you have the right Houdini build installed.
If you want to enforce it manually, you'll need to update the line below in our main CMakeLists.txt file.
For gcc 9 builds, you'll need to set it to `_GLIBCXX_USE_CXX11_ABI=0`, for gcc 11 to `_GLIBCXX_USE_CXX11_ABI=1`.
See the official [Release Notes](https://www.sidefx.com/docs/houdini/news/20/platforms.html) for more information.
```bash
...
Expand Down

0 comments on commit b19a03b

Please sign in to comment.