build: Use docker volumes instead of bind-mounts to speed up kernel build on macOS - #106
Merged
Merged
Conversation
vamOS System ProfileChanges vs master
Added packages: alacritty-terminfo-0.17.0_1, dhcpcd-10.3.1_1, htop-3.5.0_1, libjpeg-turbo-3.1.4.1_1, libnfsidmap-2.9.1_1, libpng-1.6.57_1, libpng-devel-1.6.57_1, libsodium-1.0.22_1, libsodium-devel-1.0.22_1, logrotate-3.22.0_2, nfs-utils-2.9.1_1, openssh-10.3p1_1, python3-3.14.4_1, stress-ng-0.21.00_1, wayland-1.25.0_1, wayland-devel-1.25.0_1, wayland-protocols-1.48_1 Removed packages: alacritty-terminfo-0.16.1_1, dhcpcd-10.3.0_1, htop-3.4.1_1, libjpeg-turbo-3.1.1_1, libnfsidmap-2.8.7_1, libpng-1.6.56_1, libpng-devel-1.6.56_1, libsodium-1.0.21_1, libsodium-devel-1.0.21_1, logrotate-3.22.0_1, nfs-utils-2.8.7_1, openssh-10.2p1_1, python3-3.14.3_1, stress-ng-0.20.01_1, wayland-1.24.0_1, wayland-devel-1.24.0_1, wayland-protocols-1.47_1 Directory size changes (>1MB)
Top 10 Directories
Category Breakdown
Top 10 Packages by Size
|
| File | Size |
|---|---|
| /usr/lib/llvm/21/lib/libLLVM.so.21.1 | 124.3MB |
| /usr/lib/llvm/21/lib/libMLIR.so.21.1 | 89.7MB |
| /usr/lib/llvm/21/bin/mlir-transform-opt | 82.9MB |
| /usr/lib/llvm/21/lib/libclang-cpp.so.21.1 | 56MB |
| /usr/lib/llvm/21/bin/mlir-translate | 53.2MB |
| /usr/lib/llvm/21/bin/llvm-exegesis | 52MB |
| /usr/lib/llvm/21/bin/llvm-bolt-binary-analysis | 50.6MB |
| /usr/local/venv/lib/python3.12/site-packages/ffmpeg/install/lib/libavcodec.a | 50.5MB |
| /usr/bin/uv | 49.1MB |
| /usr/lib/gcc/aarch64-linux-gnu/14.2/gnat1 | 40.1MB |
| /usr/bin/gdb | 38.1MB |
| /usr/lib/gcc/aarch64-linux-gnu/14.2/cc1plus | 37.3MB |
| /usr/lib/libgallium-25.3.3.so | 35.4MB |
| /usr/lib/libllvm-qcom.so | 35.2MB |
| /usr/lib/gcc/aarch64-linux-gnu/14.2/cc1 | 35.2MB |
| /usr/lib/gcc/aarch64-linux-gnu/14.2/lto1 | 33.9MB |
| /usr/bin/lto-dump | 33.9MB |
| /usr/lib/libRusticlOpenCL.so.1.0.0 | 32.5MB |
| /usr/local/venv/bin/ruff | 31.8MB |
| /usr/share/icu/78.2/icudt78l.dat | 31.5MB |
| /usr/lib/llvm/21/lib/libclang.so.21.1.7 | 30.2MB |
| /usr/lib/llvm/21/bin/c-index-test | 28.6MB |
| /usr/local/venv/lib/python3.12/site-packages/gcc_arm_none_eabi/toolchain/libexec/gcc/arm-none-eabi/13.2.1/cc1 | 28.2MB |
| /usr/lib/libz3.so | 27.9MB |
| /usr/bin/run | 26.6MB |
| /usr/local/venv/lib/python3.12/site-packages/numpy.libs/libscipy_openblas64_-71e1b124.so | 23.6MB |
| /usr/comma/updater | 23.5MB |
| /usr/comma/setup | 23.5MB |
| /usr/comma/reset | 23.5MB |
| /usr/local/uv/python/cpython-3.12.13-linux-aarch64-gnu/bin/python3.12 | 22.1MB |
robin-reckmann
marked this pull request as draft
April 5, 2026 12:27
robin-reckmann
force-pushed
the
fast-macos-build
branch
from
April 5, 2026 13:23
bd94aa8 to
0da5a53
Compare
robin-reckmann
marked this pull request as ready for review
April 5, 2026 13:51
greatgitsby
approved these changes
Apr 6, 2026
greatgitsby
approved these changes
Apr 9, 2026
robin-reckmann
force-pushed
the
fast-macos-build
branch
from
April 13, 2026 14:52
1f6b1ac to
2b1e08b
Compare
andiradulescu
self-requested a review
April 13, 2026 17:09
andiradulescu
approved these changes
Apr 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docker bind mounts are really slow on macOS. So creating a docker volumes of the kernel and ccache and building on there speeds up the overall build a lot.