Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2015 02:36:40 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Kubilay Kocak <koobs@freebsd.org>
Cc:        sson@freebsd.org, sbruno@freebsd.org, mva@freebsd.org, Antoine Brodin <antoine@freebsd.org>, python@freebsd.org
Subject:   Re: python waf bypasses _MAKE_JOBS number
Message-ID:  <20150114013640.GA43747@slackbox.erewhon.home>
In-Reply-To: <54B5B774.3020109@FreeBSD.org>
References:  <20150107072132.GA1050@medusa.sysfault.org> <54AD5BB9.2060701@ignoranthack.me> <1420653060968-5979111.post@n5.nabble.com> <20150109183334.Horde.DDLUOEFT2TrMFUcP63h_9Q1@webmail.df.eu> <54B0154B.80801@ignoranthack.me> <CAALwa8=q-3ZAQRxkgU0_EJL4qHYoA2%2BtE-=9%2BODSVi-uHeP2Aw@mail.gmail.com> <54B019C1.7090704@ignoranthack.me> <20150110002908.Horde.QrB60C0_PExk9ypkaJhFiA1@webmail.df.eu> <54B578E5.2010003@ignoranthack.me> <54B5B774.3020109@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jan 14, 2015 at 11:25:24AM +1100, Kubilay Kocak wrote:
> On 14/01/2015 6:58 AM, Sean Bruno wrote:
>=20
> >=20
> > For now, I'm going to start looking into Makefile patches to setup the
> > correct variables so that waf doesn't assume we want number of CPU's
> > detected.
> >=20
>=20
> Might this be a good candidate for USE_PYTHON=3D waf feature for some
> consistency and minimised duplication in waf-based Python Ports?

Recently I had to look into the code for waf to fix a build issue (see bug
195953 for the gory details). If such a feature is going to be built, maybe
this PR can be taken into account.

What I observed is that python2.7-config is a Python sccript, while
python3.4m-config is a shell-script. And waf assumes the config script is a
Python script.

The version of waf bundled with that port is quite old (1.6.4). The source
code of that version is extremely terse with few if any docstrings and almo=
st
no blank lines. It produces an awesome amount of errors and warnings when y=
ou
run it through flake8. The most recent version is a lot better in that rega=
rd.
So I wonder if the different versions are compatible enough to make a gener=
ic
USE_PYTHON=3Dwaf feature possible.


Roland
--=20
R.F.Smith                                   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 5753 3324 1661 B0FE 8D93  FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0)

--OgqxwSJOaUobr8KG
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABAgAGBQJUtcgoAAoJEED21dyjijPgH20P+QEHuLxjExFqWwt7IMnU66z5
pYTVooIHDe8km3e+IMVTqJpR6KwY+S8zdlZilwy7eOF0ygt/Dk7k14uEMazQLWoc
VWIud+VoI0sjdACT4+5gF5FJXx18HkoUtbMufBfKTgz4w+pQjUEXELKwseJ5Lbt4
g0axMFKbkHmfaZmmOjEU+fHxkl25UVlaihkpA96xpNf0aLTFYiRx3uTFrdKV6JGE
PRHAjfH1qAn/xdXOmuOH46WHVtzdZttY/4ZwvqtBCPwOWd2ydG4Lfk1lJS7Gd7M+
IbCEoHPSU2Vr3E2tLbhELRkGo0gpYYGb41tmETyQb2o4VpAB8LoqWkL+UXou4RB/
0ox77BeZD/BpXGOpxqsHpF5eoHydxmLj1PhlWTHEYRTM0n2OqjgIMDEfxEkdqm2N
0EdtWinbDNs0LdxlN5aAz5qv2cYcwKVziTTCOSHq7NQAcL8t9pOfZeyfoLCkIiSK
vjblxRe7AgvAKUysB+n2vvU+V6hLEP2/UXEZlIQaHnW2xIlZwIu2fjYMK/49lSrv
FdFQm3Btv/PlDZIt64wQxndVRS14YH2Wo6FRrkkc9DEETI2yvVKYmvHeVZd0Mm54
22Xq0JWMnAB6ZZSCzZ2Nxs5olefQ4YD8NHvE1DxUjcMZnHpLeYyRj89oKEOgm5nD
JXv9YFZewLD3LcrW+RiR
=HSR6
-----END PGP SIGNATURE-----

--OgqxwSJOaUobr8KG--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150114013640.GA43747>