Skip to content

🐛 [BUG] - Add -debug flag when compiling with oneAPI #244

@plavin

Description

@plavin

📝 Description

When compiling with oneAPI, if CMAKE_BUILD_TYPE set to Debug or DebWithRelInfo, we should include the following:

set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -debug all")

When this isn't added, gdb-oneapi has issues finding debug symbols as only -g is set by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions