* [PATCH] Support zlib in the Windows build (enables latency histogram logging)
@ 2017-01-09 21:50 Rebecca Cran
2017-01-12 4:04 ` Jens Axboe
0 siblings, 1 reply; 4+ messages in thread
From: Rebecca Cran @ 2017-01-09 21:50 UTC (permalink / raw)
To: fio
[-- Attachment #1: Type: text/plain, Size: 111 bytes --]
Add support for building with zlib in the Windows build: this enables
the latency histogram logging feature.
[-- Attachment #2: 0001-Support-zlib-in-the-Windows-build-enabled-latency-hi.patch --]
[-- Type: text/plain, Size: 1641 bytes --]
From 3c8555a5ccf3cd4887d076944bf88f9679ab503a Mon Sep 17 00:00:00 2001
From: Rebecca Cran <bruce.cran@sandisk.com>
Date: Mon, 9 Jan 2017 21:45:38 +0000
Subject: [PATCH] Support zlib in the Windows build (enabled latency histogram
logging)
---
configure | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 7de88f8..866842c 100755
--- a/configure
+++ b/configure
@@ -281,8 +281,18 @@ CYGWIN*)
if test -z "$CC" ; then
if test ! -z "$build_32bit_win" && test "$build_32bit_win" = "yes"; then
CC="i686-w64-mingw32-gcc"
+ if test -e "../zlib/contrib/vstudio/vc14/x86/ZlibStatReleaseWithoutAsm/zlibstat.lib"; then
+ echo "Building with zlib support"
+ output_sym "CONFIG_ZLIB"
+ echo "LIBS=../zlib/contrib/vstudio/vc14/x86/ZlibStatReleaseWithoutAsm/zlibstat.lib" >> $config_host_mak
+ fi
else
CC="x86_64-w64-mingw32-gcc"
+ if test -e "../zlib/contrib/vstudio/vc14/x64/ZlibStatReleaseWithoutAsm/zlibstat.lib"; then
+ echo "Building with zlib support"
+ output_sym "CONFIG_ZLIB"
+ echo "LIBS=../zlib/contrib/vstudio/vc14/x64/ZlibStatReleaseWithoutAsm/zlibstat.lib" >> $config_host_mak
+ fi
fi
fi
output_sym "CONFIG_LITTLE_ENDIAN"
@@ -306,7 +316,8 @@ CYGWIN*)
output_sym "CONFIG_TLS_THREAD"
output_sym "CONFIG_IPV6"
echo "CC=$CC" >> $config_host_mak
- echo "BUILD_CFLAGS=$CFLAGS -include config-host.h -D_GNU_SOURCE" >> $config_host_mak
+ echo "BUILD_CFLAGS=$CFLAGS -I../zlib -include config-host.h -D_GNU_SOURCE" >> $config_host_mak
+
exit 0
;;
esac
--
2.9.3.windows.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Support zlib in the Windows build (enables latency histogram logging)
2017-01-09 21:50 [PATCH] Support zlib in the Windows build (enables latency histogram logging) Rebecca Cran
@ 2017-01-12 4:04 ` Jens Axboe
2017-01-12 17:01 ` Rebecca Cran
0 siblings, 1 reply; 4+ messages in thread
From: Jens Axboe @ 2017-01-12 4:04 UTC (permalink / raw)
To: Rebecca Cran; +Cc: fio
On Mon, Jan 09 2017, Rebecca Cran wrote:
> Add support for building with zlib in the Windows build: this enables the
> latency histogram logging feature.
Thanks Rebecca, applied.
--
Jens Axboe
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Support zlib in the Windows build (enables latency histogram logging)
2017-01-12 4:04 ` Jens Axboe
@ 2017-01-12 17:01 ` Rebecca Cran
2017-01-12 17:12 ` Jens Axboe
0 siblings, 1 reply; 4+ messages in thread
From: Rebecca Cran @ 2017-01-12 17:01 UTC (permalink / raw)
To: Jens Axboe; +Cc: fio
On 1/11/2017 9:04 PM, Jens Axboe wrote:
> On Mon, Jan 09 2017, Rebecca Cran wrote:
>> Add support for building with zlib in the Windows build: this enables the
>> latency histogram logging feature.
> Thanks Rebecca, applied.
I don't see the changeset in the log: do you still need to push it?
--
Rebecca
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Support zlib in the Windows build (enables latency histogram logging)
2017-01-12 17:01 ` Rebecca Cran
@ 2017-01-12 17:12 ` Jens Axboe
0 siblings, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2017-01-12 17:12 UTC (permalink / raw)
To: Rebecca Cran; +Cc: fio
On 01/12/2017 10:01 AM, Rebecca Cran wrote:
> On 1/11/2017 9:04 PM, Jens Axboe wrote:
>> On Mon, Jan 09 2017, Rebecca Cran wrote:
>>> Add support for building with zlib in the Windows build: this enables the
>>> latency histogram logging feature.
>> Thanks Rebecca, applied.
>
> I don't see the changeset in the log: do you still need to push it?
I did, pushed now.
--
Jens Axboe
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-01-12 17:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-09 21:50 [PATCH] Support zlib in the Windows build (enables latency histogram logging) Rebecca Cran
2017-01-12 4:04 ` Jens Axboe
2017-01-12 17:01 ` Rebecca Cran
2017-01-12 17:12 ` Jens Axboe
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.