fix: linux cross compiling (#14048)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
nekosu
2025-09-09 13:22:53 +08:00
committed by GitHub
parent 1e3d08a8c0
commit 82bcfd11bc
9 changed files with 255 additions and 34 deletions

View File

@@ -4,7 +4,7 @@
"ghcr.io/devcontainers/features/python:1": {},
"ghcr.io/devcontainers/features/sshd:1": {}
},
"postCreateCommand": "sudo sh -ce 'apt update && apt install g++-14 -y && echo export CC=gcc-14 CXX=g++-14 >> /etc/profile.d/set-compiler.sh'",
"postCreateCommand": "sudo sh -ce 'wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && ./llvm.sh 20'",
"customizations": {
"vscode": {
"extensions": ["llvm-vs-code-extensions.vscode-clangd", "DavidAnson.vscode-markdownlint"]