8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
CheckAtomic.cmake
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was trying to get qcoro to build with Ninja and LLVM Clang on Windows but it seems that the std::atomic check in CheckAtomic always fails.
Ninja
LLVM Clang
std::atomic
CheckAtomic
Short log
1> [CMake] -- The CXX compiler identification is Clang 15.0.7 with GNU-like command-line 1> [CMake] -- Detecting CXX compiler ABI info 1> [CMake] -- Detecting CXX compiler ABI info - done 1> [CMake] -- Check for working CXX compiler: C:/Program Files/LLVM/bin/clang++.exe - skipped 1> [CMake] -- Detecting CXX compile features 1> [CMake] -- Detecting CXX compile features - done 1> [CMake] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD 1> [CMake] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed 1> [CMake] -- Looking for pthread_create in pthreads 1> [CMake] -- Looking for pthread_create in pthreads - not found 1> [CMake] -- Looking for pthread_create in pthread 1> [CMake] -- Looking for pthread_create in pthread - not found 1> [CMake] -- Check if compiler accepts -pthread 1> [CMake] -- Check if compiler accepts -pthread - no 1> [CMake] -- Found Threads: TRUE 1> [CMake] -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB 1> [CMake] -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Failed 1> [CMake] -- Performing Test HAVE_CXX_ATOMICS_WITH_LIB 1> [CMake] -- Performing Test HAVE_CXX_ATOMICS_WITH_LIB - Failed 1> [CMake] CMake Error at cmake/CheckAtomic.cmake:37 (message): 1> [CMake] Host compiler must support std::atomic! 1> [CMake] Call Stack (most recent call first): 1> [CMake] CMakeLists.txt:44 (include) 1> [CMake] -- Configuring incomplete, errors occurred!
Cmake error/output logs:
CMakeError.log CMakeOutput.log
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I was trying to get qcoro to build with
Ninja
andLLVM Clang
on Windows but it seems that thestd::atomic
check inCheckAtomic
always fails.Short log
Cmake error/output logs:
CMakeError.log
CMakeOutput.log
The text was updated successfully, but these errors were encountered: