Skip to content
New issue

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

Add andreasbuhr-cppcoro/cci.20210113 #4629

Merged
merged 15 commits into from
Jun 22, 2021

Conversation

hnOsmium0001
Copy link
Contributor

@hnOsmium0001 hnOsmium0001 commented Feb 20, 2021

Specify library name and version: andreasbuhr-cppcoro/cci.20210113

Closes #3293
This PR packages https://github.com/andreasbuhr/cppcoro instead of https://github.com/lewissbaker/cppcoro because the latter (original version) seems unmaintained and lacks a CMake buildscript. See lewissbaker/cppcoro#170

  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

@conan-center-bot

This comment has been minimized.

@hnOsmium0001
Copy link
Contributor Author

hnOsmium0001 commented Feb 20, 2021

Is compiler.cppstd the correct flag to set in recipes to mandate a minimum compiler version? The errors on linux/gcc look expected: gcc <10 doesn't support coroutines at all.

Well I should've read the documentation more... It's settings = ... "compiler": { "gcc": { "version": [10] } ...

@conan-center-bot

This comment has been minimized.

@hnOsmium0001
Copy link
Contributor Author

This interesting, I thought MSVC doesn't need the /await flag for coroutines anymore if /std:c++latest? And it's the case locally too.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@hnOsmium0001
Copy link
Contributor Author

hnOsmium0001 commented Feb 22, 2021

Windows and MacOS done. Linux's situation is a bit awkward because all the combination you can get with gcc/clang and libstdc++/libc++
Several problems:

  • gcc 10 + its libstdc++ works fine (not on CI now, tested locally). Clang 6 and above + gcc 10 libstdc++ should also work fine, but as far as I know there is no way to detect libcxx version This won't work because inconsistencies between how gcc and clang implements coroutine. Should be able to remove the restriction once both implements the final coroutine TS.
  • For some reason clang 6 libc++ works, but not clang 7. I'll try to setup a local environment to test later.
    • Test result: seems like a false positive, both clang 6 and 7 don't work

@uilianries
Copy link
Member

uilianries commented Feb 22, 2021

According Compiler support page, Coroutines is only available since Clang 8.0.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@hnOsmium0001
Copy link
Contributor Author

hnOsmium0001 commented Feb 23, 2021

I have zero clue why does clang 11 with libc++ doesn't build on CI (seems like coroutine library stuff are not there?). It works completely fine locally.
I suspect it's a problem with the new CI missing some components?

Details
[HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK
[HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK
[HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK
[HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK
[HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK
[HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK
[HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 5.52734375 KB
[HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK
[HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None
[HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: CMakeLists.txt
[HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] OK
[HOOK - conan-center.py] pre_export(): [TEST PACKAGE FOLDER (KB-H024)] OK
[HOOK - conan-center.py] pre_export(): [META LINES (KB-H025)] OK
[HOOK - conan-center.py] pre_export(): [CONAN CENTER INDEX URL (KB-H027)] OK
[HOOK - conan-center.py] pre_export(): [CMAKE MINIMUM VERSION (KB-H028)] OK
[HOOK - conan-center.py] pre_export(): [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] OK
[HOOK - conan-center.py] pre_export(): [SYSTEM REQUIREMENTS (KB-H032)] OK
[HOOK - conan-center.py] pre_export(): [CONANDATA.YML FORMAT (KB-H030)] OK
[HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO IMPORTS() (KB-H034)] OK
[HOOK - conan-center.py] pre_export(): [NO AUTHOR (KB-H037)] OK
[HOOK - conan-center.py] pre_export(): [NO TARGET NAME (KB-H040)] OK
[HOOK - conan-center.py] pre_export(): [NO FINAL ENDLINE (KB-H041)] OK
[HOOK - conan-center.py] pre_export(): [NO REQUIRES.ADD() (KB-H044)] OK
[HOOK - conan-center.py] pre_export(): [DELETE OPTIONS (KB-H045)] OK
[HOOK - conan-center.py] pre_export(): [NO ASCII CHARACTERS (KB-H047)] OK
[HOOK - conan-center.py] pre_export(): [CMAKE VERBOSE MAKEFILE (KB-H046)] OK
[HOOK - conan-center.py] pre_export(): [CMAKE VERSION REQUIRED (KB-H048)] OK
[HOOK - conan-center.py] pre_export(): [CMAKE WINDOWS EXPORT ALL SYMBOLS (KB-H049)] OK
[HOOK - conan-center.py] pre_export(): [DEFAULT OPTIONS AS DICTIONARY (KB-H051)] OK
[HOOK - conan-center.py] pre_export(): [CONFIG.YML HAS NEW VERSION (KB-H052)] OK
[HOOK - conan-center.py] pre_export(): [PRIVATE IMPORTS (KB-H053)] OK
Exporting package recipe
andreasbuhr-cppcoro/cci.20210113 exports: File 'conandata.yml' found. Exporting it...
andreasbuhr-cppcoro/cci.20210113 exports: Copied 1 '.yml' file: conandata.yml
andreasbuhr-cppcoro/cci.20210113 exports_sources: Copied 1 '.txt' file: CMakeLists.txt
[HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] Saving conandata.yml: {'sources': {'cci.20210113': {'url': 'https://github.com/andreasbuhr/cppcoro/archive/7cc9433436fe8f2482138019cfaafce8e1d7a896.zip', 'sha256': '5edc72bb19616ae5b794c7d83f9a5d4973f32c966f1966ab81779d3a38b36a2c'}}}
[HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] New conandata.yml contents: sources:
  cci.20210113:
    sha256: 5edc72bb19616ae5b794c7d83f9a5d4973f32c966f1966ab81779d3a38b36a2c
    url: https://github.com/andreasbuhr/cppcoro/archive/7cc9433436fe8f2482138019cfaafce8e1d7a896.zip

[HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] OK
[HOOK - conan-center.py] post_export(): [DEFAULT SHARED OPTION VALUE (KB-H050)] OK
andreasbuhr-cppcoro/cci.20210113: A new conanfile.py version was exported
andreasbuhr-cppcoro/cci.20210113: Folder: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/export
andreasbuhr-cppcoro/cci.20210113: Package recipe modified in export, forcing source folder removal
andreasbuhr-cppcoro/cci.20210113: Use the --keep-source, -k option to skip it
andreasbuhr-cppcoro/cci.20210113: Exported revision: a991b8d05f9e84696a0fa1387b1858ea
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=clang
compiler.libcxx=libc++
compiler.version=11
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
CC=/usr/bin/clang
CXX=/usr/bin/clang++
andreasbuhr-cppcoro/cci.20210113: Forced build from source
andreasbuhr-cppcoro/cci.20210113 (test package): Installing package
Requirements
    andreasbuhr-cppcoro/cci.20210113 from local cache - Cache
Packages
    andreasbuhr-cppcoro/cci.20210113:5123c6a281213ff9b37e6cf441b7be9ce4182462 - Build

Installing (downloading, building) binaries...
[HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK
andreasbuhr-cppcoro/cci.20210113: Configuring sources in /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/source
Downloading 7cc9433436fe8f2482138019cfaafce8e1d7a896.zip completed [303.24k]

Unzipping 1.0MB, this can take a while
Unzipping 100 %
[HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK
[HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK
andreasbuhr-cppcoro/cci.20210113: Copying sources to build folder
andreasbuhr-cppcoro/cci.20210113: Building your package in /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/build/5123c6a281213ff9b37e6cf441b7be9ce4182462
andreasbuhr-cppcoro/cci.20210113: Generator cmake created conanbuildinfo.cmake
[HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed
[HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK
andreasbuhr-cppcoro/cci.20210113: Calling build()
-- The CXX compiler identification is Clang 11.1.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: called by CMake conan helper
-- Conan: called inside local cache
-- Conan: Adjusting output directories
-- Conan: Using cmake global configuration
-- Conan: Adjusting default RPATHs Conan policies
-- Conan: Adjusting language standard
-- Conan: Adjusting fPIC flag (ON)
-- Conan: Compiler Clang>=8, checking major version 11
-- Conan: Checking correct version: 11
-- Conan: C++ stdlib: libc++
C++ version not set. Defaulting to CMAKE_CXX_STANDARD=20
-- Performing Test _CXX_COROUTINES_SUPPORTS_MS_FLAG
-- Performing Test _CXX_COROUTINES_SUPPORTS_MS_FLAG - Failed
-- Performing Test _CXX_COROUTINES_SUPPORTS_MS_HEAPELIDE_FLAG
-- Performing Test _CXX_COROUTINES_SUPPORTS_MS_HEAPELIDE_FLAG - Failed
-- Performing Test _CXX_COROUTINES_SUPPORTS_TS_FLAG
-- Performing Test _CXX_COROUTINES_SUPPORTS_TS_FLAG - Success
-- Performing Test _CXX_COROUTINES_SUPPORTS_CORO_FLAG
-- Performing Test _CXX_COROUTINES_SUPPORTS_CORO_FLAG - Failed
-- Looking for C++ include coroutine
-- Looking for C++ include coroutine - not found
-- Looking for C++ include coroutine
-- Looking for C++ include coroutine - not found
-- Looking for C++ include experimental/coroutine
-- Looking for C++ include experimental/coroutine - found
-- Performing Test CXX_COROUTINES_NO_AWAIT_NEEDED
-- Performing Test CXX_COROUTINES_NO_AWAIT_NEEDED - Success
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_INSTALL_BINDIR
    CMAKE_INSTALL_DATAROOTDIR
    CMAKE_INSTALL_INCLUDEDIR
    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_LIBEXECDIR
    CMAKE_INSTALL_OLDINCLUDEDIR
    CMAKE_INSTALL_SBINDIR


-- Build files have been written to: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/build/5123c6a281213ff9b37e6cf441b7be9ce4182462
Scanning dependencies of target cppcoro
[ 10%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/async_mutex.cpp.o
[ 10%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/cancellation_registration.cpp.o
[ 15%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/async_auto_reset_event.cpp.o
[ 21%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/cancellation_token.cpp.o
[ 26%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/cancellation_state.cpp.o
[ 31%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/async_manual_reset_event.cpp.o
[ 36%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/cancellation_source.cpp.o
[ 42%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/lightweight_manual_reset_event.cpp.o
[ 47%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/ip_address.cpp.o
[ 52%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/ip_endpoint.cpp.o
[ 57%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/ipv4_address.cpp.o
[ 63%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/ipv4_endpoint.cpp.o
[ 68%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/ipv6_address.cpp.o
[ 73%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/ipv6_endpoint.cpp.o
[ 78%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/static_thread_pool.cpp.o
[ 84%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/auto_reset_event.cpp.o
[ 89%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/spin_wait.cpp.o
[ 94%] Building CXX object source_subfolder/lib/CMakeFiles/cppcoro.dir/spin_mutex.cpp.o
[100%] Linking CXX static library ../../lib/libcppcoro.a
[100%] Built target cppcoro
andreasbuhr-cppcoro/cci.20210113: Package '5123c6a281213ff9b37e6cf441b7be9ce4182462' built
andreasbuhr-cppcoro/cci.20210113: Build folder /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/build/5123c6a281213ff9b37e6cf441b7be9ce4182462
andreasbuhr-cppcoro/cci.20210113: Generated conaninfo.txt
andreasbuhr-cppcoro/cci.20210113: Generated conanbuildinfo.txt
andreasbuhr-cppcoro/cci.20210113: Generating the package
andreasbuhr-cppcoro/cci.20210113: Package folder /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462
andreasbuhr-cppcoro/cci.20210113: Calling package()
[100%] Built target cppcoro
Install the project...
-- Install configuration: "Release"
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/cancellation_token.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/file_share_mode.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/async_latch.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/net
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/net/socket_recv_from_operation.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/net/socket_send_operation.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/net/socket_recv_operation.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/net/socket_disconnect_operation.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/net/socket_send_to_operation.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/net/ip_address.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/net/socket_accept_operation.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/net/ip_endpoint.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/net/socket.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/net/ipv6_address.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/net/ipv6_endpoint.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/net/ipv4_endpoint.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/net/ipv4_address.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/net/socket_connect_operation.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/file_write_operation.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/file_open_mode.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/async_manual_reset_event.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/writable_file.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/on_scope_exit.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/resume_on.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/readable_file.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/recursive_generator.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/config.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/cancellation_registration.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/shared_task.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/read_only_file.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/static_thread_pool.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/io_service.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/operation_cancelled.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/sequence_barrier.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/async_scope.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/sync_wait.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/multi_producer_sequencer.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/sequence_range.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/file_buffering_mode.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/broken_promise.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/generator.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/single_consumer_event.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/read_write_file.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/filesystem.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/task.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/single_producer_sequencer.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/awaitable_traits.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/fmap.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/file.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/is_awaitable.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/cancellation_source.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/async_generator.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/when_all.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/single_consumer_async_auto_reset_event.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/sequence_traits.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/file_read_operation.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/coroutine.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/inline_scheduler.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/write_only_file.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/async_auto_reset_event.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/schedule_on.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/round_robin_scheduler.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/detail
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/detail/lightweight_manual_reset_event.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/detail/manual_lifetime.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/detail/when_all_task.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/detail/any.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/detail/get_awaiter.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/detail/win32.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/detail/unwrap_reference.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/detail/when_all_ready_awaitable.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/detail/void_value.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/detail/win32_overlapped_operation.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/detail/is_awaiter.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/detail/sync_wait_task.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/detail/when_all_counter.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/detail/remove_rvalue_reference.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/async_mutex.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/include/cppcoro/when_all_ready.hpp
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/lib/cmake/cppcoro/FindCoroutines.cmake
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/lib/cmake/cppcoro/cppcoroTargets.cmake
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/lib/cmake/cppcoro/cppcoroTargets-release.cmake
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/lib/cmake/cppcoro/cppcoroConfig.cmake
-- Installing: /home/hnosm/.conan/data/andreasbuhr-cppcoro/cci.20210113/_/_/package/5123c6a281213ff9b37e6cf441b7be9ce4182462/lib/libcppcoro.a
[HOOK - conan-center.py] post_package(): [PACKAGE LICENSE (KB-H012)] OK
[HOOK - conan-center.py] post_package(): [DEFAULT PACKAGE LAYOUT (KB-H013)] OK
[HOOK - conan-center.py] post_package(): [MATCHING CONFIGURATION (KB-H014)] OK
[HOOK - conan-center.py] post_package(): [SHARED ARTIFACTS (KB-H015)] OK
[HOOK - conan-center.py] post_package(): [PC-FILES (KB-H020)] OK
[HOOK - conan-center.py] post_package(): [CMAKE-MODULES-CONFIG-FILES (KB-H016)] OK
[HOOK - conan-center.py] post_package(): [PDB FILES NOT ALLOWED (KB-H017)] OK
[HOOK - conan-center.py] post_package(): [LIBTOOL FILES PRESENCE (KB-H018)] OK
[HOOK - conan-center.py] post_package(): [MS RUNTIME FILES (KB-H021)] OK
andreasbuhr-cppcoro/cci.20210113 package(): Packaged 77 '.hpp' files
andreasbuhr-cppcoro/cci.20210113 package(): Packaged 1 '.a' file: libcppcoro.a
andreasbuhr-cppcoro/cci.20210113 package(): Packaged 1 '.txt' file: LICENSE.txt
andreasbuhr-cppcoro/cci.20210113: Package '5123c6a281213ff9b37e6cf441b7be9ce4182462' created
andreasbuhr-cppcoro/cci.20210113: Created package revision e8066d1ba0b5df6f608d1d6e119e227a
[HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK
andreasbuhr-cppcoro/cci.20210113 (test package): Generator txt created conanbuildinfo.txt
andreasbuhr-cppcoro/cci.20210113 (test package): Generator cmake created conanbuildinfo.cmake
andreasbuhr-cppcoro/cci.20210113 (test package): Generated conaninfo.txt
andreasbuhr-cppcoro/cci.20210113 (test package): Generated graphinfo
Using lockfile: '/home/hnosm/Development/Library/conan-center-index/recipes/andreasbuhr-cppcoro/all/test_package/build/35b274e33a40ffef67efb41e9a66ef2c8d55e56c/conan.lock'
Using cached profile from lockfile
[HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found
[HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK
andreasbuhr-cppcoro/cci.20210113 (test package): Calling build()
-- The C compiler identification is Clang 11.1.0
-- The CXX compiler identification is Clang 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: called by CMake conan helper
-- Conan: Adjusting output directories
-- Conan: Using cmake global configuration
-- Conan: Adjusting default RPATHs Conan policies
-- Conan: Adjusting language standard
-- Conan: Compiler Clang>=8, checking major version 11
-- Conan: Checking correct version: 11
-- Conan: C++ stdlib: libc++
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_INSTALL_BINDIR
    CMAKE_INSTALL_DATAROOTDIR
    CMAKE_INSTALL_INCLUDEDIR
    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_LIBEXECDIR
    CMAKE_INSTALL_OLDINCLUDEDIR
    CMAKE_INSTALL_SBINDIR


-- Build files have been written to: /home/hnosm/Development/Library/conan-center-index/recipes/andreasbuhr-cppcoro/all/test_package/build/35b274e33a40ffef67efb41e9a66ef2c8d55e56c
Scanning dependencies of target test_package
[ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o
[100%] Linking CXX executable bin/test_package
[100%] Built target test_package
andreasbuhr-cppcoro/cci.20210113 (test package): Running test()
yielded 0
yielded 1
success

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

SSE4
SSE4 previously approved these changes Jun 17, 2021
Copy link
Contributor

@jgsogo jgsogo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor changes 😺

recipes/andreasbuhr-cppcoro/all/conanfile.py Show resolved Hide resolved
recipes/andreasbuhr-cppcoro/all/conanfile.py Outdated Show resolved Hide resolved
recipes/andreasbuhr-cppcoro/all/conanfile.py Show resolved Hide resolved
@conan-center-bot

This comment has been minimized.

jgsogo
jgsogo previously approved these changes Jun 18, 2021
uilianries
uilianries previously approved these changes Jun 18, 2021
recipes/andreasbuhr-cppcoro/all/CMakeLists.txt Outdated Show resolved Hide resolved
recipes/andreasbuhr-cppcoro/all/CMakeLists.txt Outdated Show resolved Hide resolved
if self.settings.compiler == "clang" and self.settings.compiler.get_safe("libcxx") == "libstdc++":
raise ConanInvalidConfiguration("{} does not support clang with libstdc++. Use libc++ instead.".format(self.name))

# TODO remove once figured out why clang 11/libc++ doesn't build on CCI
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

recipes/andreasbuhr-cppcoro/all/conanfile.py Outdated Show resolved Hide resolved
recipes/andreasbuhr-cppcoro/all/conanfile.py Outdated Show resolved Hide resolved
recipes/andreasbuhr-cppcoro/all/test_package/conanfile.py Outdated Show resolved Hide resolved
@hnOsmium0001 hnOsmium0001 dismissed stale reviews from uilianries and jgsogo via 9a7ff81 June 19, 2021 01:45
@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

All green in build 18 (0029102509a0e5bb5477169144d5c2e021528ca4):

  • andreasbuhr-cppcoro/cci.20210113@:
    All packages built successfully! (All logs)

@conan-center-bot conan-center-bot merged commit 31bc518 into conan-io:master Jun 22, 2021
@hnOsmium0001 hnOsmium0001 deleted the andreasbuhr-cppcoro branch June 25, 2021 05:19
@SpaceIm
Copy link
Contributor

SpaceIm commented Jul 6, 2021

hey, this recipe doesn't propagate the produced library in package_info() (self.cpp_info.components["cppcoro"].libs is empty, it took me few seconds to realize since we use to avoid indirection in components, component which is useless by the way), which means that... test package doesn't test link to the library.

@SpaceIm
Copy link
Contributor

SpaceIm commented Jul 6, 2021

I've opened #6197. @hnOsmium0001, it would be nice if you could provide an example testing symbols in the lib. I'm too lazy to dig into this lib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[request] cppcoro/latest
8 participants