Skip to content

[Bug] 32-bit vcpkg subdependency fails to build with openmp libraries (64-bit toolchain). #553

@ninetailedtori

Description

@ninetailedtori

Before Reporting

  • I found no existing issues matching my bug
  • My issue is not caused by a theme
  • My issue is not caused by a plugin

Describe the Bug

Pretty much as it says - the 32-bit compilation being forced is incompatible with multiple 64-bit libraries including openmp which is required for a lot of parallel code and polyhedral model optimisations, but libomp and similar libraries for parallel code, that's compiled on a 64-bit system is incompatible. Process fails at the toolchain setup stage of the cmake compilation, due to compiler being unable to compile with openmp AND -m32 -m32 (as is set in the vcpkg toolchain).

Expected Behavior

Should compile fine.

Steps To Reproduce

  1. Attempt to compile millennium from source.

Operating System

Linux

Anything else?

microsoft/vcpkg#48693 (comment) for more details - report contains logs as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions