phoronix-test-suite / test-profiles

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

`hpcc`: Improve multi-arch installation #279

Open tad4 opened 1 year ago

tad4 commented 1 year ago

Dear @michaellarabel:

While running hpcc-1.2.8 on an Apple M1 Pro, the installation script couldn't find an installed Linear Algebra (LA) library—that's supported by HPCC—to pass to the linker for AArch64 platforms—even though an HPCC supported LA library was available.

This pull request improves multi-arch hpcc test installation by:

  1. Using PTS' OS_ARCH variable during hpcc's install-phase on supported Linux distros—i.e., Debian, Ubuntu, and Red Hat;
  2. Exits the install-phase early if a required toolchain to build hpcc is not found;
  3. Writes a unique error code to install-exit-status; and
  4. Echos a short message to the console to assist when running PTS' debug-install.

Please review and consider adding these improvements to the install script for hpcc. Sincerely, Tad