Re: pkg/60301: libjpeg-turbo version 3.1.4.1 doesn't build on amiga

"Thomas Klausner via gnats" <[email protected]> Fri, 29 May 2026 21:30:02 +0000 (UTC)
Newsgroups gmane.os.netbsd.devel.pkgsrc.bugs
Message-ID <[email protected]>
The following reply was made to PR pkg/60301; it has been noted by GNATS.

From: Thomas Klausner <[email protected]>
To: NetBSD bugtracking <[email protected]>
Cc: 
Subject: Re: pkg/60301: libjpeg-turbo version 3.1.4.1 doesn't build on amiga
Date: Fri, 29 May 2026 23:24:58 +0200

 On Fri, May 29, 2026 at 11:00:00AM +0100, [email protected] via gnats wrote:
 > 	It tries to build simdcoverage and fails.
 >         This probably not only affects amiga but every cpu type
 > 	that doesn't have simd support
 
 There is a very extensive code in simd/CMakeLists.txt that handles a
 lot of platforms.
 
 I'm not quite sure why amiga/m68k is mishandled; my best guess is
 because the code wants to support AmigaOS 4 (which provides SIMD
 support).
 
 I don't have an Amiga to debug this. If you find it too much effort,
 you can add something like
 
 .if ${MACHINE_ARCH} == m68k
 CMAKE_CONFIGURE_ARGS+=  -DWITH_SIMD=FALSE
 .endif
 
 to disable SIMD detection/support.
  Thomas