4 ms·
> I don't want to download 3TB of dependencies from git. Oh you didn’t read the post. Got it.
by forrestthewoods 3y ago
> I don't want to download 3TB of dependencies from git.
Oh you didn’t read the post. Got it.
- reactordev 3y agoI beg your pardon but I did read it and your argument is flawed. All of it comes down to the fact that you don’t want to spend step 0 configuring your build environment and I completely agree with that statement. What I don’t agree with is you jumping to conclusions about its VCS’s fault. It’s not. It’s C++’s fault. C/C++ needs to be opinionated to keep people on the rails, otherwise you end up in autoconfigure hell. CMake is the most widely adopted build processor, GCC or CLang, don’t chose but let the toolchain decide. If you have specific reasons for clang over gcc or whatever than that responsibility is up to you. Don’t go preaching VCS anti patterns because you can’t make -j8 on first clone. You simply can’t just download a zip of master, with all of the dependencies, disconnect from the internet, and hit build. You don’t have enough disk space. I’d LOVE to see you try doing that on an embedded environment.
- cxr 3y ago> You simply can’t just download a zip of master, with all of the dependencies, disconnect from the internet, and hit build. You don’t have enough disk space. I’d LOVE to see you try doing that on an embedded environment. Huh? What does this have to do with anything? It looks like you just moved the goalposts, hard.
- forrestthewoods 3y agoWe agree that it is good to not force every user to spend time configuring their build environment. That’s a start! I propose solving this problem by storing the necessary environment components in VCS. This eliminates the vast majority of environment setup issues. Many many many companies do exactly what I propose. It works great. The primary reason that more projects don’t use this approach, imho, is because Git doesn’t have the necessary features. Other VCS tools do, Git does not. I think it would be good to have a popular VCS tool, Git or otherwise, with this capability. > You don’t have enough disk space. Sure I do. Downloading dependencies from a package manager or downloading dependencies from VCS requires the exact same amount of disk space. The nice thing about VCS is it works for all platforms, for all languages, for all dependencies.