[Bug 276758] math/openblas: Fails to build with non-default port options

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 01 Feb 2024 02:10:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276758

            Bug ID: 276758
           Summary: math/openblas: Fails to build with non-default port
                    options
           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: ard_1@mail.ru
                CC: phd_kimberlite@yahoo.co.jp
                CC: phd_kimberlite@yahoo.co.jp
             Flags: maintainer-feedback?(phd_kimberlite@yahoo.co.jp)

OpenBlas fails to build with the port options set to:
     AVX=on: Support Advanced Vector Extensions (AVX)
     AVX2=off: Support Advanced Vector Extensions 2 (AVX2)
     DYNAMIC_ARCH=on: Optimize for multiple CPU types, otherwise for this CPU
     INTERFACE64=off: Use 8 byte integers on 64-bit architectures
     OPENMP=off: Use OpenMP for threading

The compilation error is:
dynamic.c:734:15: error: use of undeclared identifier 'gotoblas_SAPPHIRERAPIDS'
             return &gotoblas_SAPPHIRERAPIDS;
                     ^
dynamic.c:1054:20: error: use of undeclared identifier
'gotoblas_SAPPHIRERAPIDS'
  if (gotoblas == &gotoblas_SAPPHIRERAPIDS) return corename[26];
                   ^
2 errors generated.

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