-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
CDT packages don't work #28
Comments
@beckermr, CDTs end up in |
Can you explain? |
Ohhhh |
Huh? |
The tests in them would preclude that. |
What do you mean? |
We have tests in the sysroot packages that test that the libs are in the right spot on install. |
I'm not talking about the libs in the sysroot package. I mean the libs in the CDT packages. For eg: https://anaconda.org/conda-forge/libxt-cos7-ppc64le |
Ohhhh crap. |
An automated migration for those will be a nightmare. |
We don't even build CDTs for x86_64. We just use the ones from defaults. |
I hate saying this given the good work you've put into this, but shall we mark the new compilers as broken for a while? |
That’s not an option for me. I have colleagues depending on this. |
We'll be breaking all recipes using CDTs though. |
Not if we put in symlinks that replicate the old sysroot. We now have an excellent reason to keep the old ones. |
How is that going to work? |
What do you mean? We adjust the linux sysroot packages to use the old sysroot names and then add a symlink to the new one. |
Do you mean |
Yep why not. It is just a directory name. Actually pulling cos7 CDTs is a much bigger issue that I don't think we can solve. |
Can you send a PR to fix sysroot_linux-64=2.12? I think that should be enough to solve the issues. If we build the compilers with |
Just to be clear, we’ll need symlinks from the compiler shim sysroot to the current one. Also, should we be worried about mixing cdts between cos6 and cos7? Do we need to put in run constraints on say the sysroot package or some sort of centos cdt mutex? |
Yes, we need to move the sysroot_linux-64's files to
Not at the moment. |
Ok if we are not worried about mixing cdts then I propose we stuff the cos7 sysroot in the cos6 path too. Otherwise people who use cos7 won’t have any CDTs at all. |
What I mean is it's bad to mix CDTs, but we shouldn't worry about a mutex for now since we don't have any cos7 CDTs. People who want to use cos7 should build CDTs for cos7. |
Hmm ok. I’d be nice to have an answer for automatically generating the cdt packages. |
Also we should have a story on a mutex before we ask ppl to build cdts |
If you use |
Ah so we can set cdt name then. Sounds good. |
Should we rename the kernel headers and sysroot packages to use the cdt jinja2 in order to make them be able to be selected by the same logic? |
What would the run requirement for the compiler be then? |
We could / should insert shim cdts for the sysroot that people can insert into the build section. These cdts would simply have a run dep on the correct sysroot version. The actual compiler packages would stay the same. This way people can make sure to use the same cdt version as they have for the libraries in the host section. |
For the time being, can you remove the
packages since this is breaking clang builds that rely on |
I’m about to go to bed. We will fix this tomorrow morning for sure. |
I’d you can send a pr to cf mark broken in the next 5 mins or so I can merge it. |
you do that via anaconda.org or the CLI: https://docs.anaconda.com/anaconda-cloud/user-guide/tutorials/ see move labels |
@s22chan, we use https://github.com/conda-forge/cf-mark-broken for it. Can you send a PR? |
@isuruf this tool doesn't work (to remove a broken build from being in the conda solution set), since it only adds a broken label, but doesn't remove the main label |
|
see here: conda-forge/linux-sysroot-feedstock#18 |
see here too: conda-forge/linux-sysroot-feedstock#19 |
closing this one since the sysroot paths are now fixed! |
The new compilers work fine now, but the CDT packages don't work now.
The text was updated successfully, but these errors were encountered: