[Bug 263575] math/openblas: 0.3.20 CPU detected failed

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 26 Apr 2022 07:38:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263575

            Bug ID: 263575
           Summary: math/openblas: 0.3.20 CPU detected failed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: boris.tassou@securmail.fr
                CC: phd_kimberlite@yahoo.co.jp
                CC: phd_kimberlite@yahoo.co.jp
             Flags: maintainer-feedback?(phd_kimberlite@yahoo.co.jp)

Hi,

With FreeBSD 13.0-RELEASE-p11 and poudriere 3.3.7.

I have some packages with dependancies OpenBlas but when poudriere try to
compile it i have this 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'


I tried to add to make.conf (like it's said in log file):
MAKE_JOBS_UNSAFE = yes

But same error.

The cpu view by FreeBSD :
sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu'
hw.machine: amd64
hw.model: Common KVM processor
hw.ncpu: 6
hw.machine_arch: amd64

The host have two L5640 so i tried to add :
TARGET = WESTMERE

Same error, so i tried :
TARGET = -

Same error.

I tried to add DYNAMIC_ARCH option, but same error.

The options file:
# This file is auto-generated by 'make config'.
# Options for openblas-0.3.20,1
_OPTIONS_READ=openblas-0.3.20,1
_FILE_COMPLETE_OPTIONS_LIST=AVX AVX2 DYNAMIC_ARCH INTERFACE64 OPENMP
OPTIONS_FILE_UNSET+=AVX
OPTIONS_FILE_UNSET+=AVX2
OPTIONS_FILE_SET+=DYNAMIC_ARCH
OPTIONS_FILE_UNSET+=INTERFACE64
OPTIONS_FILE_SET+=OPENMP

I don't know what to try at this point.

Thanks for the help.

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