intel / intel/hyperscan

CMake: wrong parsing of the march= output

Open
#277 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.5k
Forks
816
Avg merge
4d 21h
Merged PRs (30d)
2

Description

https://github.com/intel/hyperscan/blob/c00683d73916e39f01b0d418f686c8b5c379159c/CMakeLists.txt#L178-L207

Parsing of the `GNUCC_ARCH` above is buggy. As a temporary solution I would propose to fall back to `native` value by default. Or make it optional.

### Versions affected
- gcc 9.3.0
- Ubuntu 9.3.0-17ubuntu1~20.04
- cmake version 3.16.3

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.