unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Mathieu Othacehe <othacehe@gnu.org>
To: Hilton Chain <hako@ultrarare.space>
Cc: 57058@debbugs.gnu.org
Subject: [bug#57058] [PATCH] gnu: Add python-lief.
Date: Thu, 11 Aug 2022 17:37:14 +0200	[thread overview]
Message-ID: <87bksq23md.fsf@gnu.org> (raw)
In-Reply-To: <y76pmhahjo1.wl-hako@ultrarare.space> (Hilton Chain's message of "Mon, 08 Aug 2022 22:52:30 +0800")


Hey,

> * gnu/packages/python-xyz.scm (python-lief): New variable.

This looks fine to me, but compilation takes a long time and appears to
be mono-threaded. I found that nix has the following snippet:

--8<---------------cut here---------------start------------->8---
    substituteInPlace setup.py \
      --replace 'cmake_args = []' "cmake_args = [ \"-DCMAKE_INSTALL_PREFIX=$prefix\" ]"
    ${pyEnv.interpreter} setup.py --sdk build --parallel=$NIX_BUILD_CORES
--8<---------------cut here---------------end--------------->8---

that can maybe allow parallel compilation?

Thanks,

Mathieu




  reply	other threads:[~2022-08-11 15:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-08 14:52 [bug#57058] [PATCH] gnu: Add python-lief Hilton Chain via Guix-patches via
2022-08-11 15:37 ` Mathieu Othacehe [this message]
2022-08-16  6:36   ` [bug#57058] [PATCH v2] " Hilton Chain via Guix-patches via
2022-08-16  9:29     ` Mathieu Othacehe
2022-08-16 13:06       ` Hilton Chain via Guix-patches via
2022-08-16 13:30       ` [bug#57058] [PATCH v3] " Hilton Chain via Guix-patches via
2022-08-17  7:25         ` bug#57058: [PATCH] " Mathieu Othacehe

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=87bksq23md.fsf@gnu.org \
    --to=othacehe@gnu.org \
    --cc=57058@debbugs.gnu.org \
    --cc=hako@ultrarare.space \
    /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).