Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2018 05:19:29 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r486651 - branches/2018Q4/textproc/ripgrep
Message-ID:  <201812050519.wB55JTrF017790@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Dec  5 05:19:29 2018
New Revision: 486651
URL: https://svnweb.freebsd.org/changeset/ports/486651

Log:
  MFH: r486650
  
  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
  
  Approved by:	ports-secteam blanket

Modified:
  branches/2018Q4/textproc/ripgrep/Makefile
Directory Properties:
  branches/2018Q4/   (props changed)

Modified: branches/2018Q4/textproc/ripgrep/Makefile
==============================================================================
--- branches/2018Q4/textproc/ripgrep/Makefile	Wed Dec  5 05:18:51 2018	(r486650)
+++ branches/2018Q4/textproc/ripgrep/Makefile	Wed Dec  5 05:19:29 2018	(r486651)
@@ -96,7 +96,7 @@ AVX_IMPLIES=	SIMD
 # 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?201812050519.wB55JTrF017790>