From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader01.eternal-september.org!aioe.org!16NWJ6+ffT/gI+JIGgfmBw.user.46.165.242.75.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: How to build Python3 support into GNATCOLL with alire Date: Mon, 21 Nov 2022 08:55:43 +0000 Organization: Aioe.org NNTP Server Message-ID: References: <3e7e9f66-9e74-4a04-98d9-73cc14d7e80bn@googlegroups.com> <13bd6b02-2214-45aa-bdbb-900b1753baf1n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: gioia.aioe.org; logging-data="32644"; posting-host="16NWJ6+ffT/gI+JIGgfmBw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin) X-Notice: Filtered by postfilter v. 0.9.2 Cancel-Lock: sha1:ZbLvdKyKQmdwZfeW0bMLc4/9dvA= Xref: reader01.eternal-september.org comp.lang.ada:64643 List-Id: Emmanuel Briot writes: > I have not used alire myself, but I noticed the following in your message: > >> Alire 1.3 will support Homebrew as the package manager for macOS, but >> someone has to work out how to upgrade the above two items to use it >> (and how to approach include, library paths; the ideal way would >> probably be to use pkg-config to determine them, but the simplest way >> of doing that would mean running a script from within gprbuild - not >> going to happen. > > Although running external scripts from gprbuild is indeed unlikely, it > is definitely in the realms of gprconfig (which is run first to > generate the .cgpr config file). For this one would need to provide > some .xml file that explains what command to run, and what to generate > in the .cgpr file (likely adding some `-I` compiler switches for C > files). Brilliant idea! Thanks, Emmanuel!