Skip to content

Conversation

heyujiao99
Copy link

  1. Add RISC-V64 Linux platform support
  2. Enable compatibility with glibc-2.32+
  3. Verified through successful compilation and test execution on RISC-V Linux.

Test Results,

[eta@openeuler-riscv64 bin ]$ ./native-platform-test

Select test to run: Show terminal details

* Stdout: terminal
* Stderr: terminal
* Stdin: terminal
* Terminal implementation: Curses terminal xterm on stdout
* Terminal size: 162 cols x 41 rows
* Text attributes: yes
* Color: yes
* Cursor motion: yes
* Cursor visibility: yes
* Terminal input: POSIX input on stdin
* Raw mode: yes

TEXT ATTRIBUTES
[normal] [bold] [bold+dim] [normal] [dim]

COLORS
bold      bold+dim  bright    normal    dim
[black]   [black]   [black]   [black]   [black]
[red]     [red]     [red]     [red]     [red]
[green]   [green]   [green]   [green]   [green]
[yellow]  [yellow]  [yellow]  [yellow]  [yellow]
[blue]    [blue]    [blue]    [blue]    [blue]
[magenta] [magenta] [magenta] [magenta] [magenta]
[cyan]    [cyan]    [cyan]    [cyan]    [cyan]
[white]   [white]   [white]   [white]   [white]

CURSOR MOVEMENT
[1]       [2]
[3]       [4]
done!

Can write unicode: αβγ ✔


Select test to run: Show machine details

* JVM: Bisheng 11.0.20
* OS (JVM): Linux 6.11.0 riscv64
* OS (Kernel): Linux 6.11.0 riscv64 (riscv64)
* Hostname: openeuler-riscv64
* PID: 14079


Select test to run: Show file systems

* File systems:
    * / -> /dev/root (type: ext4 local, case sensitive: true, case preserving: true)
    * /dev -> devtmpfs (type: devtmpfs local, case sensitive: true, case preserving: true)
    * /proc -> proc (type: proc local, case sensitive: true, case preserving: true)
    * /sys -> sysfs (type: sysfs local, case sensitive: true, case preserving: true)
    * /sys/kernel/security -> securityfs (type: securityfs local, case sensitive: true, case preserving: true)
    * /dev/shm -> tmpfs (type: tmpfs local, case sensitive: true, case preserving: true)
    * /dev/pts -> devpts (type: devpts local, case sensitive: true, case preserving: true)
    * /run -> tmpfs (type: tmpfs local, case sensitive: true, case preserving: true)
    * /sys/fs/cgroup -> tmpfs (type: tmpfs local, case sensitive: true, case preserving: true)
    * /sys/fs/cgroup/systemd -> cgroup (type: cgroup local, case sensitive: true, case preserving: true)
    * /sys/fs/bpf -> bpf (type: bpf local, case sensitive: true, case preserving: true)
    * /sys/fs/cgroup/freezer -> cgroup (type: cgroup local, case sensitive: true, case preserving: true)
    * /sys/fs/cgroup/pids -> cgroup (type: cgroup local, case sensitive: true, case preserving: true)
    * /sys/fs/cgroup/cpuset -> cgroup (type: cgroup local, case sensitive: true, case preserving: true)
    * /sys/fs/cgroup/devices -> cgroup (type: cgroup local, case sensitive: true, case preserving: true)
    * /sys/fs/cgroup/net_cls,net_prio -> cgroup (type: cgroup local, case sensitive: true, case preserving: true)
    * /sys/fs/cgroup/hugetlb -> cgroup (type: cgroup local, case sensitive: true, case preserving: true)
    * /sys/fs/cgroup/perf_event -> cgroup (type: cgroup local, case sensitive: true, case preserving: true)
    * /sys/fs/cgroup/cpu,cpuacct -> cgroup (type: cgroup local, case sensitive: true, case preserving: true)
    * /sys/fs/cgroup/memory -> cgroup (type: cgroup local, case sensitive: true, case preserving: true)
    * /sys/fs/cgroup/blkio -> cgroup (type: cgroup local, case sensitive: true, case preserving: true)
    * /dev/hugepages -> hugetlbfs (type: hugetlbfs local, case sensitive: true, case preserving: true)
    * /dev/mqueue -> mqueue (type: mqueue local, case sensitive: true, case preserving: true)
    * /sys/kernel/debug -> none (type: debugfs local, case sensitive: true, case preserving: true)
    * /run/credentials/systemd-sysctl.service -> ramfs (type: ramfs local, case sensitive: true, case preserving: true)
    * /run/credentials/systemd-vconsole-setup.service -> ramfs (type: ramfs local, case sensitive: true, case preserving: true)
    * /sys/kernel/config -> configfs (type: configfs local, case sensitive: true, case preserving: true)
    * /run/credentials/systemd-tmpfiles-setup-dev.service -> ramfs (type: ramfs local, case sensitive: true, case preserving: true)
    * /tmp -> tmpfs (type: tmpfs local, case sensitive: true, case preserving: true)
    * /boot -> /dev/vda1 (type: ext2 local, case sensitive: true, case preserving: true)
    * /run/credentials/systemd-tmpfiles-setup.service -> ramfs (type: ramfs local, case sensitive: true, case preserving: true)
    * /var/lib/nfs/rpc_pipefs -> sunrpc (type: rpc_pipefs local, case sensitive: true, case preserving: true)
    * /run/user/0 -> tmpfs (type: tmpfs local, case sensitive: true, case preserving: true)


Select test to run: Test input handling

* Using default mode
Enter some text: hello world
Character: h (104)
Character: e (101)
Character: l (108)
Character: l (108)
Character: o (111)
Character:   (32)
Character: w (119)
Character: o (111)
Character: r (114)
Character: l (108)
Character: d (100)
Control key: Enter

* Using raw mode
Enter some text (press 'enter' to finish):
Character: a (97)
Character: b (98)
Control key: Enter


Select test to run: Example prompts

Select an option: Option 1

Enter some text: hello world

Enter a password: [hidden]

A yes/no question: yes

You selected item: Option 1
You entered: [hello world]
You entered: [123456]
You answered: yes


Select test to run: Exit

@ov7a ov7a added the 👋 team-triage Issues that need to be triaged by a specific team label Aug 28, 2025
@bamboo bamboo added this to the 9.3 RC1 milestone Sep 11, 2025
@bamboo bamboo removed the 👋 team-triage Issues that need to be triaged by a specific team label Sep 11, 2025
@bamboo
Copy link
Member

bamboo commented Sep 11, 2025

Thanks, we're considering this improvement for Gradle 9.3 and will get back to you in a few weeks. In the meantime, could you fix the conflicts with the main branch?

@heyujiao99
Copy link
Author

Thanks, we're considering this improvement for Gradle 9.3 and will get back to you in a few weeks. In the meantime, could you fix the conflicts with the main branch?

Fixed. Thank you.

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.

Build fails on Linux "fatal error: sys/sysctl.h: No such file or directory"
3 participants