Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2024 06:06:07 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: ce811fc78d3d - 2024Q4 - devel/ruff: Fix build on i386
Message-ID:  <202411100606.4AA667dp028321@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q4 has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ce811fc78d3d034e4b858df887e4ea37cbb53c75

commit ce811fc78d3d034e4b858df887e4ea37cbb53c75
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-10 06:05:07 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-10 06:05:56 +0000

    devel/ruff: Fix build on i386
    
    Reported by:    fallout
---
 devel/ruff/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devel/ruff/Makefile b/devel/ruff/Makefile
index 539c4c408883..b2c5e56f480d 100644
--- a/devel/ruff/Makefile
+++ b/devel/ruff/Makefile
@@ -17,6 +17,8 @@ USES=		cargo
 USE_GITHUB=	yes
 GH_ACCOUNT=	astral-sh
 
+RUSTFLAGS=	${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/-C target-feature=+sse,+sse2/} # add sse sse2 target-features only on i386
+
 #CARGO_BUILD_ARGS=	--package=file://${WRKSRC}/crates/ruff_cli
 CARGO_INSTALL_PATH=	crates/ruff_cli
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411100606.4AA667dp028321>