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

Support sparse checkout for package #6071

Closed
star-hengxing opened this issue Jan 13, 2025 · 1 comment
Closed

Support sparse checkout for package #6071

star-hengxing opened this issue Jan 13, 2025 · 1 comment

Comments

@star-hengxing
Copy link
Contributor

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

llvm is a monorepo, I just want to build llvm & clang.

add_urls("https://github.com/llvm/llvm-project.git", {includes = {"cmake", "clang", "llvm"})

Describe the solution you'd like

$ git clone --filter=tree:0 --no-checkout https://github.com/llvm/llvm-project.git llvm
$ cd llvm
$ git sparse-checkout init --cone
$ git sparse-checkout add llvm clang cmake
$ git checkout fac46469977da9c4e9c6eeaac21103c971190577

https://stackoverflow.com/questions/4114887/is-it-possible-to-do-a-sparse-checkout-without-checking-out-the-whole-repository

Describe alternatives you've considered

No response

Additional context

No response

@waruqi
Copy link
Member

waruqi commented Jan 13, 2025

done #6072

@waruqi waruqi added this to the v2.9.8 milestone Jan 13, 2025
@waruqi waruqi closed this as completed Jan 14, 2025
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

2 participants