Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2018 05:18:51 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486650 - head/textproc/ripgrep
Message-ID:  <201812050518.wB55IpKL017638@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



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