svn commit: r486650 - head/textproc/ripgrep

Jan Beich jbeich at FreeBSD.org
Wed Dec 5 05:18:52 UTC 2018


Author: jbeich
Date: Wed Dec  5 05:18:51 2018
New Revision: 486650
URL: https://svnweb.freebsd.org/changeset/ports/486650

Log:
  textproc/ripgrep: unbreak AVX=on on i386 after r454995
  
  error[E0432]: unresolved import `simd::x86::avx`
    --> cargo-crates/bytecount-0.3.2/src/lib.rs:49:16
     |
  49 | use simd::x86::avx::{LowHigh128, u8x32};
     |                ^^^ could not find `avx` in `x86`
  
  https://github.com/rust-lang/rust/issues/56527

Modified:
  head/textproc/ripgrep/Makefile   (contents, props changed)

Modified: head/textproc/ripgrep/Makefile
==============================================================================
--- head/textproc/ripgrep/Makefile	Wed Dec  5 04:45:06 2018	(r486649)
+++ head/textproc/ripgrep/Makefile	Wed Dec  5 05:18:51 2018	(r486650)
@@ -133,7 +133,7 @@ PCRE2_VARS=	CARGO_FEATURES+=pcre2
 # unstable features similar to how lang/rust bootstraps. www/firefox
 # uses the same hack when building with --enable-rust-simd.
 SIMD_MAKE_ENV=	RUSTC_BOOTSTRAP=1
-SIMD_VARS=	CARGO_FEATURES+=simd-accel ${SIMD_VARS_${ARCH}}
+SIMD_VARS=	CARGO_FEATURES+=simd-accel ${SIMD_VARS_${ARCH}${PORT_OPTIONS:MAVX}}
 SIMD_VARS_i386=	RUSTFLAGS+="-C target-feature=+sse2"
 
 post-patch:


More information about the svn-ports-all mailing list