unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Greg Hogan <code@greghogan.com>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: cmake-build-system: build tests only if #:tests? is true?
Date: Mon, 4 Mar 2024 11:00:46 -0500	[thread overview]
Message-ID: <CA+3U0Zm5LDjLkhB3bo8S3+-qZ1SUGvi=hrxGA5D0VYo=Lqm_CQ@mail.gmail.com> (raw)
In-Reply-To: <48cbd146-0645-1075-17fc-978f845c3e5a@crazy-compilers.com>

On Sat, Mar 2, 2024 at 4:17 PM Hartmut Goebel
<h.goebel@crazy-compilers.com> wrote:
>
> Hi,
>
> I found an old and unfinished patch in my pile. It optimizes building
> with cmake by not building the test if "#:tests?" is false. (Basically
> it passes -DBUILD_TESTING=OFF/ON" depending on "#:tests?".)
>
> Is this of interest? Then I would take my time and finish the patch.

Hi Hartmut,

I have been testing a set of patches (since last summer) based on the
following mailing list discussion (from 2021) to rewrite the
cmake-build-system build, check, and install functions to use cmake
utilities rather than depend on the gnu-build-system. This allows for
parallel tests and a package-defined #:generator.
  https://lists.gnu.org/archive/html/guix-devel/2021-10/msg00055.html

I will submit a patchset shortly for review and if accepted we can
look to combine all the cmake patches for the large rebuild. Perhaps a
version update for cmake-bootstrap (v3.24 released August 2022) at the
same time?

Greg


  parent reply	other threads:[~2024-03-04 16:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-02 21:16 cmake-build-system: build tests only if #:tests? is true? Hartmut Goebel
2024-03-02 21:23 ` Ekaitz Zarraga
2024-03-02 22:22   ` Hartmut Goebel
2024-03-04 14:10     ` Jean-Pierre De Jesus Diaz
2024-03-04  3:07 ` Maxim Cournoyer
2024-03-04 16:00 ` Greg Hogan [this message]
2024-03-04 23:01   ` Hartmut Goebel
2024-03-17 17:35     ` Ludovic Courtès
2024-03-18  8:55       ` Hartmut Goebel
2024-03-27 15:01     ` Greg Hogan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+3U0Zm5LDjLkhB3bo8S3+-qZ1SUGvi=hrxGA5D0VYo=Lqm_CQ@mail.gmail.com' \
    --to=code@greghogan.com \
    --cc=guix-devel@gnu.org \
    --cc=h.goebel@crazy-compilers.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).