phoronix-test-suite / test-profiles

A read-only Git copy of the OpenBenchmarking.org test profiles.
Other
68 stars 80 forks source link

encode-mp3 test not working on RISC-V architecture #306

Open geerlingguy opened 5 months ago

geerlingguy commented 5 months ago

I'm attempting to run some PTS suites on a RISC-V Lichee Console 4A (see https://github.com/geerlingguy/sbc-reviews/issues/39), using this script — the install runs into:

Phoronix Test Suite v10.8.4

    Installed:     pts/timed-audio-encode-1.0.1
    To Install:    pts/encode-mp3-1.7.4

    Determining File Requirements ..................................................................................
    Searching Download Caches ......................................................................................

    1 Test To Install
        5MB Of Disk Space Is Needed
        5 Seconds Estimated Install Time

    pts/encode-mp3-1.7.4:
        Test Installation 1 of 1
        1 File Needed [1.45 MB / 1 Minute]
        File Found: lame-3.100.tar.gz                                                                       [1.45MB]
        Approximate Install Size: 5 MB
        Estimated Install Time: 5 Seconds
        Installing Test @ 02:15:47
            The installer exited with a non-zero exit status.
            ERROR: cannot guess build type; you must specify one
            LOG: /var/lib/phoronix-test-suite/installed-tests/pts/encode-mp3-1.7.4/install-failed.log

The ERROR: cannot guess build type; you must specify one is likely because this system is on riscv64, but I was wondering where I could add any configuration to specify the build architecture for a test like encode-mp3? I haven't had to customize it in the past even on arm64, but there are far fewer folks out there running on RISC-V so far...

geerlingguy commented 5 months ago

It looks like pts/x264 also fails:

Phoronix Test Suite v10.8.4

    To Install:    pts/x264-2.7.0

    Determining File Requirements ..................................................................................
    Searching Download Caches ......................................................................................

    1 Test To Install
        2600MB Of Disk Space Is Needed
        18 Minutes, 42 Seconds Estimated Install Time

    pts/x264-2.7.0:
        Test Installation 1 of 1
        3 Files Needed [3321 MB / 7 Minutes]
        File Found: x264-git-20220222.tar.bz2                                                               [0.74MB]
        File Found: Bosphorus_1920x1080_120fps_420_8bit_YUV_Y4M.7z                                           [646MB]
        File Found: Bosphorus_3840x2160_120fps_420_8bit_YUV_Y4M.7z                                          [2675MB]
        Approximate Install Size: 2600 MB
        Estimated Install Time: 18 Minutes, 42 Seconds
        Installing Test @ 02:16:03
            The installer exited with a non-zero exit status.
            ERROR: Makefile:3: config.mak: No such file or directory
            LOG: /var/lib/phoronix-test-suite/installed-tests/pts/x264-2.7.0/install-failed.log