Skip to content

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

@loopless

Description

@loopless

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions