A few comments on my CMake build attempt:
While I was able to get the project up & running, the procedure is far from
pretty. There were several issues along the way:
-I fail to see the difference between previous submodules usage and the
current setup... In the end both libarchive and zlib are placed in the
external folder. The only difference is that now we have to do more git
bash commands to get there. What am I missing?
-zlib compiled fine
-libarchive had some issues with this:
https://gitorious.org/cmake/cmake/commit/8088332178a9fb082dd387beae9b1f262615a228
I had to apply the fix manually, no idea why they haven't pushed it to
their master.
Since I didn't create a build folder in the project source folder, I had to
provide my own path to ZLIB_INCLUDE_DIR and ZLIB_LIBRARY.
It compiled fine after that.
-then came Benchmark GUI. Again, since I was using a different build
folder, I had to do some path setting for zlib and libarchive. It compiled
fine, but failed to run since libarchive.dll wasn't placed in the same
folder as the exe. When I placed it there manually, it worked.
While I'm glad it works alright now, I must say it's way more difficult
than I'd like it to be. Is it maybe possible to make a dedicated CMakeLists
file just for zlib and libarchive? That would make things significantly
easier.
Regards, Namik
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
ViennaCL-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-devel