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

xmake ccache support nvcc #5954

Open
for2years opened this issue Dec 11, 2024 · 4 comments
Open

xmake ccache support nvcc #5954

for2years opened this issue Dec 11, 2024 · 4 comments

Comments

@for2years
Copy link

Is your feature request related to a problem? Please describe.

Cache is needed to speed up *.cu file compilation

Describe the solution you'd like

xmake f --ccache=y

and then I can use cache for nvcc.

Describe alternatives you've considered

No response

Additional context

No response

@waruqi
Copy link
Member

waruqi commented Dec 12, 2024

这边没 nvcc 环境,可以参考 msvc/gcc 提个 pr 过来。而且这个得先研究下 nvcc 的预处理怎么搞。

@star-hengxing
Copy link
Contributor

ccache 主要用在全量编译,而不是开发时的增量编译,预处理可以先不考虑。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


There is no nvcc environment here. You can refer to msvc/gcc and submit a PR. And this requires studying how to do nvcc preprocessing first.

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


ccache is mainly used for full compilation, rather than incremental compilation during development. Preprocessing can be ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants