FreeCAD-LibPack
FreeCAD-LibPack copied to clipboard
netgen will build with AVX512 if compiled on AVX512 capable machine ( Windows x86_64)
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
Thanks -- can you make a PR to adjust that build call?
Done