← All tasks
cppPaddlePaddle/Paddle #76154Not a task: not reproduced

M4 MBA cmake 报错

envgap__PaddlePaddle__Paddle-76154

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
84d14f83fb6074147af21c2c289c421ccb48b746
Manifest
test/quantization/CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

PaddlePaddle/Paddle #76154 · read the original issue
### 问题描述 Issue Description

已按照 [macOS 下本机编译](https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/install/compile/macos-compile-make.html#span-id-compile-from-host-span) 流程进行 setup

在使用 M4 芯片的 Macbook Air 进行 cmake 时会出现如下报错

<img width="447" height="172" alt="Image" src="https://github.com/user-attachments/assets/0f4f1eaa-14e5-4df6-b56a-80806db4fee1" />

build 命令:
```bash
time cmake .. -DPY_VERSION=3.10 -DPYTHON_INCLUDE_DIR=${PYTHON_INCLUDE_DIRS} -DPYTHON_LIBRARY=${PYTHON_LIBRARY} -DWITH_GPU=OFF -DWITH_ARM=ON -DWITH_TESTING=ON
```

但如果加上 -DWITH_TESTING=OFF,则 cmake 不会报错
前几天还没有这样的报错🤔

### 版本&环境信息 Version & Environment Information

****************************************
Paddle version: N/A
Paddle With CUDA: N/A

OS: macOS 15.5
GCC version: N/A
Clang version: 17.0.0 (clang-1700.0.13.5)
CMake version: version 3.21.0
Libc version: N/A
Python version: 3.10.19

CUDA version: N/A
cuDNN version: N/A
Nvidia driver version: N/A
Nvidia driver List: N/A
****************************************
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
[]