Closed warjiang closed 5 months ago
I found devcontainer inside this repo, with devcontainer, everything about environment is so easy, i found that the devcontainer.json missing one most important vscode extension: rust-analyzer, is it necessary to add it(currently it seems very useful for me)
I found devcontainer inside this repo, with devcontainer, everything about environment is so easy, i found that the devcontainer.json missing one most important vscode extension: rust-analyzer, is it necessary to add it(currently it seems very useful for me)
@warjiang Thank you! I will update the dev guide to avoid installation issues with llvm-12 on Debian. It would be great if you could open PR to update devcontainer.json with the necessary VS Code plugins. ❤️
Also trying to build KCL (as a locally installable release), in Ubuntu 24.04, and not having much success with ./scripts/build-llvm/build.sh 12.x
given many old C++ dependencies. Just curious how big task upgrading KCL's LLVM version is? Alternatively getting more detail in the docs about building without LLVM - though it looks like it's a requirement for building a usable "release"?
Also trying to build KCL (as a locally installable release), in Ubuntu 24.04, and not having much success with
./scripts/build-llvm/build.sh 12.x
given many old C++ dependencies. Just curious how big task upgrading KCL's LLVM version is? Alternatively getting more detail in the docs about building without LLVM - though it looks like it's a requirement for building a usable "release"?
@excalq It's the problem of apt repo, I've tested searching by conditions os=noble
and keyword=llvm
https://packages.ubuntu.com/search?keywords=LLVM&searchon=names&suite=noble§ion=all , and no llvm-12 occurs.
You can search it with ubuntu22
https://packages.ubuntu.com/search?keywords=LLVM&searchon=names&suite=jammy§ion=all
So many problems with llvm and apt repo, i ithink you can try to build kcl in docker, the images kcllang/kcl-builder:latest
in https://github.com/kcl-lang/kcl/blob/main/.devcontainer/devcontainer.json may be useful.
Right, my next solution was the idea of building it in Docker, which I'll try next.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
follow the instructions in quick_start.md.
when install dependencies of clang & llvm, errors occured likes: The building system is debian 11. After searching the pkg pages of debian,
lld-12
package does not exist under Debian system:But
lld-12
can be found on ubuntu packages:2. What did you expect to see? (Required)
Seperate build instruction for debian and ubuntu if no maintainer for
lld-12
on debian system. Before build kcl on debian system, users maybe need to build llvm manually.3. What did you see instead (Required)
no package for
lld-12
error4. What is your KCL components version? (Required)
branch
master