[Bug 273139] math/openblas: 0.3.20_1 CPU detected failed for Atom CPU

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 15 Aug 2023 01:06:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273139

            Bug ID: 273139
           Summary: math/openblas: 0.3.20_1 CPU detected failed for Atom
                    CPU
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd@yourp.ca
                CC: phd_kimberlite@yahoo.co.jp
                CC: phd_kimberlite@yahoo.co.jp
             Flags: maintainer-feedback?(phd_kimberlite@yahoo.co.jp)

Hello everyone,

Environment: FreeBSD 13.2-RELEASE-p2 and poudriere 3.3.7, running on an Atom
cpu. This install isn't virtualized.

sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu'


hw.machine: amd64
hw.model: Intel(R) Atom(TM) CPU C3758 @ 2.20GHz
hw.ncpu: 8
hw.machine_arch: amd64


When I attempt to compile openblas in poudriere I am getting the following
error:


Makefile:160: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly,
e.g. make TARGET=your_cpu_target. Please read README for the detail..  Stop.
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/math/openblas/work/OpenBLAS-0.3.20'
*** Error code 1

Stop.
make: stopped in /usr/ports/math/openblas
=>> Cleaning up wrkdir
===>  Cleaning for openblas-0.3.20_1,1
build of math/openblas | openblas-0.3.20_1,1 ended at Mon Aug 14 15:30:37 EDT
2023
build time: 00:00:28
!!! build failure encountered !!!

I followed the solution outlined in the Bug 263575, but it does not seem to fix
the compilation issues. Here's my make.conf file:

WITH_PKGNG=yes
FTP_TIMEOUT=1
DEFAULT_VERSIONS=pgsql=15
DEFAULT_VERSIONS=python=3.11 python3=3.11
WITHOUT_X11=yes
OPTIONS_UNSET+= DOCS X11 EXAMPLES DEBUG HELP
ALLOW_UNSUPPORTED_SYSTEM=yes
.if ${.CURDIR:M*/math/openblas*}
WITH_TARGET_CPU_ARCH=ATOM BINARY=64
.endif


I found Atom in the list of supported CPU types. Please advise what else I
could try to resolve the issue.

Thank you

-- 
You are receiving this mail because:
You are the assignee for the bug.