Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

doc(godel-script): Provide supplementary explanations regarding the c... #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
ValKmjolnir merged 2 commits into codefuse-ai:main from 11D-Beyonder:ztz_dev
Mar 11, 2025

Conversation

Copy link
Contributor

@11D-Beyonder 11D-Beyonder commented Mar 3, 2025

Copy link
Collaborator

@ValKmjolnir ValKmjolnir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

其他修改部分非常完美,但是部分信息仍然需要调节一下。

mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release
make -j6
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/clang -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++ --no-warn-unused-cli -G Ninja
Copy link
Collaborator

@ValKmjolnir ValKmjolnir Mar 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为了配合目前项目配置的 CI,建议仍然使用 cmake 与 make,没有特殊需求尽量不要增加其他实体

Need C++ standard at least `-std=c++17`.

You can refer to the following Dockerfile to prepare your development environment.

```Dockerfile
Copy link
Collaborator

@ValKmjolnir ValKmjolnir Mar 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里描述还是尽量简洁一些,去除不必要的信息噪音,只保留当时我们讨论的核心问题,也就是将 ubuntu 环境下编译时可能缺少的相关包在这里列出来,在系统方面目前项目支持 macOS / Ubuntu 2204 LTS / Ubuntu 2404 LTS 的本地编译,环境尽量不要限制死。

RUN apt update && apt upgrade -y && apt install -y git build-essential m4 cmake ninja-build clang-format clang-tidy clang-tools clang clangd libc++-dev libc++1 libc++abi-dev libc++abi1 libclang-dev libclang1 liblldb-dev libllvm-ocaml-dev libomp-dev libomp5 lld lldb llvm-dev llvm-runtime llvm python3-clang libsqlite3-dev sqlite3 zlib1g-dev
```

For convenience, we recommend directly using the [Dev Container plugin](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) of VSCode. Here is `devcontainer.json`.
Copy link
Collaborator

@ValKmjolnir ValKmjolnir Mar 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

devcontainer 虽然很有用,但是这里还是请去掉吧,对于文档来说信息过多了

Copy link
Collaborator

建议把dockerfile独立为一个文件。不要放到readme里作为文本存在,这样使用不方便且影响readme可读性。devcontainer同理。

Copy link
Collaborator

@ValKmjolnir ValKmjolnir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ValKmjolnir ValKmjolnir merged commit 3847be1 into codefuse-ai:main Mar 11, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@ValKmjolnir ValKmjolnir ValKmjolnir approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /