JuliaPackaging / BinaryBuilder.jl

Binary Dependency Builder for Julia
https://binarybuilder.org
Other
392 stars 101 forks source link

Is there a way auto detect git submodule? #1225

Open clouds56 opened 2 years ago

clouds56 commented 2 years ago

other than manually input them and place into right place? Just like how https://github.com/JuliaPackaging/Yggdrasil/blob/8be19820afa24ff817185f3c53c4d20786a8add3/T/TVM/build_tarballs.jl does

giordano commented 2 years ago

No

thealanjason commented 9 months ago

I tried using the git submodule initializaiton commands, git submodule update --init <module_name> and it worked in the case of https://github.com/JuliaPackaging/Yggdrasil/pull/7976/commits/87c00ed7fcd8d7136bf4f901dec04d91244554a5

@giordano Would this be a possible solution? Or am I doing something completely wrong?

giordano commented 9 months ago

That's not very automatic though. Problem is that the LibGit2.jl standard library doesn't support submodules at all, and we use that for cloning repositories.