Replies: 3 comments 6 replies
-
I can think of good reasons for this: consider cross-compiler packages with associated libraries. |
Beta Was this translation helpful? Give feedback.
-
I agree in that architecture handling should move into dependencies. I guess we need to write down the actual problem first. This allows us to determine what solution might actually work. There are multiple places where architecture comes in play. Here just the first I can think of:
|
Beta Was this translation helpful? Give feedback.
-
Crazy idea: perhaps GPU architecture should be treated the same way? Currently the CUDA and ROCm packages tend to be massive, and that's partly because they contain optimized code for nearly a dozen different generations of GPUs, all crammed into each package.
It would be nice if installing only the appropriate implementation for the system's current GPU could be streamlined. Sorry if this is too ambitious for the discussion :) It just sounds like something that could benefit from the described approach. |
Beta Was this translation helpful? Give feedback.
-
Every time there's a PR for a new architecture in rpm, I have the strongest urge to stick my head into the sand until the PR just goes away, from old age or whatever. This is because nine times out of ten, those PR's go awry one way or the other. Somebody's ARM improvement breaks ARM entirely for another, despite both of them being equally correct (or wrong), somebody wants to support a microarchitecture that nobody else cares about, and we are expected to have insights on them all to appropriately manage the mess. It's a strong sign that the rpm architecture abstraction is wrong. News to anybody? I doubt. What follows is what some might consider radical ideas in broad strokes with various corners cut, in part inspired by discussion in #1038 . Keep an open mind and don't think I have all this figured out, I don't. The idea is to provoke discussion on the topic. One explicit goal of mine is to put an end to the impossible "support arch X" PR's, but it should be a mere side-effect of doing things right.
Beta Was this translation helpful? Give feedback.
All reactions