Rebuild local Blender WASM environment and recovery evidence
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-08-27 20:15:55 +08:00
parent a081c68c87
commit c2c65d3a09
376 changed files with 241951 additions and 114 deletions

View File

@@ -3,12 +3,17 @@ set -euo pipefail
repo_root=$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)
build_dir=${VDB_TOOLS_BUILD_DIR:-"$repo_root/build_vdb_tools"}
openvdb_root=${OPENVDB_ROOT:-/home/mes123456/working/build_oiio_deps/Release/openvdb}
tbb_root=${TBB_ROOT:-/home/mes123456/working/build_oiio_deps/Release/tbb}
deps_root=${BLENDER_DEPS_ROOT:-${repo_root}/.deps/native}
openvdb_root=${OPENVDB_ROOT:-${deps_root}/openvdb}
tbb_root=${TBB_ROOT:-${deps_root}/tbb}
cmake -S "$repo_root/tools/vdb" -B "$build_dir" \
-DOPENVDB_ROOT="$openvdb_root" \
-DTBB_ROOT="$tbb_root" \
-DOPENVDB_INCLUDE_DIR="$openvdb_root/include" \
-DTBB_INCLUDE_DIR="$tbb_root/include" \
-DOPENVDB_LIBRARY="$openvdb_root/lib/libopenvdb.so" \
-DTBB_LIBRARY="$tbb_root/lib/libtbb.so" \
-DCMAKE_BUILD_TYPE=Release
cmake --build "$build_dir" --parallel "${VDB_BUILD_JOBS:-4}"