COMP: Set boost configure specific options when building with clang on unix systems
Closes #1800 (closed)
Merge request reports
Activity
I was also investigating this issue on behalf on @esarrazin
I think we should also forward the compilation flags. For instance, if we wish to use an implementation of the C++ standard library that is not the one built into clang to be used by default, then this information (
--stdlib=libc++
/--stdlib=libstdc++
) will not be propagated. Same thing with sanitization options, C++ standard flavour to use (C++14, 17, 20...)EDIT: BTW, what about other toolsets (like for instance the Intel C++ compiler)
Edited by Luc Hermitte@poughov done
@lhermitte, I can do
cxxflags=${CMAKE_CXX_FLAGS}
butlinkflags
I do not know which cmake variable to use (EXE_LINKER, MODULE_LINKER, SHARED_LINKER ...) ? Regarding other toolkits, I would say that we should not add support for things we do not test ...yes and here is the error : bootstrap.log
This can be solved if we get rid of openMP in Superbuild. Thus we will come back to a native compiler on leod. I will propose such a MR soon.
Edited by Antoine Regimbeauadded 1 commit
- 73ac55e4 - COMP: avoid doing clang specific setup for mac osx
@jmichel can we merge or removed this from the dashboard?
mentioned in commit e7ba73db
changed milestone to %7.0.0