CMake configure fails on arm MacOs
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 3.3k
- Forks
- 808
- PR merge metrics
- No merged PRs in 30d
Description
If I try to configure using CMake on an arm Mac, then the configure will fail.
The sequence is:
- OpusConfig.cmake will set OPUS_MAY_HAVE_NEON to ON.
- OpusFunctions.cmake will set RUNTIME_CPU_CAPABILITY_DETECTION to 0.
- CMakeLists.txt will complain that these are not compatible and fail with message(ERROR "Runtime cpu capability detection needed for MAY_HAVE_NEON")
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure by configuring Opus with CMake on an ARM Mac. Read OpusConfig.cmake, OpusFunctions.cmake, and the relevant checks in CMakeLists.txt to trace the incompatible settings. Done means configuration completes without the runtime CPU capability detection error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cmake
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100