Page MenuHome

Clang on windows/mantaflow: fix compiler crash.
ClosedPublic

Authored by Ray molenkamp (LazyDodo) on Dec 18 2019, 8:13 PM.

Details

Summary

Since mantaflow landed in master, clang on windows will no longer build
and crash inside clang itself. The root cause is llvm bug 43175 [1]

I did a quick grep for #prama omp and did not see any uses of OpenMP
in mantaflow, so I think it is safe to turn this flag for clang and
sidestep this issue. But it be best if @Sebastián Barschkis (sebbas) can confirm this.

[1] https://bugs.llvm.org/show_bug.cgi?id=43175

Diff Detail

Repository
rB Blender
Branch
tmp_manta_clang (branched from master)
Build Status
Buildable 6064
Build 6064: arc lint + arc unit

Event Timeline

Yes, we can safely turn off OpenMP for Mantaflow. It's using TBB.

This revision is now accepted and ready to land.Dec 19 2019, 9:57 AM
This revision was automatically updated to reflect the committed changes.