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

libcudacxx: new recipe #22229

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

libcudacxx: new recipe #22229

wants to merge 10 commits into from

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Jan 9, 2024

Adds libcudacxx: libcu++, the NVIDIA C++ Standard Library

Required by the newer versions of cub and thrust.

It's part of the CUDA C++ Core Libraries (CCCL), which I intend to add as a meta-package later.

Packaging status

Related:

@valgur
Copy link
Contributor Author

valgur commented Jan 9, 2024

@rymut pinging you as it's quite relevant for the packaging of CUDA 12.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Jan 9, 2024

Hooks produced the following warnings for commit 8d272bc
libcudacxx/2.2.0@#e7c70b0e5d5ec77db553494ee65e0315
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_strict_weak_order.compile.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/indirectly_readable_traits.compile.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/iterators/iterator.requirements/iterator.assoc.types/incrementable.traits/incrementable_traits.compile.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/sized_sentinel_for.compile.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/bidirectional_iterator.compile.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.winc/weakly_incrementable.compile.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/random_access_iterator.compile.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.writable/indirectly_writable.compile.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.iterator/input_or_output_iterator.compile.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.readable/indirectly_readable.compile.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_assign/rv_value.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_increment/pre.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_assign/rv_value.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_advance_back/difference_type.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.make/make_reverse_iterator.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_advance/difference_type.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op_assign/reverse_iterator.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './.upstream-tests/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong_explicit.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_regular_unary_invocable.compile.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/random_access_iterator.compile.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_values.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/memory_resource_convert.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/experimental/func/func.searchers/func.searchers.default/func.searchers.default.creation/make_default_searcher.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.comparison_function_objects/less_equal.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/convertible_element_type.explicit.ctor.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.assignment/move_assign_convertible.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/operator_element_type_ptr.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/operator_element_type_ptr.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator_throw.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/try_lock.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/try_lock_for.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/try_lock_for.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_for.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/lock.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct/locale.moneypunct.virtuals/tested_elsewhere.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_ru_RU.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/unsigned_char_pointer.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_long_long.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/libcxx/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_piecewise_pair.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/libcxx/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/native_handle.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.
post_source(): WARN: [SHORT_PATHS USAGE (KB-H066)] The file './libcxx/test/libcxx/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/native_handle.pass.cpp' has a very long path and may exceed Windows max path length. Add 'short_paths = True' in your recipe.

