Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] clapack: Disable for MIPS platforms
Date: Tue, 6 May 2014 13:40:26 +0100	[thread overview]
Message-ID: <5368D83A.7010700@imgtec.com> (raw)
In-Reply-To: <CAAXf6LWP_cC8G4UHn4TD_FL0awpgvCqmE-XksAbwTfSJCy7gfw@mail.gmail.com>

On 05/06/2014 12:52 PM, Thomas De Schampheleire wrote:
> Hi Vicente,
>
> On Tue, May 6, 2014 at 1:11 PM, Vicente Olivert Riera
> <Vincent.Riera@imgtec.com> wrote:
>> Disable this package for MIPS because it needs IRIX headers and
>> libraries.
>>
>> Fixes:
>>     http://autobuild.buildroot.net/results/370/370f964441722675820c644403dde7fbc683a315/
>>
>> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
>> Reviewed-by: Markos Chandras <Markos.Chandras@imgtec.com>
>> ---
>>   package/armadillo/Config.in |    1 +
>>   package/clapack/Config.in   |    1 +
>>   2 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/package/armadillo/Config.in b/package/armadillo/Config.in
>> index 2251d91..0b86b77 100644
>> --- a/package/armadillo/Config.in
>> +++ b/package/armadillo/Config.in
>> @@ -5,6 +5,7 @@ config BR2_PACKAGE_ARMADILLO
>>          bool "armadillo"
>>          depends on BR2_INSTALL_LIBSTDCPP
>>          depends on BR2_LARGEFILE # clapack
>> +       depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) # clapack
>>          select BR2_PACKAGE_CLAPACK
>>          help
>>            Armadillo: An Open Source C++ Linear Algebra Library for
>> diff --git a/package/clapack/Config.in b/package/clapack/Config.in
>> index a77094f..95dd343 100644
>> --- a/package/clapack/Config.in
>> +++ b/package/clapack/Config.in
>> @@ -1,6 +1,7 @@
>>   config BR2_PACKAGE_CLAPACK
>>          bool "cblas/clapack"
>>          depends on BR2_LARGEFILE
>> +       depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el)
>>          help
>>            BLAS and LAPACK C implementation (f2c'ed version of).
>>
>
> These dependencies should also be added to the respective comment lines, see
> http://buildroot.uclibc.org/downloads/manual/manual.html#dependencies-target-toolchain-options
>
> "The comment should only be visible if the config option itself would
> be visible when the toolchain option dependencies are met. This means
> that all other dependencies of the package (including dependencies on
> target architecture and MMU support) have to be repeated on the
> comment definition. To keep it clear, the depends on statement for
> these non-toolchain option should be kept separate from the depends on
> statement for the toolchain options. If there is a dependency on a
> config option in that same file (typically the main package) it is
> preferable to have a global if ? endif construct rather than repeating
> the depends on statement on the comment and other config options."
>
> Best regards,
> Thomas
>

Hi Thomas,

it wasn't me who put the "depends on BR2_LARGEFILE" in that package. 
Anyway, I will add that fix to my patch.

Cheers,

-- 
Vincent

  reply	other threads:[~2014-05-06 12:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-06 11:11 [Buildroot] [PATCH] clapack: Disable for MIPS platforms Vicente Olivert Riera
2014-05-06 11:52 ` Thomas De Schampheleire
2014-05-06 12:40   ` Vicente Olivert Riera [this message]
2014-05-06 12:48     ` Vicente Olivert Riera

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=5368D83A.7010700@imgtec.com \
    --to=vincent.riera@imgtec.com \
    --cc=buildroot@busybox.net \
    /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