4 ms·
How so? You realize there can be more than just code in a repo? And even then, what if there is a lot of code?
by sammyteee 4y ago
How so? You realize there can be more than just code in a repo? And even then, what if there is a lot of code?
- psychphysic 4y agoHe said 'may be'. Are you really suggesting it's impossible for bad practices to bloat a got repo?
- mrguyorama 4y agoWhat large data assets does a compiler have? Is there an HD video for you to watch while you compile?
- pertymcpert 4y agoLLVM is much more than a compiler. It's a set of projects under the umbrella of the LLVM project. It includes not only LLVM and clang, but a linker, a collection of runtimes to support many features (like various sanitizers), the MLIR project, a fortran front-end, c/c++ libraries, a debugger, openmp support, a polyhedral optimization framework, and all the tests that every feature in every one of those projects has. Is that too much under one umbrella? Probably. But it's not just a compiler. It's a monorepo.
- Arnt 4y agoThe LLVM repo is that large because a lot of people have worked on a lot of code. It's not so difficult. A team of tens of programmers can reach that size in a couple of decades, just by writing code and textual documentation. No graphic assets required, all it takes is a generation of steady work by a mid-sized team.
- thewebcount 4y agoI work on video-related applications and plug-ins, and yes we do sometimes need to include HD, 4K and larger assets in our code base. That's probably not the case for LLVM, but it's not at all out of the question for other types of projects.
- jcranmer 4y agoThe test suites of a compiler typically involve compiling very large projects; SPEC cpu2017 is I believe a gigabyte or so. Of course, these tests aren't in the llvm source repo, they're in a separate llvm-test-suite repo (although SPEC itself isn't distributed there because it's a benchmark you have to buy).
- rcxdude 4y agoThe latest checkout of the main branch of the LLVM project is 1.3GB, basically entirely text. Of that, ~900MB is tests, largely consisting of reference test vectors (this apparently isn't even the entirety of LLVM's tests, just the core ones). LLVM code itself weighs about 100MB, consisting of about 2 million lines of code (not including comments). clang (also in the same repo) is another 50MB, and about 800k lines of code. The remainder is other utilities and documentation.
- staringback 4y ago> Is there an HD video for you to watch while you compile? This made me laugh
- hobofan 4y ago> You realize there can be more than just code in a repo? Yes, and for large assets there are extra solutions like Git LFS (which GitHub has support for).