Closed pradeep-bose closed 6 years ago
@pradeep-bose You might find get a better answer from the Windows folks who are part of the libpmem project (e.g. does using cygwin with it work for them). You can see what fio does in order to test for libpmem
over here: https://github.com/axboe/fio/blob/ae48493039f833119126ef979dbe86aee2c05557/configure#L1843 . From a quick glance you'll need fio to be able to
If it can't do both of those then you won't get far. You may need to mess about with BUILD_CFLAGS
and the LIBS
variables (as demonstrated by the bits in red over on https://github.com/axboe/fio/commit/b86770c69424d82449ce7e61a4e1b04ba1295f83#diff-e2d5a00791bce9a01f99bc6fd613a39d ) to get it going. Good luck!
As this isn't so much a bug in fio and is more of a "How to build things on Windows?" question (and I'm not a Windows expert) I'm going to close this issue (but feel free to continue it on the fio mailing list).
If someone does find a reliable (not to arduous) way of building against libpmem
on Windows let us know...
The goal is to use FIO tool along with the libmem(ioengine) libraries to perform tests.
But unable to build FIO windows with the libpmem library.
1) Tried building with cygwin from source cygwin has the mingw64 tool chain installed and the mysys 64 binaries. pre-requisites needed are the build ndctl -> dependant on kmod library , which is not avialable on cygwin for building / already built from mysys / minhw64
2) another approach was to use the build with the exisitng libraries
https://github.com/pmem/pmdk/releases/download/1.4/pmdk-1.4-win-x64-Setup.msi
We have installed the pmdk msi on the windows platform Im assuming there are the run-time c++ shared libraries to to be used in the application.
These windows builds are avaiable at below URL are not built with the libpmem https://ci.appveyor.com/project/axboe/fio
These builds do not support libpmem in the native builds. So we trying to build FIO with the libpmem libraries, linked.
Tried using the Cygwin build environment , but were unable to get the libpmem linked.