[Bug 267158] [NEW PORT] devel/arm-compute-library

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Feb 2023 18:13:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267158

Robert Clausecker <fuz@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open

--- Comment #4 from Robert Clausecker <fuz@FreeBSD.org> ---
GH_PROJECT could be left out if equal to PORTNAME.

for the architecture stuff, try

SCONS_ARGS_amd64    neon=0 opencl=1 examples=1 arch=x86_64
SCONS_ARGS_aarch64=    neon=1 opencl=0 examples=0 arch=arm64-v8a
SCONS_ARGS_armv7=    neon=1 opencl=0 examples=0 arch=armv7a
SCONS_ARGS+= os=freebsd Werror=0 embed_kernels=0 build=native
${SCONS_ARGS_${ARCH}}

This works even without including bsd.port.pre.mk.
Could you provide an ONLY_FOR_ARCHS_REASON?
Could the list of supported architectures be extended?
Isn't Arm usually spelled ARM (in COMMENT)?

Your patch to SConscript looks like the compiler name is not taken from the CC
and CXX variables.  Please check and perhaps adjust the port so it respects the
CC and CXX variables.  You can check this by e.g. installing llvm15 and then
doing

    make CC=clang15 CXX=clang++15

to check if the build system actually picks these up.  Apart from using a
custom compiler, this is also used by Poudriere to cross-build with
native-xtools.

Will proceed with build test shortly.

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