We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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?
to your account
After running vcpkg install curl , running grep HAVE_POLL_FINE <VCPKG_DIR>/buildtrees/curl/x64-linux-rel/lib/curl_config.h, it shows
vcpkg install curl
grep HAVE_POLL_FINE <VCPKG_DIR>/buildtrees/curl/x64-linux-rel/lib/curl_config.h
/* #undef HAVE_POLL_FINE */
Without poll API, curl multi-api cannot handle more than 1024 concurrent connections with select API.
curl build with poll api supported: HAVE_POLL_FINE should be defined in curl_config.h
Linux phillip-dev 5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
CMake script skip detecting poll API if CMAKE_TOOLCHAIN_FILE defined(My guess: skip detecting POLL API if cross-compile). CMAKE_TOOLCHAIN_FILE is always defined in vcpkg:https://vcpkg.io/en/docs/maintainers/vcpkg_cmake_configure.html#implicit-options
The text was updated successfully, but these errors were encountered:
OtherTests.cmake: check for cross-compile, not for toolchain
Build systems like vcpkg alway sets `CMAKE_TOOLCHAIN_FILE` so it should
not be used as a sign that this is a cross-compile.
Also indented the function correctly.
Reported-by: Philip Chan
Does #9923 fix the problem for you?
Sorry, something went wrong.
@bagder Yes it does fix the problem.
Excellent, thanks for confirming!
Successfully merging a pull request may close this issue.