Skip to content

ci: 增加 macOS 构建 - #4

Merged
miaobyte merged 2 commits into
mainfrom
ci/macos
Sep 12, 2026
Merged

miaobyte merged 2 commits into
mainfrom
ci/macos

Conversation

@miaobyte

Copy link
Copy Markdown
Contributor

变更

给 slotsboxmalloc 增加 macOS CI(任务:6 仓 macOS 编译通过)。

macos-latest 上先源码构建依赖 blockmalloc v0.1.4(现有 ci/deps.sh 只下载 *-linux-x86_64.tar.gz,macOS 用不了),安装到 /usr/local,再构建本仓并跑 ctest

🤖 Generated with Claude Code

miaobyte and others added 2 commits September 12, 2026 18:49
macos-latest 上源码构建依赖 blockmalloc(v0.1.4,macOS 无预编译 ABI)后
构建本仓并跑 ctest。

Co-Authored-By: Claude Code <noreply@anthropic.com>
_POSIX_C_SOURCE=199309L 时 macOS 的 <stdio.h> 只暴露到 POSIX-1993,
snprintf 等 C99 函数不声明;clang 在 C99 下把隐式声明当 error(Linux
glibc 仅警告,故此前未暴露)。10 个 bench tutorial 统一提到 200809L。

Co-Authored-By: Claude Code <noreply@anthropic.com>
@miaobyte
miaobyte merged commit c03078f into main Sep 12, 2026
6 checks passed
@miaobyte
miaobyte deleted the ci/macos branch September 12, 2026 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant