Red Hat Bugzilla – Bug 474147
Update request: llvm-2.4
Last modified: 2009-01-07 04:29:28 EST
Description of problem:
llvm 2.4 has been released, sporting a new OCaml language binding. I've tidied up the spec file a bit, and split out this binding into a separate subpackage -- the new RPM builds, and I'm currently testing it with the LLVM OCaml tutorial.
Version-Release number of selected component (if applicable):
Koji build (F10):
Created attachment 325376 [details]
Spec file for LLVM 2.4
This bug has been triaged
Created attachment 325430 [details]
Updated spec file for LLVM 2.4
Just tested the Koji build and while it works fine, there are missing dependency informations which have been added:
- llvm-ocaml should depend on llvm as well as ocaml-runtime
- llvm-ocaml-devel should depend on llvm-ocaml and llvm-devel
The doc subpackage might need some looking at, and I've not looked at how to use the OCaml find-requires scripts (so the OCaml dependencies are currently unversioned). Not sure if we should use the OCaml scripts *or* the normal scripts, or both.
Created attachment 325466 [details]
Updated spec: better patch for the ocaml binding bug
Reported upstream: http://llvm.org/bugs/show_bug.cgi?id=3153
Using the workaround of passing OVERRIDE_libdir to 'make install', and patching Makefile.ocaml to use this as the source directory for linking operations.
Next attachment contains the patch itself.
Created attachment 325467 [details]
Patch for Makefile.ocaml
To test the OCaml bindings:
(needs ocaml-camlp4-devel, which is not a Requires: as it is a specific requirement of the tutorial and not the binding itself)
llvm-2.4-2.fc10 has been submitted as an update for Fedora 10.
llvm-2.4-2.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update llvm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2008-11298
llvm-2.4-2.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.