From patchwork Fri Feb 7 18:08:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnout Vandecappelle X-Patchwork-Id: 1235098 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=mind.be Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=mind.be header.i=@mind.be header.a=rsa-sha256 header.s=google header.b=cRJoCCzO; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48DjyJ2WLsz9sPK for ; Sat, 8 Feb 2020 05:10:16 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8195586911; Fri, 7 Feb 2020 18:10:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jtQ7_igBh8ke; Fri, 7 Feb 2020 18:10:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id B171E860C0; Fri, 7 Feb 2020 18:10:11 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A87E01BF38E for ; Fri, 7 Feb 2020 18:09:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A054C810FC for ; Fri, 7 Feb 2020 18:09:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SyKTUyjhCfHZ for ; Fri, 7 Feb 2020 18:09:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by whitealder.osuosl.org (Postfix) with ESMTPS id E5A0886E1D for ; Fri, 7 Feb 2020 18:09:06 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id c9so3745616wrw.8 for ; Fri, 07 Feb 2020 10:09:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mind.be; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XHFkzji9Vgy5NvtCSbiFWiyQURt7VIhDEKZiorviKr4=; b=cRJoCCzOn8bI7TWK3oe04U94Oq+rhQ/FkZnd9GMYbKwBtKT/3euJ//5AsJOiyqGlXO A8RXHVdMgXRuI+CTMG4rvU7hZ9A/r4aXsCJMet+9qcHi/bM87zY85VEtks1UhZxiVb0f 3Vmid/TBKA8yuAP24O+LePVtuxdHCqw/LIPtUe0WcjYHkX6OQcd2T1hYmh94iWfgLkNZ +NlySH36fdUGU/bqzaostX1ohPP4XER34ENqFMo/c4/onhRN65b+/6aZNnqe2x0TpZT8 LAFonA1V0G+wnB4ooWuVTrZSDvMjmWancPhVkWG128cqbovDmMNRw2CG8HVZWLh1Mbtd Adcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XHFkzji9Vgy5NvtCSbiFWiyQURt7VIhDEKZiorviKr4=; b=e46FNUDFOZSDuC+UmzwzSq6HWJJw9RVt6vBARZ5R86zKqYQEIcuF08TjyV0Z0ugT9d P6YLw6MSlHiUN9C4QbIG+TdBqRXBDbBFqwTCCIhOMmm35IWnpUa7LoJi7e5DkCpHeGPP IuVP9g46ZpVeJhGpt+jSSufLpGHCfs9W11vyGJuj/owTRMnrjDj6k14QhJt36UoXktUv vs+6iR5BdwZj3mVB5HzHjQjSUZ+8U7/2QgX892aswWs106+7/WoyUaDGov8AquscHLum gQ69j3BJmYpbUnwBZccG3AODdS98VzRydeEtfvR+SIdmjzTQ18sSIQ32/QxDfcFwSFX7 GAjw== X-Gm-Message-State: APjAAAUrUOY54SUepL1K5DYWMw9tq8LJEx5s680W9xAlHBPVUnDq2Cvw DvnwNifTwA6Qz8wW1Mo03F+MbEZeUoM= X-Google-Smtp-Source: APXvYqzgk4Sd3ZWGCTFpNYfxeqLAHBKC0JftlBGVnt/wO/rnKQOMTtmC3FeUL9oDyT5pQ/SokOFEFA== X-Received: by 2002:a05:6000:12c7:: with SMTP id l7mr257498wrx.136.1581098944949; Fri, 07 Feb 2020 10:09:04 -0800 (PST) Received: from localhost.localdomain (ip-188-118-3-185.reverse.destiny.be. [188.118.3.185]) by smtp.gmail.com with ESMTPSA id t9sm4162594wmj.28.2020.02.07.10.09.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Feb 2020 10:09:04 -0800 (PST) From: "Arnout Vandecappelle (Essensium/Mind)" To: buildroot@buildroot.org Date: Fri, 7 Feb 2020 19:08:25 +0100 Message-Id: <20200207180829.165689-7-arnout@mind.be> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200207180829.165689-1-arnout@mind.be> References: <20200207180829.165689-1-arnout@mind.be> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 06/10] package/ripgrep: depends on host-rustc X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eric Le Bihan , Patrick Havelange Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Eric Le Bihan As all providers of rustc also install cargo, there is no need to depend on the standalone cargo package anymore. Instead add host-rustc to the dependency list. Signed-off-by: Eric Le Bihan Signed-off-by: Patrick Havelange Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Reviewed-by: David Pierret Tested-by: David Pierret --- package/ripgrep/Config.in | 2 +- package/ripgrep/ripgrep.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ripgrep/Config.in b/package/ripgrep/Config.in index 5446ad046c..0ea2902b34 100644 --- a/package/ripgrep/Config.in +++ b/package/ripgrep/Config.in @@ -1,7 +1,7 @@ config BR2_PACKAGE_RIPGREP bool "ripgrep" depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS - select BR2_PACKAGE_HOST_CARGO + select BR2_PACKAGE_HOST_RUSTC help ripgrep is a line-oriented search tool that recursively searches your current directory diff --git a/package/ripgrep/ripgrep.mk b/package/ripgrep/ripgrep.mk index 0bb7017a96..832c076f26 100644 --- a/package/ripgrep/ripgrep.mk +++ b/package/ripgrep/ripgrep.mk @@ -9,7 +9,7 @@ RIPGREP_SITE = $(call github,burntsushi,ripgrep,$(RIPGREP_VERSION)) RIPGREP_LICENSE = MIT RIPGREP_LICENSE_FILES = LICENSE-MIT -RIPGREP_DEPENDENCIES = host-cargo +RIPGREP_DEPENDENCIES = host-rustc RIPGREP_CARGO_ENV = CARGO_HOME=$(HOST_DIR)/share/cargo RIPGREP_CARGO_MODE = $(if $(BR2_ENABLE_DEBUG),debug,release)