You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Nick Wellnhofer (Commented) (JIRA)" <ji...@apache.org> on 2012/03/22 19:48:23 UTC

[lucy-issues] [jira] [Commented] (LUCY-215) Support extensions written in C

    [ https://issues.apache.org/jira/browse/LUCY-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235876#comment-13235876 ] 

Nick Wellnhofer commented on LUCY-215:
--------------------------------------

I created a new branch LUCY-215-cf-extensions. As a first step, I added support for multiple source directories to Clownfish.
                
> Support extensions written in C
> -------------------------------
>
>                 Key: LUCY-215
>                 URL: https://issues.apache.org/jira/browse/LUCY-215
>             Project: Lucy
>          Issue Type: New Feature
>          Components: Clownfish
>            Reporter: Nick Wellnhofer
>            Assignee: Nick Wellnhofer
>
> Currently, all Lucy extensions that contain C code must be shipped with the Lucy source tree. In order to support external C-based extensions, Clownfish must be able to compile .cfh files that extend classes from a separate source tree. As discussed on the mailing list, a solution could look like this:
> * Install the .cfh files together with Lucy.
> * When building the extension, rebuild the complete Clownfish hierarchy together with the new classes.
> * Generate C headers, regenerating the headers for Lucy's core classes.
> * Compile the extension.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira