pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/60301: libjpeg-turbo version 3.1.4.1 doesn't build on amiga
The following reply was made to PR pkg/60301; it has been noted by GNATS.
From: Thomas Klausner <wiz%netbsd.org@localhost>
To: NetBSD bugtracking <gnats-bugs%netbsd.org@localhost>
Cc:
Subject: Re: pkg/60301: libjpeg-turbo version 3.1.4.1 doesn't build on amiga
Date: Sat, 30 May 2026 23:46:42 +0200
On Sat, May 30, 2026 at 07:35:02PM +0100, S.P.Zeidler via gnats wrote:
> simdcoverage seems to be new in 3.1.4(.1) and seems to be not sufficiently
> exempt from building on non-simd CPU architectures.
I think the relevant diff from 3.1.3 to 3.1.4.1 that breaks in your case (and some others) is
diff -ru libjpeg-turbo-3.1.3/simd/CMakeLists.txt libjpeg-turbo-3.1.4.1/simd/CMakeLists.txt
--- libjpeg-turbo-3.1.3/simd/CMakeLists.txt 2025-12-10 16:09:10.000000000 +0100
+++ libjpeg-turbo-3.1.4.1/simd/CMakeLists.txt 2026-03-27 19:13:00.000000000 +0100
@@ -539,3 +567,8 @@
simd_fail("SIMD extensions not available for this CPU (${CMAKE_SYSTEM_PROCESSOR})")
endif() # CPU_TYPE
+
+if(WITH_SIMD AND ENABLE_STATIC)
+ add_executable(simdcoverage simdcoverage.c)
+ target_link_libraries(simdcoverage jpeg-static)
+endif()
i.e. that simdcoverage is built even if the extensive checks decided
that a platform does not have SIMD support.
Thomas
Home |
Main Index |
Thread Index |
Old Index