From patchwork Sun Jun 16 13:23:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 10997391 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B44EA13AF for ; Sun, 16 Jun 2019 13:25:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4CF228508 for ; Sun, 16 Jun 2019 13:25:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 991C12870D; Sun, 16 Jun 2019 13:25:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3292F28560 for ; Sun, 16 Jun 2019 13:25:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AEC9C8917E; Sun, 16 Jun 2019 13:25:55 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 08D718917E for ; Sun, 16 Jun 2019 13:25:53 +0000 (UTC) Received: by mail-wm1-x32b.google.com with SMTP id s3so6599042wms.2 for ; Sun, 16 Jun 2019 06:25:52 -0700 (PDT) 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=Mxwb4eUyBDeboFSc/4fMPg4bn7/zqVphZylcZ1JnRxs=; b=fNwb0MOVPPqlOy3q1lLwN+JiGy5myRVs1tB17t6OBTLMmT4QsrPHCPLUOugskJW5eT 4/7l0/YI9ueiMV5lOf5N8yRE1UZMIziKr8Q19d0+/hdSN+uJG3oToeodU5aU3invDqNX bwU3BBb4+NP+ObK5mhAeL/HCOq0uzKCEFwMJ8lkKGDQUYUtVzd09eeHgaKWSnU0s/bk4 TR75D1Yq/QXRkhciB8C7Q16Gt8hp9IFxeyCEfw4ZqeW/Q3AI1yLyzZCZuyNBvF2kkJ8s gZCGjNE6qYPVgFJKERREzidArLNyVGEHtWqJUh8x0hzLLXpfteCx14RSLe/hcazmFSox bpvg== X-Gm-Message-State: APjAAAUctOSn8Z4uWWjJ9Mw4mrkLaz5AA936mWUyF13VlWDsUnrQl+AT blJqpl+ouMDP3K1npuzdmAVZdTXp X-Google-Smtp-Source: APXvYqzUcSzYXRvCzmpU2UzoBAHRUg0dVFVkzSNLm17B55Td2XStxgIseWI8MR99ouj9wEIpYVuPzA== X-Received: by 2002:a1c:eb0a:: with SMTP id j10mr16296402wmh.1.1560691551440; Sun, 16 Jun 2019 06:25:51 -0700 (PDT) Received: from localhost.localdomain (cpc91192-cmbg18-2-0-cust374.5-4.cable.virginm.net. [80.6.113.119]) by smtp.gmail.com with ESMTPSA id g2sm9332424wmh.0.2019.06.16.06.25.50 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 16 Jun 2019 06:25:50 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm v2 3/4] meson: normal shell will do Date: Sun, 16 Jun 2019 14:23:42 +0100 Message-Id: <20190616132343.26370-3-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190616132343.26370-1-emil.l.velikov@gmail.com> References: <20190616132343.26370-1-emil.l.velikov@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Mxwb4eUyBDeboFSc/4fMPg4bn7/zqVphZylcZ1JnRxs=; b=Nzj/aLuqvv3GEwZImNiKLeeWImHTRyPVoHC9AXYABCMF1zY0l2G2p1l0oM9SS7OB2l A1//joKuYlvCbwZ5yTjO/KS+s3YG+ySmgXiCsL0Q+qkeShUVtQdEvfKVjgfVUy7wfb0K CeycLPW2gYzuY4YyYcEfr576OVvL1iqIuvzl8IvWBWDU5HMJ4Fcfn8XDi9dRmh+tAL+e L4PKPZOL6F920HYzrPNcB7bP8eoL17uqM5NUghX9oNqNNWk1GQddg7v7+0yiuNIXjqej C+YcuULG64Qzlc2iR+mH7nu1fbFrqfAVAYE7bySBlxNh0fJ8NQz4vllPzcw2ls6MO2Xm v0ag== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Niclas Zeising , Emil Velikov Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP As tweaked with previous patch - bash is not required. Any shell will do Signed-off-by: Emil Velikov Reviewed-by: Niclas Zeising --- amdgpu/meson.build | 2 +- etnaviv/meson.build | 2 +- exynos/meson.build | 2 +- freedreno/meson.build | 2 +- intel/meson.build | 14 +++++++------- libkms/meson.build | 2 +- meson.build | 2 +- nouveau/meson.build | 2 +- omap/meson.build | 2 +- radeon/meson.build | 2 +- tegra/meson.build | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/amdgpu/meson.build b/amdgpu/meson.build index 7c8ccc7e..18e30166 100644 --- a/amdgpu/meson.build +++ b/amdgpu/meson.build @@ -59,7 +59,7 @@ ext_libdrm_amdgpu = declare_dependency( test( 'amdgpu-symbol-check', - prog_bash, + prog_sh, env : env_test, args : [files('amdgpu-symbol-check'), libdrm_amdgpu] ) diff --git a/etnaviv/meson.build b/etnaviv/meson.build index 515a4ed0..82fbc208 100644 --- a/etnaviv/meson.build +++ b/etnaviv/meson.build @@ -54,6 +54,6 @@ ext_libdrm_etnaviv = declare_dependency( test( 'etnaviv-symbol-check', - prog_bash, + prog_sh, args : [files('etnaviv-symbol-check'), libdrm_etnaviv] ) diff --git a/exynos/meson.build b/exynos/meson.build index bdfc3fc6..1de75220 100644 --- a/exynos/meson.build +++ b/exynos/meson.build @@ -48,7 +48,7 @@ pkg.generate( test( 'exynos-symbol-check', - prog_bash, + prog_sh, env : env_test, args : [files('exynos-symbol-check'), libdrm_exynos] ) diff --git a/freedreno/meson.build b/freedreno/meson.build index c9aba060..277d5ec5 100644 --- a/freedreno/meson.build +++ b/freedreno/meson.build @@ -71,7 +71,7 @@ pkg.generate( test( 'freedreno-symbol-check', - prog_bash, + prog_sh, env : env_test, args : [files('freedreno-symbol-check'), libdrm_freedreno] ) diff --git a/intel/meson.build b/intel/meson.build index 3d6bbac6..6f149c74 100644 --- a/intel/meson.build +++ b/intel/meson.build @@ -64,43 +64,43 @@ test_decode = executable( test( 'gen4-3d.batch', - prog_bash, + prog_sh, args : files('tests/gen4-3d.batch.sh'), workdir : meson.current_build_dir(), ) test( 'gen45-3d.batch', - prog_bash, + prog_sh, args : files('tests/gm45-3d.batch.sh'), workdir : meson.current_build_dir(), ) test( 'gen5-3d.batch', - prog_bash, + prog_sh, args : files('tests/gen5-3d.batch.sh'), workdir : meson.current_build_dir(), ) test( 'gen6-3d.batch', - prog_bash, + prog_sh, args : files('tests/gen6-3d.batch.sh'), workdir : meson.current_build_dir(), ) test( 'gen7-3d.batch', - prog_bash, + prog_sh, args : files('tests/gen7-3d.batch.sh'), workdir : meson.current_build_dir(), ) test( 'gen7-2d-copy.batch', - prog_bash, + prog_sh, args : files('tests/gen7-2d-copy.batch.sh'), workdir : meson.current_build_dir(), ) test( 'intel-symbol-check', - prog_bash, + prog_sh, env : env_test, args : [files('intel-symbol-check'), libdrm_intel] ) diff --git a/libkms/meson.build b/libkms/meson.build index dc931608..7b8d34ad 100644 --- a/libkms/meson.build +++ b/libkms/meson.build @@ -69,7 +69,7 @@ pkg.generate( test( 'kms-symbol-check', - prog_bash, + prog_sh, env : env_test, args : [files('kms-symbol-check'), libkms] ) diff --git a/meson.build b/meson.build index 64f0d5b1..ed407009 100644 --- a/meson.build +++ b/meson.build @@ -249,7 +249,7 @@ endif with_man_pages = with_man_pages != 'false' and prog_xslt.found() and prog_sed.found() # Used for tests -prog_bash = find_program('bash') +prog_sh = find_program('sh') config.set10('HAVE_VISIBILITY', cc.compiles('''int foo_hidden(void) __attribute__((visibility(("hidden"))));''', diff --git a/nouveau/meson.build b/nouveau/meson.build index 0c1498d7..eda0fd3d 100644 --- a/nouveau/meson.build +++ b/nouveau/meson.build @@ -53,7 +53,7 @@ pkg.generate( test( 'nouveau-symbol-check', - prog_bash, + prog_sh, env : env_test, args : [files('nouveau-symbol-check'), libdrm_nouveau] ) diff --git a/omap/meson.build b/omap/meson.build index 54698c6a..7c11b5e8 100644 --- a/omap/meson.build +++ b/omap/meson.build @@ -48,7 +48,7 @@ pkg.generate( test( 'omap-symbol-check', - prog_bash, + prog_sh, env : env_test, args : [files('omap-symbol-check'), libdrm_omap] ) diff --git a/radeon/meson.build b/radeon/meson.build index 1fc5282c..d272800f 100644 --- a/radeon/meson.build +++ b/radeon/meson.build @@ -58,7 +58,7 @@ pkg.generate( test( 'radeon-symbol-check', - prog_bash, + prog_sh, env : env_test, args : [files('radeon-symbol-check'), libdrm_radeon] ) diff --git a/tegra/meson.build b/tegra/meson.build index 4bc454b6..f385f72e 100644 --- a/tegra/meson.build +++ b/tegra/meson.build @@ -47,7 +47,7 @@ pkg.generate( test( 'tegra-symbol-check', - prog_bash, + prog_sh, env : env_test, args : [files('tegra-symbol-check'), libdrm_tegra] )