Bug 1098534
| Summary: | Package relying on a specific LLVM version | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Milan Bouchet-Valat <nalimilan> | ||||
| Component: | llvm | Assignee: | Adam Jackson <ajax> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 20 | CC: | ajax, bos, dmalcolm, jv+fedora, petersen, scottt.tw | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-06-13 19:04:30 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1040517 | ||||||
| Attachments: |
|
||||||
|
Description
Milan Bouchet-Valat
2014-05-16 13:37:44 UTC
Ping? Perhaps we probably need Software Collections also for llvm. (In reply to Jens Petersen from comment #2) > Perhaps we probably need Software Collections also for llvm. Until that might happen, you may be better off using Copr perhaps? We do certainly have contention though with llvm versions. Mesa always seems to want latest llvm to support latest GPUs I think whereas compiler tools often tend to lag somewhat preferring slightly older recent releases. Actually, I'm not even able to use Copr since as long as my package depends on llvm-libs 3.3, it cannot be installed in parallel with Mesa. How would software collections help with that problem? What do you think of my proposal about versioning llvm-libs? (In reply to Milan Bouchet-Valat from comment #4) > Actually, I'm not even able to use Copr since as long as my package depends > on llvm-libs 3.3, it cannot be installed in parallel with Mesa. Julia doesn't need Mesa right? So my suggestion was basically to add a llvm33 package (perhaps initially in Copr) and use that to build Julia. > How would software collections help with that problem? Ok, a Software Collection might actually be overkill in this case. > What do you think of my proposal about versioning llvm-libs? I guess llvm33 could provide llvm33-libs and llvm33-devel. Is that would you have in mind? Sure, Julia doesn't need Mesa; it just needs to be installable at the same time as Mesa for users who want both. Having llvm33, llvm33-libs, llvm33-static and llvm33-devel parallel installable with LLVM 3.4 would be perfect. (Calling them llvm-3.3-XXX would probably look nicer.) Though using the old LLVM 3.3 packages from the 'fedora' repo and renaming them will not be enough, the .so files need to be renamed too to avoid conflicts with 3.4 (cf. bug description). You're right some legwork is needed. At the very least llvm-libs and llvm33-libs need to be installable together I guess. Created attachment 903308 [details] llvm3.3 .spec file I've put together a llvm3.3 package based on the last llvm-3.3 F20 .spec file. It's parallel-installable with the standard llvm package, except for -devel subpackages. See attached .spec file, and Koji build here: http://koji.fedoraproject.org/koji/taskinfo?taskID=7020563 With this, I'm able to build Julia based on LLVM 3.3 on F20. Actually, one could even imagine moving headers to a versioned path instead of putting them in /usr/include/llvm, which would allow installing -devel packages for 3.3 and 3.4 in parallel. alternatives would then be used to choose which llvm-config to enable. Though I'm not sure it's worth it, and when I tried it didn't work as ./configure does not seem to take into account --includedir (or I did something wrong). Bump. :-) It sounds good to me and good progress. I haven't looked carefully at the spec file but how about submitting the package for review? One comment: it might be better to call it llvm33 rather than llvm3.3. I know 3.3 is more precise but I think usually Fedora tends to avoid "."s in package names - otherwise llvm-3.3 might be better perhaps. Personally I would go with llvm33 anyway. (There is also work underway to allow SCL in Fedora but it will needs more work.) OK, I've opened Bug 1109390. |