[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-devel] [task #14293] Separating installed and non-installed li
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-devel] [task #14293] Separating installed and non-installed libraries |
Date: |
Wed, 28 Dec 2016 20:01:08 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 |
URL:
<http://savannah.gnu.org/task/?14293>
Summary: Separating installed and non-installed libraries
Project: GNU Astronomy Utilities
Submitted by: makhlaghi
Submitted on: Thu 29 Dec 2016 05:01:07 AM JST
Should Start On: Thu 29 Dec 2016 12:00:00 AM JST
Should be Finished on: Thu 29 Dec 2016 12:00:00 AM JST
Category: Libraries
Priority: 5 - Normal
Item Group: Enhancement
Status: Postponed
Privacy: Public
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Effort: 0.00
_______________________________________________________
Details:
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
<http://git.savannah.gnu.org/cgit/gnuastro.git/tree/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/
<http://git.savannah.gnu.org/cgit/gnuastro.git/tree/lib> directory.
We should define those as a separate Convenience library
<https://www.gnu.org/software/automake/manual/html_node/Libtool-Convenience-Libraries.html>
(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/
<https://gitlab.com/makhlaghi/gnuastro/tree/datastruct/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).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/task/?14293>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnuastro-devel] [task #14293] Separating installed and non-installed libraries,
Mohammad Akhlaghi <=