From patchwork Sun Jun 16 13:23:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 10997387 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 CD1FD112C for ; Sun, 16 Jun 2019 13:25:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BA16028560 for ; Sun, 16 Jun 2019 13:25:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB6A0287A2; Sun, 16 Jun 2019 13:25:54 +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 67AF128560 for ; Sun, 16 Jun 2019 13:25:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2AF5689127; Sun, 16 Jun 2019 13:25:52 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3238A890D2 for ; Sun, 16 Jun 2019 13:25:51 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id p13so7025490wru.10 for ; Sun, 16 Jun 2019 06:25:51 -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:mime-version :content-transfer-encoding; bh=TS9lwWz77eAnWau9EHKu6Ns0BFPrcuTC7wke1p2mPSY=; b=VhZLNRUYzzr4D1YTLJh/lq0rx3bx4Ie2W5eGTeLlcL7t7WI135FuU1duVEWrZqJSUN MmDtpXMTVEykWx0DDKqUNqVxq38qycns6TWK3vXjqWjRvpt1c05Bk4+78OW+YFlDOjV6 NMnYFR6lO+6pVQDxMG60YVDRtC8ng1KTTnS7aFsMwy5uEv/U87ainLYqyFvxFy80AebX 6ESlZXLlUtfrK1IvrnRhvyyTA0nH/yosqKXFuPaGoNqRxlsxK+yjqWU+uHfNKCXAouMu xQwz4B1qlirBWOko8STgdPVpDZokXxxFmUsYWBD7kFySPL8DeNByCWXUbpX5/JVdVaTV HFYQ== X-Gm-Message-State: APjAAAVfzkdkegP6d8JCwskZ7GWGQQ/j1kyEXpnmwzjx7nsWoYFd9YBU 1TxCbTwZQ3tvunURntKrr8/pCw5G X-Google-Smtp-Source: APXvYqz/YjJUZqayRB7RjX0IwEonIKKbeQG9c4jP2F9tbSlOSbo6Snh+iSXXM7Ywnz+QXwC6rRw0sQ== X-Received: by 2002:a5d:534b:: with SMTP id t11mr37604833wrv.61.1560691549534; Sun, 16 Jun 2019 06:25:49 -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.48 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 16 Jun 2019 06:25:48 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm v2 1/4] meson.build: Fix typo Date: Sun, 16 Jun 2019 14:23:40 +0100 Message-Id: <20190616132343.26370-1-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.21.0 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:mime-version :content-transfer-encoding; bh=TS9lwWz77eAnWau9EHKu6Ns0BFPrcuTC7wke1p2mPSY=; b=pWYEXd3gOTxx04IThzvqm7lal2bysv4XKpiF92pwIjnZy48d+4frsfH8wl5kaMz5Nw w1t/tLvDjEGabB3C1hxb9S8RW9ssC00Gog4N6VCTcu51lwSCwRZkruugJJ4rujU7nt3d edJHl9hdBa20kobJvw4pm77QCHx/dZ1O59x61RogIiJRKGHpvjFi/Dkjt7UfLi8zaodW aWuLnFID41Sc42EsHOHEV2Ig8ErF/ELqgansCr07LNipDqJBDS+OQRMm7BxBTFvyLNaA zijgiyvXKHMYf0PBJeFgC/jqE2JTR79ss32j7Ks5Gk/X1NraYL/bTzuvI/yUGGKi/fzZ DHJQ== 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 From: Niclas Zeising Reviewed-by: Emil Velikov --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index be768afa..64f0d5b1 100644 --- a/meson.build +++ b/meson.build @@ -248,7 +248,7 @@ if prog_xslt.found() endif with_man_pages = with_man_pages != 'false' and prog_xslt.found() and prog_sed.found() -# Used for tets +# Used for tests prog_bash = find_program('bash') config.set10('HAVE_VISIBILITY', From patchwork Sun Jun 16 13:23:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 10997389 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 C7A45112C for ; Sun, 16 Jun 2019 13:25:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B7E2E28560 for ; Sun, 16 Jun 2019 13:25:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A8870287A2; Sun, 16 Jun 2019 13:25:57 +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 455E028560 for ; Sun, 16 Jun 2019 13:25:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2920D890D2; 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-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 23A50890D2 for ; Sun, 16 Jun 2019 13:25:52 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id z23so6402826wma.4 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=iZNQrMv8b9GbuhClzn2Y2vK16NESCbaSLxGK4Sz972c=; b=epDIlSzgkPkQjl+VCMu3Pvgqk/sTWFDaaVggdpg2TmQ1+/BtwitPfcrwp0PaA1ZvZd bhD9wTXwonfQjZ7hULjzWxtFqThZh/vzDRaZ9aSGOL5CU+3F9/u5rR7dPjt0i6xn+j9o SlnJms/oc4xC8H/JT8SvmU2D5vG0OsU3KYqjtU4kn/kkjJe+IrehbxWCSuA4vmLumZVg jC/evgrabhwfD3lqopfN6qqBYSi4obbrpWSL9JGL0lPtnv8auczCFqfsrGAEbtxdPL5N 3AgHaVW761BxQAUgoPAWzyHNWT4WEZj2QfljPAA0DHkNGwThughK7SnYEyAsm3/uVaaA J6VA== X-Gm-Message-State: APjAAAXjzJ3/KKVtVPNsxKFGw7/wSthXM76qxPi+J8/QcERjsjQ/p9Lv M1fzpwiLPp+ATCNrZwtKrn/mjahq X-Google-Smtp-Source: APXvYqxyLxWdl6cZjvnpl0LWhHlbto/JqYAOx3dqyiB806Q0yDKbQ8ghzrFlz6l1cMYw/eIX21lELw== X-Received: by 2002:a1c:f515:: with SMTP id t21mr16017504wmh.39.1560691550493; Sun, 16 Jun 2019 06:25:50 -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.49 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 16 Jun 2019 06:25:49 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm v2 2/4] *symbols-check: use normal shell over bash Date: Sun, 16 Jun 2019 14:23:41 +0100 Message-Id: <20190616132343.26370-2-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=iZNQrMv8b9GbuhClzn2Y2vK16NESCbaSLxGK4Sz972c=; b=uV7kBIse5Y/jKYnyxF+l2KBh0jIFCO5SVjmN77vsO7LoJ1fZcWp82jh1O4vJqTsOw8 la7sfRPACkniQESKWLR/Van2YaHmZuGcZ0Z3L96DuIbd8lSiyOuiiMHvqMgjCfEAom5U +vUJXV6MinnJbROhSIRv0qO0S/wynJmmjO/8zIgB8nY/Bq4mDJITjJYW6GqTe87vp6cu vUNqkugs0igUSnPmO/0cJoIYSpwClzYZv0QfuGDmrJCH4AtXT+t2y63u7FLQpspzSuHi AU8Ji1jqSfXKnLwVlWR/EOdaexBniy+GFNgFXXl4zo2qf31/32qn/ty/5SqgTPzBmjWZ Ta4A== 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 None of the tests are bash specific. Tested with bash, zsh, dash, mksh and ksh. Signed-off-by: Emil Velikov Tested-by: Niclas Zeising Reviewed-by: Niclas Zeising --- amdgpu/amdgpu-symbol-check | 2 +- etnaviv/etnaviv-symbol-check | 2 +- exynos/exynos-symbol-check | 2 +- freedreno/freedreno-symbol-check | 2 +- intel/intel-symbol-check | 2 +- libkms/kms-symbol-check | 2 +- nouveau/nouveau-symbol-check | 2 +- omap/omap-symbol-check | 2 +- radeon/radeon-symbol-check | 2 +- tegra/tegra-symbol-check | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/amdgpu/amdgpu-symbol-check b/amdgpu/amdgpu-symbol-check index 5ce15f46..ea83850d 100755 --- a/amdgpu/amdgpu-symbol-check +++ b/amdgpu/amdgpu-symbol-check @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -u diff --git a/etnaviv/etnaviv-symbol-check b/etnaviv/etnaviv-symbol-check index 18910688..ef4e66f4 100755 --- a/etnaviv/etnaviv-symbol-check +++ b/etnaviv/etnaviv-symbol-check @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -u diff --git a/exynos/exynos-symbol-check b/exynos/exynos-symbol-check index 49d611e6..d2c362e1 100755 --- a/exynos/exynos-symbol-check +++ b/exynos/exynos-symbol-check @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -u diff --git a/freedreno/freedreno-symbol-check b/freedreno/freedreno-symbol-check index 978026c0..987e38fa 100755 --- a/freedreno/freedreno-symbol-check +++ b/freedreno/freedreno-symbol-check @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -u diff --git a/intel/intel-symbol-check b/intel/intel-symbol-check index de377bef..2f355321 100755 --- a/intel/intel-symbol-check +++ b/intel/intel-symbol-check @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -u diff --git a/libkms/kms-symbol-check b/libkms/kms-symbol-check index 30f444f7..7d3426f6 100755 --- a/libkms/kms-symbol-check +++ b/libkms/kms-symbol-check @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -u diff --git a/nouveau/nouveau-symbol-check b/nouveau/nouveau-symbol-check index 6296244c..36703a3e 100755 --- a/nouveau/nouveau-symbol-check +++ b/nouveau/nouveau-symbol-check @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -u diff --git a/omap/omap-symbol-check b/omap/omap-symbol-check index 16da3c40..21522ba0 100755 --- a/omap/omap-symbol-check +++ b/omap/omap-symbol-check @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -u diff --git a/radeon/radeon-symbol-check b/radeon/radeon-symbol-check index da605bb8..7b69f9a4 100755 --- a/radeon/radeon-symbol-check +++ b/radeon/radeon-symbol-check @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -u diff --git a/tegra/tegra-symbol-check b/tegra/tegra-symbol-check index 8539b95b..a74d9749 100755 --- a/tegra/tegra-symbol-check +++ b/tegra/tegra-symbol-check @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -u 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] ) From patchwork Sun Jun 16 13:23:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 10997393 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 6940013AF for ; Sun, 16 Jun 2019 13:26:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 59A5128508 for ; Sun, 16 Jun 2019 13:26:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D2C82870D; Sun, 16 Jun 2019 13:26:01 +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 10B8928508 for ; Sun, 16 Jun 2019 13:26:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 31D1F891AF; Sun, 16 Jun 2019 13:25:56 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2C780890D2 for ; Sun, 16 Jun 2019 13:25:54 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id n9so7084532wru.0 for ; Sun, 16 Jun 2019 06:25:54 -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=YIXFYxjY0PSo/FTrg9YlPAOOkll9nxmdcu/C6tztHq0=; b=D3oslEq5TKspolFHuY5tAlVkIF7aUwPt0JaDDesKUKyRJzy2Jz8mzoWdvD0UsDA21m ljDDIocD7+K/tkWu3U3ysu6FqedNAYCUdQn5MOo1aCRFEWspltMMago2PZhEKjDM+k4J EBDCn+OqTmX3lCSl88kRyz0BlgEyUXSsAbXie2x4PO6rsGmMlyUssOtWs+So5exAzpUX xqiWpO1dN0nzkWPq1GLVLXiAUEIAbUHmRLRgOgy4JG5fvp+IebEAzznOKWVhqWM0Rjdn DtdqEfmaULX5M7KGoGDgGPywnuDM4wtnwRZOO2IinWzbjxXi6i1Z3m+Jof7mZvgBdoBg rMWA== X-Gm-Message-State: APjAAAX9amaz18kyFtRXZay32PIBfE7rrxaoS1Ri4qzjqosivkjFawQN K90Hi6bQUzOFu8oFkvXAcsDYXe/F X-Google-Smtp-Source: APXvYqxmwXEeqWm85Pa7u0XEmGe55802qxuqRGnl8XYYdCX7wT0nhKKxU9XlK5xXQc1xqWGabkYufA== X-Received: by 2002:adf:d081:: with SMTP id y1mr27995575wrh.34.1560691552628; Sun, 16 Jun 2019 06:25:52 -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.51 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 16 Jun 2019 06:25:52 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm v2 4/4] meson.build: Fix meson script on FreeBSD Date: Sun, 16 Jun 2019 14:23:43 +0100 Message-Id: <20190616132343.26370-4-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=YIXFYxjY0PSo/FTrg9YlPAOOkll9nxmdcu/C6tztHq0=; b=mX1CePP3W7QUfsvAA+at9sUN3VewUS57Rv8olmxsfzwYQtezfTayMTwkEhrI64uRKs bmQ7pxvmkxd6O0iIc/Chq3BcupgCjfXPtEKMt4QGjvKwEinr3FwEAR3KGTlYUj14RyWx 5KztN1+0ATNXuSfoT2WbzLDsURUx09gS0l15GmLpwhe1DuQC3mjly6ZUuquy7jJsIvG2 oyaeeD03Ql1KHPrK5wmyAG3pJFmg4mfZglJiTY3O8r/ktVtMXHeXt4nym2lLrk1klLwN b2bxasBLgT/kwe1Ff8vwqKYqFxJJiTQIqc5ALD2sWwveKjuiCYi9jSvxlDuw0PbDn913 vKdw== 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 From: Niclas Zeising FreeBSD requires sys/types.h for sys/sysctl.h, add it as part of the includes when checking for headers. Instead of splitting out the check for sys/sysctl.h from the other header checks, just add sys/types.h to all header checks. v2 [Emil] - add inline comment - drop bash/sh hunk Signed-off-by: Emil Velikov Signed-off-by: Niclas Zeising Reviewed-by: Eric Engestrom --- meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index ed407009..14f82b1f 100644 --- a/meson.build +++ b/meson.build @@ -179,9 +179,12 @@ else dep_rt = [] endif dep_m = cc.find_library('m', required : false) +# From Niclas Zeising: +# FreeBSD requires sys/types.h for sys/sysctl.h, add it as part of the +# includes when checking for headers. foreach header : ['sys/sysctl.h', 'sys/select.h', 'alloca.h'] config.set('HAVE_' + header.underscorify().to_upper(), - cc.compiles('#include <@0@>'.format(header), name : '@0@ works'.format(header))) + cc.compiles('#include \n#include <@0@>'.format(header), name : '@0@ works'.format(header))) endforeach if cc.has_header_symbol('sys/sysmacros.h', 'major') config.set10('MAJOR_IN_SYSMACROS', true)