← All tasks
cppggml-org/whisper.cpp #2628Not a task: already works

Problem with new building system (cmake vs. gmake), CPU-features not detected

envgap__ggml-org__whisper.cpp-2628

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
c4aed6831ef8df6635ad4414a6384ff8d1b7b4a8
Manifest
ggml/src/ggml-cpu/CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

ggml-org/whisper.cpp #2628 · read the original issue
Hi,



I think I have a problem with the new building system. I'm using FreeBSD 13.3-RELEASE. A `./main`-file from November (built with gmake and Makefile) shows this



`system_info: n_threads = 7 / 8 | AVX = 1 | AVX2 = 1 | AVX512 = 0 | FMA = 1 | NEON = 0 | ARM_FMA = 0 | F16C = 1 | FP16_VA = 0 | WASM_SIMD = 0 | SSE3 = 1 | SSSE3 = 1 | VSX = 0 | COREML = 0 | OPENVINO = 0 |`



whereas a current `./build/bin/main` (built with cmake) shows



`system_info: n_threads = 7 / 8 | AVX = 0 | AVX2 = 0 | AVX512 = 0 | FMA = 0 | NEON = 0 | ARM_FMA = 0 | F16C = 0 | FP16_VA = 0 | WASM_SIMD = 0 | SSE3 = 0 | SSSE3 = 0 | VSX = 0 | COREML = 0 | OPENVINO = 0 |`



So , CPU-features where not recognized properly. Can I somehow force cmake to compile with avx-, sse- and ...-flags?



Regards

abelbabel



Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]