It's better for performance to use a single thread pool for all areas of Blender, and this gets us closer to that. Bullet, Quadriflow, Mantaflow and Ceres still contain OpenMP code, but it was already disabled. On macOS, our OpenMP libraries are no longer compatible with the latest Xcode 16.3. By removing OpenMP we no longer have to solve that problem. OpenMP was disabled for bpy module builds on Windows ARM64, which also no longer needs to be solved. Pull Request: https://projects.blender.org/blender/blender/pulls/136865
41 lines
676 B
CMake
41 lines
676 B
CMake
# SPDX-FileCopyrightText: 2014 Blender Authors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
set(INC
|
|
.
|
|
intern
|
|
../makesrna
|
|
)
|
|
|
|
set(INC_SYS
|
|
)
|
|
|
|
set(SRC
|
|
intern/SIM_mass_spring.cc
|
|
intern/hair_volume.cc
|
|
intern/implicit_blender.cc
|
|
intern/implicit_eigen.cc
|
|
|
|
intern/ConstrainedConjugateGradient.h
|
|
intern/eigen_utils.h
|
|
intern/implicit.h
|
|
|
|
SIM_mass_spring.h
|
|
)
|
|
|
|
set(LIB
|
|
PRIVATE bf::blenkernel
|
|
PRIVATE bf::blenlib
|
|
PRIVATE bf::depsgraph
|
|
PRIVATE bf::dna
|
|
PRIVATE bf::functions
|
|
PRIVATE bf::imbuf
|
|
PRIVATE bf::intern::guardedalloc
|
|
PRIVATE bf::nodes
|
|
PRIVATE bf::dependencies::eigen
|
|
)
|
|
|
|
|
|
blender_add_lib(bf_simulation "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|