public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: Phi Debian <phi.debian@gmail.com>, elfutils-devel@sourceware.org
Subject: Re: elfutils build and testing
Date: Tue, 19 Sep 2017 14:09:00 -0000	[thread overview]
Message-ID: <1505830143.16945.48.camel@klomp.org> (raw)
In-Reply-To: <CAJOr74g-mDAvMEm-8OwKkA3BOwuWXuc3eK0Qu9ooHybM00jWSw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 435 bytes --]

Hi Phi,

On Mon, 2017-09-18 at 14:24 +0200, Phi Debian wrote:
> I just git cloned the elfutils.git
> 
> How to I build it, to my surprise there is no configure script
> (assuming the clone is not damaged)
> 
> My secondary question is assuming I can build what is the process to
> run the test suite?

To my own surprise this isn't documented at all.
I added the attached to the README.
Hope that helps.

Thanks,

Mark

[-- Attachment #2: 0001-README-Add-basic-build-instructions.patch --]
[-- Type: text/x-patch, Size: 1538 bytes --]

From 04ecad6acd13e7120b171307aa57325b2ec08715 Mon Sep 17 00:00:00 2001
From: Mark Wielaard <mark@klomp.org>
Date: Tue, 19 Sep 2017 16:05:49 +0200
Subject: [PATCH] README: Add basic build instructions.

Signed-off-by: Mark Wielaard <mark@klomp.org>
---
 ChangeLog | 4 ++++
 README    | 9 +++++++++
 2 files changed, 13 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 86b19b5..c0034ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-09-19  Mark Wielaard  <mark@klomp.org>
+
+	* README: Add basic build instructions.
+
 2017-05-03  Ulf Hermann  <ulf.hermann@qt.io>
 
 	* configure.ac: Test if symbol versioning is supported.
diff --git a/README b/README
index 9e55d75..0e15bae 100644
--- a/README
+++ b/README
@@ -5,11 +5,20 @@ The project home is http://elfutils.org/
 Releases are published at ftp://sourceware.org/pub/elfutils/
 Which can also be found at https://sourceware.org/elfutils/ftp/
 
+To build a release do: ./configure && make && make check
+Please check the configure summary to make sure all recommended
+features are enabled. There should be no failures after make check.
+
 Please reports bugs at https://sourceware.org/bugzilla/
 
 The current elfutils source code can be checked out with
 git clone git://sourceware.org/git/elfutils.git
 
+To build a git checkout do:
+  autoreconf -i -f && \
+  ./configure --enable-maintainer-mode && \
+  make && make check
+
 The developer mailinglist to send patches to is
 elfutils-devel@sourceware.org.
 https://sourceware.org/ml/elfutils-devel/
-- 
1.8.3.1


      parent reply	other threads:[~2017-09-19 14:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-18 12:24 Phi Debian
2017-09-18 12:30 ` Phi Debian
2017-09-19 14:09 ` Mark Wielaard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1505830143.16945.48.camel@klomp.org \
    --to=mark@klomp.org \
    --cc=elfutils-devel@sourceware.org \
    --cc=phi.debian@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).