Skip to content
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

Add cmake init cache to simplify user onboarding #5311

Merged
merged 8 commits into from
Jun 28, 2021

Conversation

jackalcooper
Copy link
Collaborator

@jackalcooper jackalcooper commented Jun 25, 2021

增加 cmake 初始化 cache 文件,简化用户第一次编译 oneflow 需要配置的参数


run this to config for CUDA:
```
cmake .. -C ../cmake/caches/international/cuda.cmake
Copy link
Contributor

Choose a reason for hiding this comment

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

是不是可以在初次 cmake 时 ping google (并缓存结果)来判断需不需要用镜像 😂

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

我也考虑过,之后可以做,不过不是这个PR要解决的问题,这个PR主要是引入 cmake init cache

@jackalcooper jackalcooper requested review from oneflow-ci-bot and removed request for oneflow-ci-bot June 28, 2021 08:40
@oneflow-ci-bot oneflow-ci-bot requested review from oneflow-ci-bot and removed request for oneflow-ci-bot June 28, 2021 10:26
@oneflow-ci-bot oneflow-ci-bot merged commit 62e0bc1 into master Jun 28, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the add_cmake_init_cache branch June 28, 2021 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants