unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Greg Hogan <code@greghogan.com>
To: guix-devel@gnu.org
Subject: Test parallelism with CMake
Date: Fri, 8 Oct 2021 07:07:46 -0400	[thread overview]
Message-ID: <CA+3U0ZmnWrBdBpL=xHsp4CNPL3KfMYW6pvDJA-SbfyV4nuKnKw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 782 bytes --]

Guix,

As I read the source, cmake-build-system should by default both build and
check with parallelism enabled. When I locally build a package only the
build phase runs with parallelism and tests are being run in serial.

When I run a manual build (stopping an in-process build run with '-K', then
removing all files under the build directory, then copying and running the
commands from the stopped build) I do not see a parallel build, nor do I
see any parallelism passed by command or environment arguments (no '-j' or
CMAKE_BUILD_PARALLEL_LEVEL).

If this has been previously discussed please direct me to the earlier
discussion. Often my builds are fast (running in parallel) but tests are
slow (running in serial) and I am puzzled why any of this works the way it
does.

Greg

[-- Attachment #2: Type: text/html, Size: 928 bytes --]

             reply	other threads:[~2021-10-08 11:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-08 11:07 Greg Hogan [this message]
2021-10-21 19:30 ` Test parallelism with CMake Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2021-10-09  7:56 Liliana Marie Prikler
2021-10-12 17:28 ` Greg Hogan
2021-10-22 13:10 ` Greg Hogan
2021-10-22 18:28   ` Liliana Marie Prikler
2021-10-29 12:09   ` Ludovic Courtès
2021-11-03 14:47     ` Greg Hogan
2021-11-03 17:58       ` Liliana Marie Prikler

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+3U0ZmnWrBdBpL=xHsp4CNPL3KfMYW6pvDJA-SbfyV4nuKnKw@mail.gmail.com' \
    --to=code@greghogan.com \
    --cc=guix-devel@gnu.org \
    /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).