It seems that in CMakeLists, ggml-base has very few compile options/definitions, but the source files which it includes rely on them.
For example, in ggml.c, this function void ggml_bf16_to_fp32_row(const ggml_bf16_t * x, float * y, int64_t n) checks __AVX512F__ and __AVX2__, but they are not defined during ggml-base compiling.
Is this a by-design behavior or a bug?