Changeset View
Changeset View
Standalone View
Standalone View
build_files/cmake/platform/platform_unix.cmake
| Show All 20 Lines | elseif(EXISTS ${LIBDIR_CENTOS7_ABI}) | ||||
| set(LIBDIR ${LIBDIR_CENTOS7_ABI}) | set(LIBDIR ${LIBDIR_CENTOS7_ABI}) | ||||
| set(WITH_CXX11_ABI OFF) | set(WITH_CXX11_ABI OFF) | ||||
| if(WITH_MEM_JEMALLOC) | if(WITH_MEM_JEMALLOC) | ||||
| # jemalloc provides malloc hooks. | # jemalloc provides malloc hooks. | ||||
| set(WITH_LIBC_MALLOC_HOOK_WORKAROUND False) | set(WITH_LIBC_MALLOC_HOOK_WORKAROUND False) | ||||
| else() | else() | ||||
| set(WITH_LIBC_MALLOC_HOOK_WORKAROUND True) | set(WITH_LIBC_MALLOC_HOOK_WORKAROUND True) | ||||
| endif() | endif() | ||||
| if(CMAKE_COMPILER_IS_GNUCC AND | |||||
| CMAKE_C_COMPILER_VERSION VERSION_LESS 9.3) | |||||
| message(FATAL_ERROR "GCC version must be at least 9.3 for precompiled libraries, found ${CMAKE_C_COMPILER_VERSION}") | |||||
| endif() | |||||
| endif() | endif() | ||||
| # Avoid namespace pollustion. | # Avoid namespace pollustion. | ||||
| unset(LIBDIR_NATIVE_ABI) | unset(LIBDIR_NATIVE_ABI) | ||||
| unset(LIBDIR_CENTOS7_ABI) | unset(LIBDIR_CENTOS7_ABI) | ||||
| endif() | endif() | ||||
| # Support restoring this value once pre-compiled libraries have been handled. | # Support restoring this value once pre-compiled libraries have been handled. | ||||
| ▲ Show 20 Lines • Show All 1,064 Lines • Show Last 20 Lines | |||||