@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.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 3 (83aef05d5a8b4f350689307291ad18989c737d3a):

  • libcudacxx/2.6.1:
    CI failed to create some packages (All logs)

    Logs for packageID 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    
    [...]
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Conan: Target declared '_libcudacxx_do_not_use'
    -- Conan: Including build module from '/home/conan/workspace/prod-v1/bsr/102512/bcaeb/.conan/data/libcudacxx/2.6.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib/cmake/libcudacxx-config-official.cmake'
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/conan/workspace/prod-v1/bsr/cci-326e7624/recipes/libcudacxx/all/test_package/build/Release
    libcudacxx/2.6.1 (test package): CMake command: cmake --build "/home/conan/workspace/prod-v1/bsr/cci-326e7624/recipes/libcudacxx/all/test_package/build/Release" '--' '-j3'
    
    ----Running------
    > cmake --build "/home/conan/workspace/prod-v1/bsr/cci-326e7624/recipes/libcudacxx/all/test_package/build/Release" '--' '-j3'
    -----------------
    Scanning dependencies of target test_package
    [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o
    CMakeFiles/test_package.dir/build.make:81: recipe for target 'CMakeFiles/test_package.dir/test_package.cpp.o' failed
    CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/test_package.dir/all' failed
    Makefile:102: recipe for target 'all' failed
    LIBCUDACXX_VERSION: 2.6.1
    LIBCUDACXX_VERSION_MAJOR: 2
    LIBCUDACXX_VERSION_MINOR: 6
    LIBCUDACXX_VERSION_PATCH: 1
    LIBCUDACXX_VERSION_TWEAK: 0
    LIBCUDACXX_VERSION_COUNT: 3
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_POLICY_DEFAULT_CMP0091
    
    
    In file included from /home/conan/workspace/prod-v1/bsr/102512/bcaeb/.conan/data/libcudacxx/2.6.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/cuda/std/atomic:38:0,
                     from /home/conan/workspace/prod-v1/bsr/cci-326e7624/recipes/libcudacxx/all/test_package/test_package.cpp:1:
    /home/conan/workspace/prod-v1/bsr/102512/bcaeb/.conan/data/libcudacxx/2.6.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/cuda/std/__atomic/platform.h: In instantiation of ‘struct cuda::std::__4::__atomic_is_always_lock_free<int>’:
    /home/conan/workspace/prod-v1/bsr/102512/bcaeb/.conan/data/libcudacxx/2.6.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/cuda/std/__atomic/types.h:35:51:   required from ‘constexpr const bool cuda::std::__4::__atomic_traits<int>::__atomic_requires_lock’
    /home/conan/workspace/prod-v1/bsr/102512/bcaeb/.conan/data/libcudacxx/2.6.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/cuda/std/__atomic/types.h:45:110:   required by substitution of ‘template<class _Tp> using __atomic_storage_t = cuda::std::__4::_If<cuda::std::__4::__atomic_traits<_Tp>::__atomic_requires_small, cuda::std::__4::__atomic_small_storage<_Tp>, typename cuda::std::__4::_IfImpl<cuda::std::__4::__atomic_traits<_Tp>::__atomic_requires_lock>::_Select<cuda::std::__4::__atomic_locked_storage<_Tp>, cuda::std::__4::__atomic_storage<_Tp> > > [with _Tp = int]’
    /home/conan/workspace/prod-v1/bsr/102512/bcaeb/.conan/data/libcudacxx/2.6.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/cuda/std/atomic:581:50:   required from here
    /home/conan/workspace/prod-v1/bsr/102512/bcaeb/.conan/data/libcudacxx/2.6.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/cuda/std/__atomic/platform.h:72:3: error: enumerator value for ‘__value’ is not an integer constant
       {
       ^
    make[2]: *** [CMakeFiles/test_package.dir/test_package.cpp.o] Error 1
    make[1]: *** [CMakeFiles/test_package.dir/all] Error 2
    make: *** [all] Error 2
    WARN: **************************************************
    WARN: *** Conan 1 is legacy and on a deprecation path **
    WARN: *********** Please upgrade to Conan 2 ************
    WARN: **************************************************
    libcudacxx/2.6.1 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    libcudacxx/2.6.1 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    ERROR: libcudacxx/2.6.1 (test package): Error in build() method, line 21
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build "/home/conan/workspace/prod-v1/bsr/cci-326e7624/recipes/libcudacxx/all/test_package/build/Release" '--' '-j3'
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

Failure in build 3 (83aef05d5a8b4f350689307291ad18989c737d3a):

  • libcudacxx/2.6.1:
    CI failed to create some packages (All logs)

    Logs for packageID da39a3ee5e6b4b0d3255bfef95601890afd80709:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=apple-clang
    compiler.cppstd=17
    compiler.libcxx=libc++
    compiler.version=13
    os=Macos
    
    [...]
    In file included from /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/detail/libcxx/include/cstring:72:
    /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/detail/libcxx/include/string.h:133:44: error: redefinition of '__libcpp_strstr'
    inline _LIBCUDACXX_INLINE_VISIBILITY char* __libcpp_strstr(const char* __s1, const char* __s2)
                                               ^
    /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/string.h:101:7: note: previous definition is here
    char* __libcpp_strstr(const char* __s1, const char* __s2) {return (char*)strstr(__s1, __s2);}
          ^
    In file included from /Users/jenkins/workspace/prod-v2/bsr/cci-f6e004d0/recipes/libcudacxx/all/test_package/test_package.cpp:1:
    In file included from /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/atomic:41:
    In file included from /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/__atomic/wait/polling.h:26:
    In file included from /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/__atomic/types.h:24:
    In file included from /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/__atomic/types/base.h:25:
    In file included from /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/__atomic/types/common.h:28:
    In file included from /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/detail/libcxx/include/cstring:72:
    /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/detail/libcxx/include/string.h:138:1: error: redefinition of 'strstr'
    strstr(const char* __s1, const char* __s2)
    ^
    /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/string.h:103:13: note: previous definition is here
    const char* strstr(const char* __s1, const char* __s2) {return __libcpp_strstr(__s1, __s2);}
                ^
    In file included from /Users/jenkins/workspace/prod-v2/bsr/cci-f6e004d0/recipes/libcudacxx/all/test_package/test_package.cpp:1:
    In file included from /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/atomic:41:
    In file included from /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/__atomic/wait/polling.h:26:
    In file included from /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/__atomic/types.h:24:
    In file included from /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/__atomic/types/base.h:25:
    In file included from /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/__atomic/types/common.h:28:
    In file included from /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/detail/libcxx/include/cstring:72:
    /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/detail/libcxx/include/string.h:142:75: error: redefinition of 'strstr'
    inline _LIBCUDACXX_INLINE_VISIBILITY _LIBCUDACXX_PREFERRED_OVERLOAD char* strstr(char* __s1, const char* __s2)
                                                                              ^
    /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/string.h:105:13: note: previous definition is here
          char* strstr(      char* __s1, const char* __s2) {return __libcpp_strstr(__s1, __s2);}
                ^
    In file included from /Users/jenkins/workspace/prod-v2/bsr/cci-f6e004d0/recipes/libcudacxx/all/test_package/test_package.cpp:1:
    In file included from /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/atomic:41:
    In file included from /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/__atomic/wait/polling.h:27:
    /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/detail/libcxx/include/__threading_support:584:43: error: use of undeclared identifier 'errno'
      while (nanosleep(&__ts, &__ts) == -1 && errno == EINTR)
                                              ^
    /Users/jenkins/workspace/prod-v2/bsr/91283/deaad/p/libcuef2bb1f440a8d/p/include/cuda/std/detail/libcxx/include/__threading_support:584:52: error: use of undeclared identifier 'EINTR'
      while (nanosleep(&__ts, &__ts) == -1 && errno == EINTR)
                                                       ^
    17 errors generated.
    make[2]: *** [CMakeFiles/test_package.dir/test_package.cpp.o] Error 1
    make[1]: *** [CMakeFiles/test_package.dir/all] Error 2
    make: *** [all] Error 2
    
    ERROR: libcudacxx/2.6.1 (test package): Error in build() method, line 21
    	cmake.build()
    	ConanException: Error 2 while executing
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

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

Successfully merging this pull request may close these issues.

3 participants