Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2024 22:03:37 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d27fdfcb7d62 - main - devel/ruff: Fix build on i386
Message-ID:  <202410272203.49RM3b1I047884@gitrepo.freebsd.org>

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

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

commit d27fdfcb7d62c5badcb0dae39d87dd98a669f7f7
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-27 22:03:09 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-27 22:03:09 +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 e89b70947b3d..eac680c359ed 100644
--- a/devel/ruff/Makefile
+++ b/devel/ruff/Makefile
@@ -19,6 +19,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?202410272203.49RM3b1I047884>