From patchwork Thu Jan 4 18:28:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dylan Baker X-Patchwork-Id: 10145345 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 50C7F60594 for ; Thu, 4 Jan 2018 18:29:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C3B126E16 for ; Thu, 4 Jan 2018 18:29:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2FF9128830; Thu, 4 Jan 2018 18:29:21 +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=-2.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, URIBL_BLACK 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 3385426E16 for ; Thu, 4 Jan 2018 18:29:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 42720898A7; Thu, 4 Jan 2018 18:29:10 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by gabe.freedesktop.org (Postfix) with ESMTPS id AF305892D7; Thu, 4 Jan 2018 18:29:07 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 08E7A20B9D; Thu, 4 Jan 2018 13:29:07 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Thu, 04 Jan 2018 13:29:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pnwbakers.com; h=cc:date:from:in-reply-to:in-reply-to:message-id:references :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=OwEc2X5Vxf/L2ESfZ/Qg/QstTb4EGKPjaVSAbq93ZVU=; b=xwjp2 4R3IMxxc+sKogsxYsIwFnOsvRucUAd8UgnqzlX4m27nORTd6REr5Jv+4fmp3SLrW XntwGwjzhRPN+wI38Hx8vxTEGDTelm5TkMyx/ng2o8VffiWLcO0tVZglyaroagOY Hx87rqmwMWyKEi9QzbNqAE7jaGr8KMBiIlLbKc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:in-reply-to :message-id:references:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=OwEc2X5Vxf/L2ESfZ/Qg/QstTb4EG KPjaVSAbq93ZVU=; b=hXM6t8PjzqlEgYe1X5vxzFXLoMSeZhlt8kHyDi/irVr6h Ecas86+aLynvEoGOwFOenagvxTKEemIQ1OuopMNO723nVBJhU6C489IZQEos3o3i 3dfmkE2iJvni0jZkYGQx89L99bg8VomtsYv3VfGkDm1VAwCYlzYZUFQZDz0oqZjD xmqLXrdhOV7oYA6/B977HAiVaIWJpCHfDqpKN1fm+A9jdePMB2RhB/LgCk+V6Am+ OEK2omhhyfT8iNfPVGqyp+xt3L68hny91As1SEX3MG7Fl5A2UQjxbvhPUqoVMkys JtrVpQZ3KwHIH4OnZtsBIKePnoe7mlv8S4K4qarzQ== X-ME-Sender: Received: from localhost (unknown [134.134.139.82]) by mail.messagingengine.com (Postfix) with ESMTPA id A725024771; Thu, 4 Jan 2018 13:29:06 -0500 (EST) From: Dylan Baker To: mesa-dev@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH v4 3/3] README: Add note about meson Date: Thu, 4 Jan 2018 10:28:42 -0800 Message-Id: <5c461bf24d928c5cec27ab227966c9b8c8bff8f8.1515090377.git-series.dylan@pnwbakers.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: References: In-Reply-To: References: Cc: Dylan Baker X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Dylan Baker Reviewed-by: Eric Engestrom --- README | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/README b/README index 26cab9d..58e55bc 100644 --- a/README +++ b/README @@ -15,9 +15,24 @@ with an older kernel. Compiling --------- -libdrm is a standard autotools package and follows the normal -configure, build and install steps. The first step is to configure -the package, which is done by running the configure shell script: +libdrm has two build systems, a legacy autotools build system, and a newer +meson build system. The meson build system is much faster, and offers a +slightly different interface, but otherwise provides much the same +feature set. + +To use it: + + meson builddir + +By default this will install into /usr/local, you can change your prefix +with --prefix=/usr (or -Dprefix=/usr to meson configure). + +Then use ninja to build and install: + + ninja -C builddir install + + +Alternatively you can invoke autotools configure: ./configure