From: "Ludovic Courtès" <ludo@gnu.org>
To: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Cc: 55565@debbugs.gnu.org
Subject: [bug#55565] [PATCH] gnu: Add python-blis
Date: Mon, 13 Jun 2022 12:20:18 +0200 [thread overview]
Message-ID: <87wndksw4d.fsf@gnu.org> (raw)
In-Reply-To: <87pmjfxywd.fsf@gmail.com> (Artyom V. Poptsov's message of "Sat, 11 Jun 2022 13:44:34 +0300")
Hi Artyom,
"Artyom V. Poptsov" <poptsov.artyom@gmail.com> skribis:
> Basically I patched 'blis/benchmark.py' to use "blas_opt_info" instead
> of "blas_ilp64_opt_info" and tests went fine. An issue with different
> numpy versions I guess? I also added "blis" and "python-numpy-next" to
> the "native-inputs".
Unfortunately this is not sufficient: the source bundles a copy of BLIS
under ‘blis/_src’ and it starts by building it (which is why it takes so
long), whether or not BLIS is among the inputs.
Could you (1) add a snippet that removes ‘blis/_src’, and (2) see
whether/how ‘setup.py’ can be patched to not build BLIS? It might be
that commenting out the line that reads:
cmdclass={"build_ext": ExtensionBuilder},
would be enough, I don’t know.
Anyhow, given that BLIS is the kind of package that’s highly tuned on
our side for performance and reproducibility configuration, it’s
important to not have several copies around.
> + (native-inputs (list python-numpy-next
> + python-pytest
> + python-cython
> + blis
> + python-hypothesis))
NumPy and BLIS should definitely be ‘inputs’, not ‘native-inputs’; not
sure about ‘hypothesis’.
Also, please include a short comment explaining why numpy-next is used
rather than numpy (like “version >= X.Y required”).
Could you send an updated patch?
Sorry that this is providing trickier than we’d like!
Thanks,
Ludo’.
next prev parent reply other threads:[~2022-06-13 10:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-21 22:17 [bug#55565] [PATCH] gnu: Add python-blis Artyom V. Poptsov
2022-05-27 21:23 ` Ludovic Courtès
2022-06-11 10:44 ` Artyom V. Poptsov
2022-06-13 10:20 ` Ludovic Courtès [this message]
2023-09-02 0:00 ` bug#55565: " Vagrant Cascadian
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=87wndksw4d.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=55565@debbugs.gnu.org \
--cc=poptsov.artyom@gmail.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).