taskGNU Astronomy Utilities - Tasks: task #14293, Separating installed and...


You are not allowed to post comments on this tracker with your current authentication level.

task #14293: Separating installed and non-installed libraries

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Wed 28 Dec 2016 08:01:07 PM UTC  
Should Start On:  Wed 28 Dec 2016 03:00:00 PM UTC Should be Finished on:  Wed 28 Dec 2016 03:00:00 PM UTC
Category:  Libraries Priority:  5 - Normal
Item Group:  Enhancement Status:  Postponed
Privacy:  Public Percent Complete:  0%
Assigned to:  None Open/Closed:  Open
Effort:  0.00

Wed 28 Dec 2016 08:01:07 PM UTC, original submission:

Currently the installed Gnuastro library also contains functions that are not intended for installation (their headers aren't installed), like those in lib/configfiles.c (to read configuration files, which is not relevant for the libraries), and generally all the `.c' files with a `.h' file in the lib/ directory.

We should define those as a separate Convenience library (maybe called `gnuastro-internal') only to link with the programs, something like how we link the programs with Gnulib.

In the (currently ongoing) work on a root data structure (task #14245), we have a new class of library source files which are only separated from the installed library files because of compile-time necessities, like the `arithmetic-*.c' files (you can see them in the under-development lib/ directory). These were separate from the main library source files they use macros heavily, and thus the compilation would take too long if they were compiled in one source file. For these types of library source files we can define convenience libraries for the installed Gnuastro library, or they can remain as is (get included in the library, but with no headers).

Mohammad Akhlaghi <makhlaghi>
Project Administrator


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.4