This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: elfutils build and testing


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
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]