<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54585>54585</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Strange packaging issue (I think) in regards to the tarball of LLVM (as well as clang and compiler-rt)
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
rubyFeedback
</td>
</tr>
</table>
<pre>
Hey there llvm team,
I am following the instructions of BLFS here:
https://www.linuxfromscratch.org/blfs/view/svn/general/llvm.html
So first I download the LLVM tarball:
https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.0/llvm-14.0.0.src.tar.xz
However had, when extracting this, I end up with two directories:
cmake/
llvm-14.0.0.src/
The second one is expected and is how the LLVM team packaged things before 14.0.0.
The cmake/ directory on the toplevel, though, is confusing. Does this really have to be
where it is? I'd assume it would be part of llvm-14.0.0.src/ instead. Normally all that is
extract goes into only one directory, but now I end up with two.
Anyway.I thought I don't need this, so I removed it, and only repackaged llvm-14.0.0.src/
(I keep all source archives on my home system, in order to be able to compile this on
other, older computers without internet connection).
compiler-rt and clang tarball have the same issue.
I tried to continue via the BLFS instructions but ran into errors, so perhaps I need that
cmake/ directory. But as I was not sure, and the BLFS instructions did not mention it,
I stopped for now. So the issue request there is mostly to confirm by the LLVM team that
we really need a separate cmake/ directory now. Not even the KDE team requires this,
by the way, and they use a LOT of cmake too. So perhaps this is a mistake?
Could someone have a look and try to determine whether a separate cmake/ directory
really has to be part of the official tarballs? It's different to how LLVM packaged things
in the past, so perhaps this is not what was wanted. My later compile problem may not
have anything to do with this, but I just want to make sure. If someone could investigate
this would be nice; please close this issue at any moment in time whenever you'd like
to (or, if a fix/change is made, then perhaps when the next minor release of 14.0.x
series is released).
Last but not least, not while it is that important,perhaps rt-compiler and clang could be
part of the main LLVM distribution? This is just for convenience. I can download the
other tarballs just fine as-is, but I'd love to be able to just have a single tarball, and
then go from there (e. g. if clang is necessary or not, if compiler-rt is necessary or
not, e. g. via CMAKE configure options or something like that). For me a single
tarball, even if larger, would be a LOT more convenient - but as said, this is an aside.
Thank you for reading this lengthy issue request.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVVk1v2zgQ_TX2hYjg2nGdHHzIR4MaTXcPLfZOS5TFhiK1JGVF--v3zZByHLdbYINAtimSM_Pem0fuXTVuP6tRxEZ5JYw5tiIq2c6WD7PF42xxl547IVtRO2PcoO2BJgttQ_R9GbWzQbha3D8_fRO0yWx1d760ibELNLZ8wv8wDIXRtn-tvWtD6WUsm8L5A17tTR3wcdRqwEc4WjwPyiovDb5RZkUTW3O-9zcnau1DFDtRucEaJyvO7fn5r68iSr-Xxvw2nYOOTb8vStfmEPnjqvPuhyojfnpllAyKUpti5ElI--rDdbEoFtOq9KsIviwQvXj95zzyZzeoo_KioQ0exNAoK9Rr9BIYMqY60PhOKFuJvhMDchNxcKLSHqk4r1W4KEbgr2zli6JqTiMXqZzeped34BNU6RDEWdAYkESH_VUlJMbwu3HDGYoQg-hk-SIPisBFqkHsVe2glhzjcvcpo1PiIyLxjtF1BhgYqjM2rj809A0hkU7dB-xdiEenAoMhvAJ9I_A60koETSEGVqqOWDdbPYndbLlB6iH0LY8OrjcVJiNpH0mYP8PB2lWyKsQfzrccBA8ElbwpR8nMiAOloy3iO2tGhuxUFiW_76OwAOwn2t7BcmfHQY7FLledBAuBb7BYJVyZ_ODwxqvWHTGoIw1JJgqhvTrR8J8ML2924kWpjusJrvelEtKXjT6iCpDQAk4HnMIIAFoG3wrnK8iSERZybxhsdESn6SsRgUx5e0cmQYucoRU0p4_KB67ZAQjgpLxVkfi0ir1htrx9h0Te2F-BHCqtNJLEn3o1c00KlcQmSFXFex-KaIMqZWjRN70SRy15CRvQO1cibry0iT7lvfMTyJ3yjewCwM7wy5jT-0m7hbjHNpLmDnhaF0Xo4XKZml9HrnTFM1tlaSBROZUQ0AYdoqKHSDqFg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