[FFmpeg-devel] [PATCH] configure: identify loong64 for loongarch.

Zhao Zhili quinkblack at foxmail.com
Tue May 20 16:27:04 EEST 2025



> On May 20, 2025, at 09:33, yinshiyou-hf at loongson.cn wrote:
> 
>> -----原始邮件-----
>> 发件人: "Brad Smith" <brad-at-comstyle.com at ffmpeg.org>
>> 发送时间:2025-05-14 09:06:31 (星期三)
>> 收件人: "FFmpeg development discussions and patches" <ffmpeg-devel at ffmpeg.org>, "Shiyou Yin" <yinshiyou-hf at loongson.cn>
>> 主题: Re: [FFmpeg-devel] [PATCH] configure: identify loong64 for loongarch.
>> 
>> On 2025-05-12 9:11 p.m., Shiyou Yin wrote:
>>> dpkg-architecture set DEB_HOST_ARCH_CPU as loong64 on loongarch.
>>> ---
>>>  configure | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>> 
>>> diff --git a/configure b/configure
>>> index 2e69b3c56c..5f39050374 100755
>>> --- a/configure
>>> +++ b/configure
>>> @@ -5290,7 +5290,7 @@ case "$arch" in
>>>      arm*|iPad*|iPhone*)
>>>          arch="arm"
>>>      ;;
>>> -    loongarch*)
>>> +    loongarch*|loong64)
>>>          arch="loongarch"
>>>      ;;
>>>      mips*|IP*)
>> 
>> It would be better to change this to just loong*
>> 
> 
> Thank you for your suggestion.
> loong32 has not been throughly tested, so I only add loong64 here.
> Once loong32 has been tested sufficiently, it can be switched to loong*.
> 

Applied, thanks.


More information about the ffmpeg-devel mailing list