All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: Guillaume Bres <guillaume.bressaix@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: jmfriedt <jmfriedt@femto-st.fr>,
	buildroot@buildroot.org, "gwenhael.goavec" <gwen@trabucayre.com>,
	Asaf Kahlon <asafka7@gmail.com>,
	Jagan Teki <jagan@amarulasolutions.com>
Subject: Re: [Buildroot] [PATCH v5 4/4] package/python-scipy: new package
Date: Mon, 1 Aug 2022 20:15:13 +0200	[thread overview]
Message-ID: <d351c158-0419-462b-29cf-39b1903de8f5@mind.be> (raw)
In-Reply-To: <CAJe0E3e4wE+v16v9JQE-NDaXH+_9icVtHfPbTBW=ng5rr2EEYg@mail.gmail.com>



On 01/08/2022 19:58, Guillaume Bres wrote:
> Hello,
> thank you Thomas for merging this serie and also for adding the runtime test, I 
> did try to provide it but could not get it to work.
> I will give it a try in the next few days

  Don't hesitate to post even a non-working version that people can comment on. 
Please do post it as an RFC though (--subject-prefix=RFC). And of course there's 
no promise that people will *actually* comment on it :-).

  Regards,
  Arnout

> 
> Guillaume W. Bres
> Software engineer
> <guillaume.bressaix@gmail.com <mailto:guillaume.bressaix@gmail.com>>
> 
> 
> Le lun. 1 août 2022 à 19:42, Thomas Petazzoni <thomas.petazzoni@bootlin.com 
> <mailto:thomas.petazzoni@bootlin.com>> a écrit :
> 
>     Hello,
> 
>     On Wed, 27 Jul 2022 21:29:48 +0200
>     "Guillaume W. Bres" <guillaume.bressaix@gmail.com
>     <mailto:guillaume.bressaix@gmail.com>> wrote:
> 
>      > From: Jagan Teki <jagan@amarulasolutions.com
>     <mailto:jagan@amarulasolutions.com>>
>      >
>      > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com
>     <mailto:jagan@amarulasolutions.com>>
>      > [Arnout:
>      >  - Indent hash file with two spaces.
>      >  - Bump to 1.7.3 to fix build failure with recent GCC.
>      >  - Get from github instead of PyPI.
>      >  - Add host-meson and host-python-pythran dependencies.
>      >  - Properly propagate Config.in dependencies.
>      >  - Correct usage of BR2_INSTALL_LIBSTDCPP symbol.
>      >  - Remove F77, no longer used.
>      > ]
>      > Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be
>     <mailto:arnout@mind.be>>
>      > [Guillaume:
>      >  - -lnpymath: npymath.ini localization problem
>      >  - -lnpyrandom resolution problem
>      >  - fix legal-info for latest version LICENSE.txt
>      >  - zlib is a scipy::io module runtime requirement
>      >  - update serie for scipy 1.8.1 (latest)
>      > ]
>      > Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com
>     <mailto:guillaume.bressaix@gmail.com>>
> 
>     I have applied, with the following changes:
> 
>          [Thomas:
>           - add runtime test
>           - drop dependency on OpenBLAS, which is not needed in a minimal
>             configuration
>           - remove PYTHON_SCIPY_NPY_PKG_CONFIG_PATH logic as it is no longer
>             needed
>          ]
> 
>     Could you please:
> 
>       (1) Review the runtime test, to see if it can be improved with some
>           better testing.
> 
>       (2) Review the OpenBLAS dependency, to see if it needs to be added as
>           an optional dependency in some way.
> 
>      > +# Provide system configuration options to numpy distutils extenions, telling
>      > +# to find all include files and libraries in staging directory.
>      > +define PYTHON_SCIPY_CONFIGURE_CMDS
>      > +     -rm -f $(@D)/site.cfg
>      > +     echo "[DEFAULT]" >> $(@D)/site.cfg
>      > +     echo "library_dirs = $(STAGING_DIR)/usr/lib" >> $(@D)/site.cfg
>      > +     echo "include_dirs = $(STAGING_DIR)/usr/include" >> $(@D)/site.cfg
>      > +endef
> 
>     This part is a bit annoying, as it's duplicated from python-numpy.mk
>     <http://python-numpy.mk>. I
>     looked a bit, but couldn't really find a good way of avoiding this
>     duplication.
> 
>     Thanks!
> 
>     Thomas
>     -- 
>     Thomas Petazzoni, co-owner and CEO, Bootlin
>     Embedded Linux and Kernel engineering and training
>     https://bootlin.com <https://bootlin.com>
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-08-01 18:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-27 19:29 [Buildroot] [PATCH v5 1/4] package/python-gast: new host-only package Guillaume W. Bres
2022-07-27 19:29 ` [Buildroot] [PATCH v5 2/4] package/python-beniget: " Guillaume W. Bres
2022-08-01 17:40   ` Thomas Petazzoni via buildroot
2022-07-27 19:29 ` [Buildroot] [PATCH v5 3/4] package/python-pythran: " Guillaume W. Bres
2022-08-01 17:40   ` Thomas Petazzoni via buildroot
2022-07-27 19:29 ` [Buildroot] [PATCH v5 4/4] package/python-scipy: new package Guillaume W. Bres
2022-08-01 17:42   ` Thomas Petazzoni via buildroot
2022-08-01 17:58     ` Guillaume Bres
2022-08-01 18:15       ` Arnout Vandecappelle [this message]
2022-08-01 18:59       ` Thomas Petazzoni via buildroot
2022-08-02  5:33         ` Guillaume Bres
2022-08-02  7:53           ` Thomas Petazzoni via buildroot
2022-08-01 17:40 ` [Buildroot] [PATCH v5 1/4] package/python-gast: new host-only package Thomas Petazzoni via buildroot

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

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

  git send-email \
    --in-reply-to=d351c158-0419-462b-29cf-39b1903de8f5@mind.be \
    --to=arnout@mind.be \
    --cc=asafka7@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=guillaume.bressaix@gmail.com \
    --cc=gwen@trabucayre.com \
    --cc=jagan@amarulasolutions.com \
    --cc=jmfriedt@femto-st.fr \
    --cc=thomas.petazzoni@bootlin.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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.