search for: libcxx_has_pthread_lib

Displaying 5 results from an estimated 5 matches for "libcxx_has_pthread_lib".

2020 Sep 22
2
Unifying CMake variable names used in checks across subprojects
...e caches the resulting variable and doesn't run the check again. The problem is that in LLVM, each subproject uses different variable names for results of these checks. For example, most subprojects check if pthread is available and store the result in: COMPILER_RT_HAS_LIBPTHREAD (compiler-rt) LIBCXX_HAS_PTHREAD_LIB (libc++) LIBCXXABI_HAS_PTHREAD_LIB (libc++abi) LIBUNWIND_HAS_PTHREAD_LIB (libunwind) HAVE_LIBPTHREAD (llvm) This means that even though this check would ideally be performed just once (per target) and reused everywhere, it's performed 5 times. The same is true for most flags and library checks...
2020 Sep 22
2
Unifying CMake variable names used in checks across subprojects
...sulting variable and doesn't run the check again. The problem is that in LLVM, each subproject uses different variable names for results of these checks. For example, most subprojects check if pthread is available and store the result in: > > COMPILER_RT_HAS_LIBPTHREAD (compiler-rt) > LIBCXX_HAS_PTHREAD_LIB (libc++) > LIBCXXABI_HAS_PTHREAD_LIB (libc++abi) > LIBUNWIND_HAS_PTHREAD_LIB (libunwind) > HAVE_LIBPTHREAD (llvm) > > This means that even though this check would ideally be performed just once (per target) and reused everywhere, it's performed 5 times. The same is true for most...
2020 Sep 25
2
Unifying CMake variable names used in checks across subprojects
...able and doesn't run the check again. The problem is that in LLVM, each subproject uses different variable names for results of these checks. For example, most subprojects check if pthread is available and store the result in: >> >> COMPILER_RT_HAS_LIBPTHREAD (compiler-rt) >> LIBCXX_HAS_PTHREAD_LIB (libc++) >> LIBCXXABI_HAS_PTHREAD_LIB (libc++abi) >> LIBUNWIND_HAS_PTHREAD_LIB (libunwind) >> HAVE_LIBPTHREAD (llvm) >> >> This means that even though this check would ideally be performed just once (per target) and reused everywhere, it's performed 5 times. The s...
2017 Feb 11
2
Asan self host problems: Failed to deallocate
Trying to run a self host "ninja check-clang" with ASan enabled I hit a /lot/ of errors like this (strangely I hit none of these in check-llvm, only in check-clang): Any ideas? ==10525==ERROR: AddressSanitizer failed to deallocate 0x10800 (67584) bytes at address 0x631000014800 ==10525==AddressSanitizer CHECK failed:
2017 Feb 15
2
Asan self host problems: Failed to deallocate
...LIBCXX_HAS_NO_GR_FLAG LIBCXX_HAS_NO_GR_FLAG:INTERNAL= //Test LIBCXX_HAS_NO_OMIT_FRAME_POINTER_FLAG LIBCXX_HAS_NO_OMIT_FRAME_POINTER_FLAG:INTERNAL=1 //Test LIBCXX_HAS_NO_WX_FLAG LIBCXX_HAS_NO_WX_FLAG:INTERNAL= //Test LIBCXX_HAS_PEDANTIC_FLAG LIBCXX_HAS_PEDANTIC_FLAG:INTERNAL=1 //Have library pthread LIBCXX_HAS_PTHREAD_LIB:INTERNAL=1 //Have library rt LIBCXX_HAS_RT_LIB:INTERNAL=1 //Test LIBCXX_HAS_STDCXX0X_FLAG LIBCXX_HAS_STDCXX0X_FLAG:INTERNAL=1 //Test LIBCXX_HAS_STDCXX11_FLAG LIBCXX_HAS_STDCXX11_FLAG:INTERNAL=1 //Test LIBCXX_HAS_STDCXX1Y_FLAG LIBCXX_HAS_STDCXX1Y_FLAG:INTERNAL=1 //Test LIBCXX_HAS_WALL_FLAG LIBCXX_HA...