-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exclude several boost libraries from build #202
Comments
serialization... ATT should be using |
* it was previously removed from build for Linux with Clang * removed for Linux/Clang on 2015.03.11 with commit message "boost math crashes clang" * not sure what version of Clang, boost version 1.57.0 * whether or not that is still the case I haven't verified * either way: until there is an argument for using boost.math it is disabled from default build, for now issue #202
update boost use script set(Boost_LIBS # dependency order
log_setup # ldd:log,regex
log # ldd/cmake:filesystem,thread cmake:log_setup,regex
######
thread # ldd/cmake:system cmake:atomic,chrono,date_time
timer # ldd/cmake:chrono
######
chrono # ldd/cmake:system
filesystem # ldd/cmake:system
graph # ldd:regex
iostreams # cmake:regex
random # ldd/cmake:system
######
atomic
container
date_time
exception
prg_exec_monitor program_options
regex
signals
system
test_exec_monitor unit_test_framework
)
# NOTE: determined boost library dependency order by building boost on linux
# with link=shared and runtime-link=shared and using ldd
# cmake dependencies by examining cmake's Modules/FindBoost.cmake cmake FindBoost.cmake created a boost.dot
|
completed with commits to dev branch referenced above |
with a pre-release version of externpro 18.08.1 and with the changes made to the boost use script I'm seeing link errors on every executable that links boost libraries
since it appears the "program execution monitor" is a boost test library (I was only able to find reference to it in old boost docs https://www.boost.org/doc/libs/1_57_0/libs/test/doc/html/prg-exec-monitor.html) |
a project (Vantage) that uses externpro (and boost) builds and links fine on linux with gcc, but fails on Windows with MSVC: of course boost serialization was one of the libraries excluded because it didn't appear that Vantage used it (outside of a couple of errant includes in Autotest code) -- this failure is quite early in the build (executables that link Sdimage and it's dependencies - MosaicIntegrationTest and SdimageTest) searching the boost includes ( I'm not how to exactly determine which boost library (or something else?) is causing the linker to require boost serialization, but the way boost uses pragma comment lib to specify library dependencies (usually in a boost serialization header, which would make the library required if anything includes a boost serialization header) it's going to be easier to just include boost serialization in the externpro build of boost again... |
boost libraries https://www.boost.org/doc/libs/
recommend removing from the default build:
The text was updated successfully, but these errors were encountered: