Skip to content

Cannot use SAN CMake option in app builds #3711

Closed
@letmaik

Description

@letmaik

The CCF CMake helpers installed in /opt/ccf/cmake interpret -DSAN=ON and enable SAN-related compile flags. This fails with:

clang: error: no such file or directory: '/opt/ccf/src/ubsan.suppressions'

If the SAN option is something that is part of the public CCF CMake API, then probably the missing file should be installed (or some variant of it). If not, then a less "global" variable name should be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions