public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: kde@gentoo.org, tommy@gentoo.org
Subject: [gentoo-dev] cmake-utils.eclass: fixes to ninja MAKEOPTS conversion
Date: Sun, 28 Feb 2016 20:01:56 +0100	[thread overview]
Message-ID: <1456686118-28043-1-git-send-email-mgorny@gentoo.org> (raw)

Hello,

Just a quick two patches against cmake-utils that fix MAKEOPTS->ninja
conversion. In particular:

1. -k never takes value in make, so do not account for that, and always
   convert '-k' to '-k 0',

2. -j and -l have optional values in make, so figure out if we're being
   passed a correct value and use '-j 9999' and '-l 0' otherwise.

--
Best regards,
Michał Górny



             reply	other threads:[~2016-02-28 19:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-28 19:01 Michał Górny [this message]
2016-02-28 19:01 ` [gentoo-dev] [PATCH 1/2] cmake-utils.eclass: _ninjaopts_from_makeopts, fix handling of -k Michał Górny
2016-02-28 19:01 ` [gentoo-dev] [PATCH 2/2] cmake-utils.eclass: _ninjaopts_from_makeopts, fix plain '-j' and '-l' Michał Górny
2016-05-26  8:10 ` [gentoo-dev] cmake-utils.eclass: fixes to ninja MAKEOPTS conversion Michał Górny
2016-05-26 13:24   ` rindeal

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=1456686118-28043-1-git-send-email-mgorny@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=kde@gentoo.org \
    --cc=tommy@gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox