From nobody Thu May 30 19:02:57 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vqwcd2VH5z5LDM1; Thu, 30 May 2024 19:02:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vqwcd20X1z4GJD; Thu, 30 May 2024 19:02:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717095777; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qUzyxeuEQoBzwjZzykfNyzy5tYZGjpAsVyQTC6RCHK0=; b=vxS+bZIgpfHM7HUqNXsQAzrOBYnCy0g1y/9RfEbsDy/fBbioFwTWCEbFbQ3BLCvpD24oWK S04E6VodYEfYVoYlyGfC+pd3bacUcCEaKDZ62tIySFCPfX5JGWu5pqiV8YC7jGScHeveBE bOIpwpcFto+SxyL2DyA6feXlikgxSPZPB+Bw5woon6e30V5RzS9H1oC4dplbAdnzE0Gc80 imt67+1055/2RmjFUHwWFplViVjg59jpHZG6FneYETIraeFijLBmfLdv6/2034caEzR3mS YL8lKnF3XFO28Z8cSVavZuXGIWPNczsuguhPRC563W9om00iI81mZLry22KKhg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717095777; a=rsa-sha256; cv=none; b=x3lr0iQhh07qDT8c3NfE6d+/Ud1s+iNXuxLlWWPpMYNxE14Nj+U4emGL7RXSvAPaf/qoXQ kfOr3HCKEdlRQfvnp5ZhKiy1YM6ki9+D6SB8cazQjKKTSYYtkLEXwy2h1Ugn9QtHMkxyaC ATlZKvEOeC97ZzbgqHXth+wJ4yWb1stJPQY8VT3AVeaSbJ0V18sasFndv9g/yxM3V04DF2 ZYzeuv70VbEN+YI44kAdMw6xeQtGv2qEMS7RsMnW5b9+7z1b1VZ+c3C8Z5lACWJTIVJg6V 1sETpTQGmJRFZAbSX0RrkPhCjZ9/eggiZgLKL1FF2nEdkZEuaG09Z/3YWPzR5A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717095777; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qUzyxeuEQoBzwjZzykfNyzy5tYZGjpAsVyQTC6RCHK0=; b=Z+iOVh4eqAyknfxeRc9O4TAOj4AmwbwAemaXmdVrqUB0VQCTB3YQYpJE5nEqaUBy+3rhvY 5+SgsKClrATRy7gIW+YBaZUTsGHguvtH5VoPmHSw0ekL3sEudtCaM53yTUWEZr4aQCGFa1 foqKuhFqhQdy4vaRPmofYqrh2y5qwj07XbrZ36E5SHArWvMQ59RyjDLAo6LPKT8UmiOb4g vrf3j/5yEDyiu4yqcthvsues0Abfp9g5PDdsClKWwAxGRYrSQzCVp9TsonU7HbZXgmPPJ7 sM0W97yHcm8w10VvM4oxupG0b3II7w2JH76zQVqoasP8Yby9HPw1GqtOfsnhYg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Vqwcd1bndzsQl; Thu, 30 May 2024 19:02:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44UJ2vFw088306; Thu, 30 May 2024 19:02:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44UJ2vau088303; Thu, 30 May 2024 19:02:57 GMT (envelope-from git) Date: Thu, 30 May 2024 19:02:57 GMT Message-Id: <202405301902.44UJ2vau088303@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: cf58ecc3a65a - main - graphics/opencolorio: fix build on i386 with CPUTYPE older than pentium4 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cf58ecc3a65aaf905c0b07af1544ddb19b5af10b Auto-Submitted: auto-generated The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=cf58ecc3a65aaf905c0b07af1544ddb19b5af10b commit cf58ecc3a65aaf905c0b07af1544ddb19b5af10b Author: Vladimir Druzenko AuthorDate: 2024-05-30 18:21:00 +0000 Commit: Vladimir Druzenko CommitDate: 2024-05-30 19:02:17 +0000 graphics/opencolorio: fix build on i386 with CPUTYPE older than pentium4 Fixing build errors such as: /wrkdirs/usr/ports/graphics/opencolorio/work/OpenColorIO-2.3.2/src/OpenColorIO/ops/cdl/CDLOpCPU.cpp:339:18: error: always_inline function '_mm_loadu_ps' requires target feature 'sse', but would be inlined into function 'LoadRenderParams' that is compiled without support for 'sse' slope = _mm_loadu_ps(renderParams.getSlope()); But it build fine with CPUTYPE=pentium4 or newer. Default on i386 is CPUTYPE=i486. Upstream reworked SIMD detection and usage in commit: https://github.com/AcademySoftwareFoundation/OpenColorIO/commit/caa20dd1962f0d659a9214ac28815a1b904d4118#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a PR: 275402 Reported by: diizzy (via email) Approved by: portmgr (blanket, fix build) Fixes: 3e51c20bc069 (graphics/{,py-}opencolorio{,-tools}: Udpate to 2.3.2) --- graphics/opencolorio/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics/opencolorio/Makefile b/graphics/opencolorio/Makefile index e482865f5340..0ea8845f343d 100644 --- a/graphics/opencolorio/Makefile +++ b/graphics/opencolorio/Makefile @@ -44,9 +44,9 @@ PLIST_SUB= SHL3=${PORTVERSION} SHL2=${PORTVERSION:R} .include .if (defined(MACHINE_CPU) && ${MACHINE_CPU:Msse2}) -CMAKE_ON+= OCIO_USE_SSE +CMAKE_ON+= OCIO_USE_SSE2 .else -CMAKE_OFF+= OCIO_USE_SSE +CMAKE_OFF+= OCIO_USE_SSE2 .endif .if ${PORT_OPTIONS:MDOCS}