Skip to content

[Bug]: SPU不支持macos26 #1341

@Yinbenxin

Description

@Yinbenxin

Issue Type

Build/Install

Modules Involved

SPU compiler

Have you reproduced the bug with SPU HEAD?

Yes

Have you searched existing issues?

Yes

SPU Version

0.9.4.dev20250827

OS Platform and Distribution

MacOS 26.1

Python Version

3.11

Compiler Version

No response

Current Behavior?

构建失败,目前还没支持到最新的mac版本是吗?主要问题应该是xcode更新所致。
之前使用的xcode16.2是可以正常编译,更新系统后无法编译。
(base) Mac-mini:spu yinbenxin$ clang --version
Apple clang version 17.0.0 (clang-1700.4.4.1)
Target: arm64-apple-darwin25.1.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

(base) Mac-mini:spu yinbenxin$ bazel --version
bazel 7.6.1

Standalone code to reproduce the issue

bazel build -c opt ...

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions