Guys,

Building against Boost is a challenge with CMake. I repeatedly run
into problems building ViennaCL against boost_filesystem and
boost_system libraries depending on how the host has them built. To
get past it I usually force:

# Its easier to resolve undefined issues with static libs.
set(Boost_USE_STATIC_LIBS        ON)
set(Boost_USE_MULTITHREADED      ON)
set(Boost_USE_STATIC_RUNTIME    ON)

# I usually have BOOST_ROOT exported for other libraries
set(BOOSTPATH $ENV{BOOST_ROOT})

# Look for Boost module on HPC cluster (non-default path)
set(Boost_NO_SYSTEM_PATHS true)


You might consider dropping some of these options into the common CMake file.

-E
--
-Evan Bollig
bol...@gmail.com
bol...@scs.fsu.edu

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to