FreeBSD Bugzilla – Attachment 187574 Details for
Bug 223314
textproc/ripgrep: expose SIMD options
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v1
ripgrep.simd.diff (text/plain), 1.19 KB, created by
Jan Beich
on 2017-10-29 22:40:07 UTC
(
hide
)
Description:
v1
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2017-10-29 22:40:07 UTC
Size:
1.19 KB
patch
obsolete
>From e50e03622919451968b0e7a6fe165c5e83bdb638 Mon Sep 17 00:00:00 2001 >From: Jan Beich <jbeich@FreeBSD.org> >Date: Sun, 29 Oct 2017 21:14:42 +0000 >Subject: [PATCH] textproc/ripgrep: expose SIMD options > >PR: 223312 >Approved by: Petteri Valkonen (maintainer) !!! NOT YET !!! >--- > textproc/ripgrep/Makefile | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > >diff --git a/textproc/ripgrep/Makefile b/textproc/ripgrep/Makefile >index 842fd3d0bf1c..2800c0bdd9cd 100644 >--- a/textproc/ripgrep/Makefile >+++ b/textproc/ripgrep/Makefile >@@ -5,6 +5,7 @@ > > PORTNAME= ripgrep > PORTVERSION= 0.7.1 >+PORTREVISION= 1 > CATEGORIES= textproc > > MAINTAINER= petteri.valkonen@iki.fi >@@ -73,6 +74,19 @@ CARGO_CRATES= aho-corasick-0.6.3 \ > RIPGREP_OUTDIR= ${WRKDIR}/cargo-out > CARGO_ENV= RIPGREP_OUTDIR=${RIPGREP_OUTDIR} > >+OPTIONS_DEFINE= SIMD >+OPTIONS_DEFAULT=SIMD >+ >+OPTIONS_DEFINE_amd64= AVX >+OPTIONS_DEFINE_i386= AVX >+ >+AVX_DESC= ${SSE_DESC:S/SSE/AVX/} >+AVX_VARS= CARGO_FEATURES+=avx-accel RUSTFLAGS+="-C target-feature=+avx" >+AVX_IMPLIES= SIMD >+ >+SIMD_MAKE_ENV= RUSTC_BOOTSTRAP=1 # cheat Nightly requirement >+SIMD_VARS= CARGO_FEATURES+=simd-accel >+ > post-patch: > @${REINPLACE_CMD} -e 's|OUT_DIR|RIPGREP_OUTDIR|' ${WRKSRC}/build.rs >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 223314
:
187574
|
187662