From patchwork Fri Jan 5 20:01:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dylan Baker X-Patchwork-Id: 10147017 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 3B54060153 for ; Fri, 5 Jan 2018 20:01:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5514528800 for ; Fri, 5 Jan 2018 20:01:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4A2EC2880A; Fri, 5 Jan 2018 20:01: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 C55A028800 for ; Fri, 5 Jan 2018 20:01:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 212596E404; Fri, 5 Jan 2018 20:01:07 +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 40BD46E3F3; Fri, 5 Jan 2018 20:01:05 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 8CBCA220B5; Fri, 5 Jan 2018 15:01:04 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Fri, 05 Jan 2018 15:01:04 -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=D1PmOefsAdBN4u3X3u+LLF26rVKbrqqe0DcwZ9+/qMw=; b=yjHBB qGZ2iarCizfdVBsRqCwqZ+3avyvv8/fRRtmtY1+22bu552LtZpBSatQFktjphNcC H+zx1aJFwSybbiM/ItAtPJoxG9nSTVBl4DmEpFLEs7PrI8TFF4OkI8U04m3Y6aTr EKz8eSqyv0rDLqfEnB+iqCzErMXHiXCQdXqMTA= 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=D1PmOefsAdBN4u3X3u+LLF26rVKbr qqe0DcwZ9+/qMw=; b=mn40EjqdgM7zf+yA4lhvrduEkEdJTIINOVpwaerRI0Zu2 kVklKl05I0cuDMdHtSPN7Z8ylt59nwO/CnTJfFJqvFJTYvTHwk9JjgvyZ0f+ACnL ajlMOscNqFyiiiGw39NQjB2CxChWCVCwW2+9f2nfp4ax1HUrkW3aF2Ks8XicKS/M HXBINjaMitdN53RJ85fJD8f9+HdOCUwdKDcd/N1ZBxRUb86JBzVa4YFsatPkISDR 4TclC7JTk9yCs5q2krJZfwl13YOkOge+Nl+Bn4/93VmecTjKpGocPS1Vz1SNbikq F2SOQW5Jh4+YO1NLFgtnQi3h8El3fncpQO4Q2T/EQ== X-ME-Sender: Received: from localhost (unknown [134.134.139.82]) by mail.messagingengine.com (Postfix) with ESMTPA id 1C7C87E12A; Fri, 5 Jan 2018 15:01:04 -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: Fri, 5 Jan 2018 12:01:00 -0800 Message-Id: <1d6dcb3283ff20982410c5b0953b329fc0485a47.1515182161.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 | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/README b/README index 26cab9d..f3df9ac 100644 --- a/README +++ b/README @@ -15,9 +15,27 @@ 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 an equivalent feature set. + +To use it: + + meson builddir/ + +By default this will install into /usr/local, you can change your prefix +with --prefix=/usr (or `meson configure builddir/ -Dprefix=/usr` after +the initial meson setup). + +Then use ninja to build and install: + + ninja -C builddir/ install + +If you are installing into a system location you will need to run install +separately, and as root. + + +Alternatively you can invoke autotools configure: ./configure