From patchwork Wed Jan 3 21:31:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dylan Baker X-Patchwork-Id: 10143519 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 3CD4B60594 for ; Wed, 3 Jan 2018 21:43:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DF2F29361 for ; Wed, 3 Jan 2018 21:43:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 226872936D; Wed, 3 Jan 2018 21:43:02 +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 AD5C429361 for ; Wed, 3 Jan 2018 21:43:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0146F6E04D; Wed, 3 Jan 2018 21:43:00 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 572 seconds by postgrey-1.35 at gabe; Wed, 03 Jan 2018 21:42:58 UTC Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9F9136E04D for ; Wed, 3 Jan 2018 21:42:58 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id DDA6220B2D; Wed, 3 Jan 2018 16:33:26 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Wed, 03 Jan 2018 16:33:26 -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=ejYPi 4IsWMWMG5Ja16WBn4wASOUlUCK8vcslEk6eXcBbak1b4NtrghJ2A6hzol+9/Il1V ZQIHw49T0HyG5KqRl64rjasqjTtKAMs1h9XWBPiOE+TFR8+7DBRvlzQw+jBRRd8N MCdNzp40ajH4W2yBvIq+FbpmXQ4qNAixLoGojA= 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=nrh7QL9EhIzuZUUxSGgCS4vWOVtGlSGsDppsS8iZRPkAp q45pvFkFh5gRTEADnL+zCyakyZGY3pkewY4a1iyLnrbr1rBpRUuKLWPlGcPsY4Cq YpsWDf9y2udKR6oh9iZ1kAt/XyyGXcMRASi0V9N5NIbX7zXF53pLXLDBKvNrsLql QHclNfXtL647ObBhNMAzciYC9yRoRWN+nGrhTcYAvxKkKpd+vdgjAz3E3DIfh1GX Ibigm86Vt6aCh9m0YvmihvyCGGPebAVUgyygx9jgR8geRQwqcRLl/DA++4fIml2Q O8WGHCmpwjPuiuh1eDzrxcmyX1ZIf9KgZuGjnvD/g== X-ME-Sender: Received: from localhost (unknown [134.134.139.82]) by mail.messagingengine.com (Postfix) with ESMTPA id 85F012473E; Wed, 3 Jan 2018 16:33:26 -0500 (EST) From: Dylan Baker To: mesa-dev@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 3/3] README: Add note about meson Date: Wed, 3 Jan 2018 13:31:30 -0800 Message-Id: <5063fa27a46e35af24e3abf5bf63ced150757dfe.1515015012.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 --- 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