FreeCAD-LibPack icon indicating copy to clipboard operation
FreeCAD-LibPack copied to clipboard

netgen will build with AVX512 if compiled on AVX512 capable machine ( Windows x86_64)

Open loopless opened this issue 1 month ago • 2 comments

netgen code will be compiled with /arch:AVX512 if the "building" machine is so capable. This will result in illegal instructions on launch of FreeCAD when run on machines without AVX512 ( which is a significant subset) The fix is to add "-D USE_NATIVE_ARCH=OFF", to the build_netgen function in compile_all.py

loopless avatar Oct 27 '25 18:10 loopless

Thanks -- can you make a PR to adjust that build call?

chennes avatar Oct 27 '25 19:10 chennes

Done

loopless avatar Oct 28 '25 17:10 loopless