Skip to content

Add loongarch64 qemu test in run_tests.sh#2461

Closed
jinboson wants to merge 0 commit intogoogle:masterfrom
jinboson:master
Closed

Add loongarch64 qemu test in run_tests.sh#2461
jinboson wants to merge 0 commit intogoogle:masterfrom
jinboson:master

Conversation

@jinboson
Copy link
Contributor

@jinboson jinboson commented Feb 6, 2025

No description provided.

Copy link
Member

@jan-wassenberg jan-wassenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding. The only loongarch package I see in my (Debian-based) apt-get is binutils-loongarch64-linux-gnu. That's likely not enough to build/run. Do you have any advice on where to get the compiler?

@johnplatts
Copy link
Contributor

Thanks for adding. The only loongarch package I see in my (Debian-based) apt-get is binutils-loongarch64-linux-gnu. That's likely not enough to build/run. Do you have any advice on where to get the compiler?

The Ubuntu 24.10 release (and the upcoming Ubuntu 25.04 release) include the g++-14-loongarch64-linux-gnu package, and details of the Ubuntu 24.10 g++-14-loongarch64-linux-gnu package can be found at https://packages.ubuntu.com/oracular/g%2B%2B-14-loongarch64-linux-gnu.

The upcoming Debian 13 release also includes the g++-14-loongarch64-linux-gnu package, and details of the g++-14-loongarch64-linux-gnu package in the upcoming Debian 13 release can be found at https://packages.debian.org/trixie/g%2B%2B-14-loongarch64-linux-gnu.

@jinboson
Copy link
Contributor Author

jinboson commented Feb 8, 2025

Thanks for adding. The only loongarch package I see in my (Debian-based) apt-get is binutils-loongarch64-linux-gnu. That's likely not enough to build/run. Do you have any advice on where to get the compiler?

Sorry, I haven't tried cross-compile yet on Debian x86 platform, @jan-wassenberg. I tested it on Ubuntu-24.04, see below:

jin@loongson-To-be-filled-by-O-E-M:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

But debian package for loongarch seems available here https://packages.debian.org/unstable/g++-14-loongarch64-linux-gnu, hopes this help.

@jinboson
Copy link
Contributor Author

jinboson commented Feb 8, 2025

It seems Ubuntu-24.04(same for mine) is enough, see above and cisco/openh264@e49c095, @johnplatts .

@jan-wassenberg
Copy link
Member

hm, I think we're still stuck on local testing (unable to update), but it seems Ubuntu 24.04 running in Github actions would currently be our best hope. Would you like to add the test to .github/workflows/build_test.yml? We use run_tests.sh for running locally.

@jinboson
Copy link
Contributor Author

hm, I think we're still stuck on local testing (unable to update), but it seems Ubuntu 24.04 running in Github actions would currently be our best hope. Would you like to add the test to .github/workflows/build_test.yml? We use run_tests.sh for running locally.

No problem, I will update that when ready. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants