[Bug 228011] math/openblas: switch to flang

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 31 Mar 2023 14:19:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228011

void@f-m.fm changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |void@f-m.fm

--- Comment #13 from void@f-m.fm ---
Does openblas now require FLANG as openblas fails to build in poudriere on a
system with the FLANG option disabled for LLVM. (arm64)

openblas options:

00:00:01] ---Begin OPTIONS List---
[00:00:01] ===> The following configuration options are available for
openblas-0.3.20,1:
[00:00:01]      AVX=on: Support Advanced Vector Extensions (AVX)
[00:00:01]      AVX2=on: Support Advanced Vector Extensions 2 (AVX2)
[00:00:01]      DYNAMIC_ARCH=off: Optimize for multiple CPU types, otherwise
for this CPU
[00:00:01]      INTERFACE64=on: Use 8 byte integers on 64-bit architectures
[00:00:01]      OPENMP=on: Use OpenMP for threading
[00:00:01] ===> Use 'make config' to modify these settings

build failure:

[00:00:11] =======================<phase: build         
>============================
[00:00:11] ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
[00:00:11] ===>  Building for openblas-0.3.20,1
[00:00:11] gmake[1]: Entering directory
'/wrkdirs/usr/ports/math/openblas/work/OpenBLAS-0.3.20'
[00:00:11] getarch.c:1553:2: error: "The TARGET specified on the command line
or in Makefile.rule is not supported. Please choose a target from
TargetList.txt"
[00:00:11] #error "The TARGET specified on the command line or in Makefile.rule
is not supported. Please choose a target from TargetList.txt"
[00:00:11]  ^
[00:00:11] 1 error generated.
[00:00:11] gmake[1]: *** [Makefile.prebuild:74: getarch] Error 1
[00:00:11] Makefile.system:283: Makefile.conf: No such file or directory
[00:00:11] gmake[1]: *** No rule to make target 'Makefile.conf'.  Stop.
[00:00:11] gmake[1]: Leaving directory
'/wrkdirs/usr/ports/math/openblas/work/OpenBLAS-0.3.20'
[00:00:11] ===> Compilation failed unexpectedly.
[00:00:11] Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
failure to
[00:00:11] the maintainer.
[00:00:11] *** Error code 1
[00:00:11] 
[00:00:11] Stop.
[00:00:11] make: stopped in /usr/ports/math/openblas
[00:00:11] =>> Cleaning up wrkdir
[00:00:11] ===>  Cleaning for openblas-0.3.20,1
[00:00:11] build of math/openblas | openblas-0.3.20,1 ended at Fri Mar 31
04:17:59 BST 2023
[00:00:11] build time: 00:00:11

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