qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Thomas Huth <thuth@redhat.com>, qemu-devel@nongnu.org
Cc: "Alex Bennée" <alex.bennee@linaro.org>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Emilio G . Cota" <cota@braap.org>,
	"Richard Henderson" <richard.henderson@linaro.org>
Subject: Re: [PATCH] configure: Only clone softfloat-3 repositories if TCG is enabled
Date: Wed, 12 May 2021 07:39:17 +0200	[thread overview]
Message-ID: <8c020fab-f8f2-2884-bc4c-00b8bdb669f4@redhat.com> (raw)
In-Reply-To: <afeea06f-b778-6d62-daf6-99fa4286b056@redhat.com>

On 5/12/21 7:12 AM, Thomas Huth wrote:
> On 12/05/2021 06.58, Philippe Mathieu-Daudé wrote:
>> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
>> ---
>>   configure | 7 +++++--
>>   1 file changed, 5 insertions(+), 2 deletions(-)
>>
>> diff --git a/configure b/configure
>> index 5877a6b2bfe..e0e02623e3e 100755
>> --- a/configure
>> +++ b/configure
>> @@ -257,8 +257,6 @@ if test -e "$source_path/.git"
>>   then
>>       git_submodules_action="update"
>>       git_submodules="ui/keycodemapdb"
>> -    git_submodules="$git_submodules tests/fp/berkeley-testfloat-3"
>> -    git_submodules="$git_submodules tests/fp/berkeley-softfloat-3"
>>   else
>>       git_submodules_action="ignore"
>>       git_submodules=""
>> @@ -2277,6 +2275,11 @@ if test "$solaris" = "yes" ; then
>>     fi
>>   fi
>>   +if test "$tcg" = "enabled"; then
> 
> Shouldn't there be a check here, too, whether git submodules are enabled
> at all or not?

IIUC this check is done later (see $git_submodules_action):

5487 if !(GIT="$git" "$source_path/scripts/git-submodule.sh"
"$git_submodules_action" "$git_submodules"); then
5488     exit 1
5489 fi

> 
>  Thomas
> 
> 
>> +    git_submodules="$git_submodules tests/fp/berkeley-testfloat-3"
>> +    git_submodules="$git_submodules tests/fp/berkeley-softfloat-3"
>> +fi
>> +
>>   if test -z "${target_list+xxx}" ; then
>>       default_targets=yes
>>       for target in $default_target_list; do
>>
> 



  reply	other threads:[~2021-05-12  5:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-12  4:58 [PATCH] configure: Only clone softfloat-3 repositories if TCG is enabled Philippe Mathieu-Daudé
2021-05-12  5:12 ` Thomas Huth
2021-05-12  5:39   ` Philippe Mathieu-Daudé [this message]
2021-05-12  7:22 ` Paolo Bonzini

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=8c020fab-f8f2-2884-bc4c-00b8bdb669f4@redhat.com \
    --to=philmd@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=cota@braap.org \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=thuth@redhat.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 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 NNTP newsgroup(s).