Commit d6029e54 authored by Philip Carns's avatar Philip Carns

integrate contribution from Matthieu Dorier: installation process for

darshan-util should install library and headers so that external tools can
use the logutils API.


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@702 3b7491f3-a168-0410-bf4b-c445ed680a29
parent a18b6297
......@@ -4,8 +4,10 @@ Darshan Release Change Log
darshan-2.2.6-pre2
=============
* Install libdarshan-util and headers during installation process for
darshan-util; patch contributed by Matthieu Dorier
* Bug fixes:
- make sure to honor any user-specified hints passed in at runtime
- make sure to honor user-specified hints passed in at runtime
via the DARSHAN_LOGHINTS env variable.
- include fread and fwrite in darshan-job-summary.pl read and write counts
- fix segmentation fault on invalid arguments to darshan-parser
......@@ -13,7 +15,7 @@ darshan-2.2.6-pre2
environment variable
* Rename cp-shutdown-bench test utility to darshan-shutdown-bench and enable
benchmarking hooks in library by default so that darshan-shutdown-bench
can be used with any Darshan installation.
can be used with any Darshan installation
* Change default MPI-IO hints for writing log file to
romio_no_indep_rw=true and cb_nodes=4 to improve log creation performance
* Optimize darshan startup by collecting mount point information at rank 0 and
......
all: darshan-parser darshan-convert darshan-diff darshan-analyzer darshan-log-params
all: darshan-parser darshan-convert darshan-diff darshan-analyzer darshan-log-params darshan-util-lib
DESTDIR =
srcdir = @srcdir@
......@@ -25,6 +25,7 @@ CFLAGS = -I . -I $(srcdir) -I $(srcdir)/../ -DDARSHAN_CONFIG_H=\"darshan-util-co
CC=@CC@
LD=@LD@
AR=@AR@
LIBS = -lz @LIBBZ2@
......@@ -56,6 +57,9 @@ darshan-diff.o: darshan-diff.c
darshan-logutils.o: darshan-logutils.c
gcc $(CFLAGS) -c $< -o $@
darshan-util-lib: darshan-logutils.o
ar rcs libdarshan-util.a $<
test/gztest: test/gztest.c mktestdir
gcc $(CFLAGS) -lz $< -o $@
......@@ -68,10 +72,14 @@ lookup3.o: lookup3.c
install:: all
install -d $(bindir)
install -d $(libdir)
install -d $(includedir)
install -m 755 darshan-parser $(bindir)
install -m 755 darshan-convert $(bindir)
install -m 755 darshan-diff $(bindir)
install -m 755 darshan-analyzer $(bindir)
install -m 755 libdarshan-util.a $(libdir)
install -m 644 $(srcdir)/darshan-logutils.h $(includedir)
install -m 644 $(DARSHAN_LOG_FORMAT) $(includedir)
install -m 755 darshan-job-summary/bin/darshan-job-summary.pl $(bindir)
install -d $(libdir)/TeX
install -m 644 $(srcdir)/darshan-job-summary/lib/TeX/Encode.pm $(libdir)/TeX/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment