Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Aug 2023 16:42:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272900] Mk/Uses/cpufeatures.mk - Framework helper for detecting CPU features/instructions
Message-ID:  <bug-272900-7788-Q1c17JMk27@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272900-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272900-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272900

--- Comment #1 from Piotr Kubaj <pkubaj@FreeBSD.org> ---
I added specific powerpc*-related entries to MACHINE_CPU in
https://cgit.freebsd.org/src/tree/share/mk/bsd.cpu.mk#n279. Then it can be =
used
like: https://cgit.freebsd.org/ports/tree/graphics/opencv/Makefile#n219

IMO adding a ports-specific Mk/Uses/cpufeatures.mk is redundant, we already
have MACHINE_CPU which covers this. It's just that ARM and RISCV would need
MACHINE_CPU properly set and then ports can start using it. Obviously it
wouldn't work on 12 and 13.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272900-7788-Q1c17JMk27>