From mboxrd@z Thu Jan 1 00:00:00 1970 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Software Engineer Seeks Compatible Cratifier Date: Sun, 23 Jun 2024 15:21:51 +0200 Organization: A noiseless patient Spider Message-ID: References: <25ffa16458991608eba5397583a4dae9eede2f71.camel@obry.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 23 Jun 2024 15:21:52 +0200 (CEST) Injection-Info: dont-email.me; posting-host="b76a9975ff5c6fdd1ee6d31be1f80ec3"; logging-data="384983"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TCh7Mpx1e7WlLlhHPNEYWjPLfJjy9qBQ=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:HOT3eo0S5eDMUxCBVTKttRlda88= In-Reply-To: Content-Language: en-US Xref: news.eternal-september.org comp.lang.ada:66203 List-Id: On 2024-06-23 10:10, Alastair Hogge wrote: > On Tue, 18 Jun 2024 20:27:16 +0200, Pascal Obry wrote: > >> Le mardi 18 juin 2024 à 20:06 +0200, Jeffrey R.Carter a écrit : >>> IIUC, there has to be a project file in the crate. That does not mean >>> there has to be a project file in my Github repository. >> >> But then you impose someone to create a project file. And this would be >> needed by all packager, there is not only crates around to build a >> component. And moreover, you let the "packager" find the correct options >> to be used which is certainly not a good solution. >> >> That's exactly why I had proposed a PR with a project file. It >> "documents" the way the code must be compiled (at least with GNAT) and >> installed for everyone wanting to package your components. > > +1 for a .gpr project file to enable package maintainers; it facilitates > easier to integrate Ada systems with the host system. Yes, but the system must generate a parent gpr file with the target settings. Fedora's GNAT has such a thing in a very primitive form. It must define the target OS description, default switches, 32 vs 64 bit, architecture, availability of pragma Atomic for 64-bit scalars, some standard libraries for the linker etc. Then the user gpr will able to refer to these in the main gpr. OT, the reason why I do not use Alire is because it has no upload function. I cannot manually submit my projects each time I ship a new version of some of them. It should support automated uploads. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de