search for: check_symbol_exists

Displaying 4 results from an estimated 4 matches for "check_symbol_exists".

2008 Nov 12
0
[LLVMdev] [PATCH] Enable malloc_zone_statistics() in Mac OS X (cmake)
...e/config-ix.cmake | 1 + include/llvm/Config/config.h.cmake | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index b8be58e..1f178c7 100755 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -49,6 +49,7 @@ check_symbol_exists(isnan math.h HAVE_ISNAN_IN_MATH_H) check_symbol_exists(ceilf math.h HAVE_CEILF) check_symbol_exists(floorf math.h HAVE_FLOORF) check_symbol_exists(mallinfo malloc.h HAVE_MALLINFO) +check_symbol_exists(malloc_zone_statistics malloc/malloc.h HAVE_MALLOC_ZONE_STATISTICS) check_symbol_exists(pthrea...
2014 Apr 03
2
[LLVMdev] r204593 breaks Asan tests on FreeBSD
...l to link due to omitted reference to libcxxrt. The quick fix is trivial: --- Index: cmake/config-ix.cmake =================================================================== --- cmake/config-ix.cmake (revision 205543) +++ cmake/config-ix.cmake (working copy) @@ -17,6 +17,7 @@ # Used by check_symbol_exists: set(CMAKE_REQUIRED_LIBRARIES m) endif() +list(APPEND CMAKE_REQUIRED_LIBRARIES ${LLVM_CONFIG_TEST_LIBRARIES}) # Helper macros and functions macro(add_cxx_include result files) --- Do you think this fix would make sense for building llvm on other platforms? I mean, do you think it looks...
2017 May 29
0
[PATCH] Add CMake build script
...set(SIZE32 int32_t) +set(USIZE32 uint32_t) +set(SIZE64 int64_t) +configure_file(include/speex/speex_config_types.h.in include/speex/speex_config_types.h @ONLY) + +test_vararrays(VAR_ARRAYS) +if(NOT VAR_ARRAYS) + check_include_file(alloca.h HAVE_ALLOCA_H) + if(WIN32) + set(USE_ALLOCA 1) + else() + check_symbol_exists(alloca "stdlib.h;alloca.h" USE_ALLOCA) + endif() +endif() + +option(ENABLE_FLOATING_POINT "Compile as floating-point" ON) +option(ENABLE_FIXED_POINT "Compile as fixed-point" OFF) + + +if(ENABLE_FLOATING_POINT AND ENABLE_FIXED_POINT) + message(FATAL_ERROR "Select...
2014 Apr 01
2
[LLVMdev] r204593 breaks Asan tests on FreeBSD
On Tue, Apr 1, 2014 at 1:23 PM, Ivan A. Kosarev <ivan at ivan-labs.com> wrote: > Hi Alexey, > > > On 03/31/2014 09:58 PM, Alexey Samsonov wrote: > > On FreeBSD 9.2 I add a couple custom options to CMAKE_CXX_FLAGS in order > to let clang know which header set it should use, like that: > >> >>> CC=clang CXX=clang++ cmake \ >>>