1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

fix boost compilation on aarch64-openeuler

__float128 related issues, specific to aarch64-openeuler,
don't happen on amd64-openeuler or aarch64-rhel

first, there's only dynamic libquadmath.so, and
config/has_float128.cpp for charconv doesn't specify
<link>shared; so charconv doesn't detect __float128.

But even if this is fixed (patched) it still doesn't find
__float128 later (may be missing includes?) and it's using
__float128 also when BOOST_CHARCONV_HAS_QUADMATH is not defined.

Considering that we don't actually need charconv, let's not
patch boost to fix it and simply disable it instead.

Also, let's disable mpi that we don't need and it also produces
(likely non-fatal) errors during compilation.

And don't redirect logs, let's have everything in CI stdout,
This commit is contained in:
Sergei Golubchik
2025-07-18 18:20:37 +02:00
committed by Leonid Fedorov
parent 1aee9ccfb1
commit f5cf7ebf7b

View File

@ -23,7 +23,7 @@ link_directories("${Boost_LIBRARY_DIRS}")
set(_cxxargs "-fPIC -DBOOST_NO_AUTO_PTR -fvisibility=default") set(_cxxargs "-fPIC -DBOOST_NO_AUTO_PTR -fvisibility=default")
set(_b2args cxxflags=${_cxxargs};cflags=-fPIC;threading=multi;${_extra};toolset=${_toolset} set(_b2args cxxflags=${_cxxargs};cflags=-fPIC;threading=multi;${_extra};toolset=${_toolset}
--without-python;--prefix=${INSTALL_LOCATION} --without-mpi;--without-charconv;--without-python;--prefix=${INSTALL_LOCATION}
) )
set(byproducts) set(byproducts)
@ -48,8 +48,8 @@ ExternalProject_Add(
BUILD_COMMAND ./b2 -q ${_b2args} BUILD_COMMAND ./b2 -q ${_b2args}
BUILD_IN_SOURCE TRUE BUILD_IN_SOURCE TRUE
INSTALL_COMMAND ./b2 -q install ${_b2args} INSTALL_COMMAND ./b2 -q install ${_b2args}
LOG_BUILD TRUE #LOG_BUILD TRUE
LOG_INSTALL TRUE #LOG_INSTALL TRUE
EXCLUDE_FROM_ALL TRUE EXCLUDE_FROM_ALL TRUE
${byproducts} ${byproducts}
) )