Commit Graph

5 Commits

Author SHA1 Message Date
matt johnson
8f9f777821 OpenVDB: activate Blosc 1.21.0 and rebuild OpenVDB as a static library that uses it
This avoids issues where if OpenVDB is dynamically linked, objects
allocated using the instance of the CRT in OpenVDB might be passed
across a shared library boundary where they could then be attempted to
be freed using the UE deallocator, leading to crashes.

Note that OpenVDB makes use of both RTTI and C++ exceptions, so
client modules of OpenVDB should likely enable both of those features
as well.

#jira UE-139647
#rb brandon.schaefer, michael.balzer
#preflight 627ab3ece713fc6e2c581250
#fyi devon.penney

[CL 20173502 by matt johnson in ue5-main branch]
2022-05-12 18:48:55 -04:00
matt johnson
3e2cac9536 [Backout] - CL19904236
The current build of Blosc appears to be embedding its own copy of LZ4
which is creating duplicate symbol issues for monolithic builds.
Backing this out until Blosc is rebuilt to remove the embedded LZ4.

#fyi matt.johnson
Original CL Desc
-----------------------------------------------------------------
OpenVDB: rebuild OpenVDB as a static library

This avoids issues where if OpenVDB is dynamically linked, objects
allocated using the instance of the CRT in OpenVDB might be passed
across a shared library boundary where they could then be attempted to
be freed using the UE deallocator, leading to crashes.

Note that OpenVDB makes use of both RTTI and C++ exceptions, so
client modules of OpenVDB should likely enable both of those features
as well.

#jira UE-139647
#rb michael.balzer
#preflight 6263270600654785f43d7008
#fyi devon.penney

[CL 19912470 by matt johnson in ue5-main branch]
2022-04-25 19:58:50 -04:00
matt johnson
8f9834a32e OpenVDB: rebuild OpenVDB as a static library
This avoids issues where if OpenVDB is dynamically linked, objects
allocated using the instance of the CRT in OpenVDB might be passed
across a shared library boundary where they could then be attempted to
be freed using the UE deallocator, leading to crashes.

Note that OpenVDB makes use of both RTTI and C++ exceptions, so
client modules of OpenVDB should likely enable both of those features
as well.

#jira UE-139647
#rb michael.balzer
#preflight 6263270600654785f43d7008
#fyi devon.penney

[CL 19904236 by matt johnson in ue5-main branch]
2022-04-25 12:35:28 -04:00
michael balzer
4007bd01f5 OpenVDB: Fix linker error in ClangEditor Win64 builds
#jira UE-130979
#preflight 61608f3851b6340001ff7702, 61608f14635a7a0001a712ef
#rnx

#ROBOMERGE-OWNER: michael.balzer
#ROBOMERGE-AUTHOR: michael.balzer
#ROBOMERGE-COMMAND: _robomerge[starship] UE5-Main
#ROBOMERGE-SOURCE: CL 17763550 in //UE5/Release-5.0/... via CL 17763551
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v879-17706426)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17763569 by michael balzer in ue5-release-engine-test branch]
2021-10-08 18:25:31 -04:00
michael balzer
c37b262acc ProxyLODPlugin: Add new version of OpenVDB to general third party software folder and remove local version of OpenVDB.
#jira UETOOL-3456
#preflight 615b582daed1fc000100aa7c, 615b58a3ed17cd00016909bf
#rnx

#ROBOMERGE-AUTHOR: michael.balzer
#ROBOMERGE-SOURCE: CL 17713853 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0

[CL 17713931 by michael balzer in ue5-release-engine-test branch]
2021-10-04 17:02:12 -04:00