-
Notifications
You must be signed in to change notification settings - Fork 2k
bigint23: new recipe add version 2.0 #27138
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
Open
rwindegger
wants to merge
4
commits into
conan-io:master
Choose a base branch
from
rwindegger:feature/bigint23
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+106
−0
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AbrilRBS
previously approved these changes
Apr 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, this works as expected locally for me, thanks!
We will be looking into adding support for C++23 into the pipeline in the near future
$ conan create . --version=2.0 -b=missing -s="compiler.cppstd=23"
======== Exporting recipe to the cache ========
bigint23/2.0: Exporting package recipe: /Users/abril/coding/conan-center-index/recipes/bigint23/all/conanfile.py
bigint23/2.0: exports: File 'conandata.yml' found. Exporting it...
bigint23/2.0: Copied 1 '.py' file: conanfile.py
bigint23/2.0: Copied 1 '.yml' file: conandata.yml
bigint23/2.0: Exported to cache folder: /Users/abril/.conan2/p/biginf59cfa212fb69/e
bigint23/2.0: Exported: bigint23/2.0#31384f3a58f7ec2600125b7a0fc03fee (2025-04-30 09:06:34 UTC)
======== Input profiles ========
Profile host:
[settings]
arch=armv8
build_type=Release
compiler=apple-clang
compiler.cppstd=23
compiler.libcxx=libc++
compiler.version=16
os=Macos
[tool_requires]
*: ccache/4.10.2
[platform_tool_requires]
cmake/4.0.0
meson/1.7.1
ninja/1.12.1
[replace_tool_requires]
meson/*: meson/[*]
pkgconf/*: pkgconf/[*]
ninja/*: ninja/[*]
cmake/*: cmake/[*]
[conf]
core.download:download_cache=/opt/conan_backups
core.sources:download_cache=/opt/conan_backups
core.sources:download_urls=['https://c3i.jfrog.io/artifactory/conan-center-backup-sources/', 'origin']
Profile build:
[settings]
arch=armv8
build_type=Release
compiler=apple-clang
compiler.cppstd=gnu17
compiler.libcxx=libc++
compiler.version=16
os=Macos
[tool_requires]
*: ccache/4.10.2
[platform_tool_requires]
cmake/4.0.0
meson/1.7.1
ninja/1.12.1
[replace_tool_requires]
meson/*: meson/[*]
pkgconf/*: pkgconf/[*]
ninja/*: ninja/[*]
cmake/*: cmake/[*]
[conf]
core.download:download_cache=/opt/conan_backups
core.sources:download_cache=/opt/conan_backups
core.sources:download_urls=['https://c3i.jfrog.io/artifactory/conan-center-backup-sources/', 'origin']
======== Computing dependency graph ========
Graph root
cli
Requirements
bigint23/2.0#31384f3a58f7ec2600125b7a0fc03fee - Cache
Build requirements
ccache/4.10.2#846894d0be2d48c603bcad2753e7980d - Cache
cmake/4.0.0 - Platform
Replaced requires
cmake/[>=3.28 <4]: cmake/[*]
======== Computing necessary packages ========
Connecting to remote 'conancenter' anonymously
Requirements
bigint23/2.0#31384f3a58f7ec2600125b7a0fc03fee:da39a3ee5e6b4b0d3255bfef95601890afd80709 - Build
Build requirements
ccache/4.10.2#846894d0be2d48c603bcad2753e7980d:9e5323c65b94ae38c3c733fe12637776db0119a5#91a23a70e21cbe629f9b7acb3bb83d42 - Cache
cmake/4.0.0 - Platform
======== Installing packages ========
ccache/4.10.2: Already installed! (1 of 2)
ccache/4.10.2: Finalized folder /Users/abril/.conan2/p/b/ccach1e6bed495b8dd/f
ccache/4.10.2: Finalized folder /Users/abril/.conan2/p/b/ccach1e6bed495b8dd/f
bigint23/2.0: Calling source() in /Users/abril/.conan2/p/biginf59cfa212fb69/s/src
bigint23/2.0: WARN: File https://github.com/rwindegger/bigint23/archive/refs/tags/v2.0.tar.gz not found in https://c3i.jfrog.io/artifactory/conan-center-backup-sources/
bigint23/2.0: Unzipping v2.0.tar.gz to .
-------- Installing package bigint23/2.0 (2 of 2) --------
bigint23/2.0: Building from source
bigint23/2.0: Package bigint23/2.0:da39a3ee5e6b4b0d3255bfef95601890afd80709
bigint23/2.0: Copying sources to build folder
bigint23/2.0: Building your package in /Users/abril/.conan2/p/b/bigin0e7a95b1c4720/b
bigint23/2.0: Calling generate()
bigint23/2.0: Generators folder: /Users/abril/.conan2/p/b/bigin0e7a95b1c4720/b/build/Release/generators
bigint23/2.0: CMakeToolchain generated: conan_toolchain.cmake
bigint23/2.0: CMakeToolchain generated: /Users/abril/.conan2/p/b/bigin0e7a95b1c4720/b/build/Release/generators/CMakePresets.json
bigint23/2.0: CMakeToolchain generated: /Users/abril/.conan2/p/b/bigin0e7a95b1c4720/b/src/CMakeUserPresets.json
bigint23/2.0: Generating aggregated env files
bigint23/2.0: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
bigint23/2.0: Calling build()
bigint23/2.0: Running CMake.configure()
bigint23/2.0: RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/abril/.conan2/p/b/bigin0e7a95b1c4720/p" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/abril/.conan2/p/b/bigin0e7a95b1c4720/b/src"
-- Using Conan toolchain: /Users/abril/.conan2/p/b/bigin0e7a95b1c4720/b/build/Release/generators/conan_toolchain.cmake
-- Conan toolchain: Including user_toolchain: /Users/abril/.conan2/p/b/ccach1e6bed495b8dd/f/ccache-autoinject.cmake
-- /Users/abril/.conan2/p/b/ccach1e6bed495b8dd/f/bin/ccache found and enabled
-- Conan toolchain: Defining libcxx as C++ flags: -stdlib=libc++
-- Conan toolchain: C++ Standard 23 with extensions OFF
-- The C compiler identification is AppleClang 17.0.0.17000013
-- The CXX compiler identification is AppleClang 17.0.0.17000013
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - 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/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (1.4s)
-- Generating done (0.0s)
-- Build files have been written to: /Users/abril/.conan2/p/b/bigin0e7a95b1c4720/b/build/Release
bigint23/2.0: Running CMake.build()
bigint23/2.0: RUN: cmake --build "/Users/abril/.conan2/p/b/bigin0e7a95b1c4720/b/build/Release" -- -j12
Built target bigint
bigint23/2.0: Package 'da39a3ee5e6b4b0d3255bfef95601890afd80709' built
bigint23/2.0: Build folder /Users/abril/.conan2/p/b/bigin0e7a95b1c4720/b/build/Release
bigint23/2.0: Generating the package
bigint23/2.0: Packaging in folder /Users/abril/.conan2/p/b/bigin0e7a95b1c4720/p
bigint23/2.0: Calling package()
bigint23/2.0: Running CMake.install()
bigint23/2.0: RUN: cmake --install "/Users/abril/.conan2/p/b/bigin0e7a95b1c4720/b/build/Release" --prefix "/Users/abril/.conan2/p/b/bigin0e7a95b1c4720/p"
-- Install configuration: "Release"
-- Installing: /Users/abril/.conan2/p/b/bigin0e7a95b1c4720/p/include
-- Installing: /Users/abril/.conan2/p/b/bigin0e7a95b1c4720/p/include/bigint23
-- Installing: /Users/abril/.conan2/p/b/bigin0e7a95b1c4720/p/include/bigint23/bigint.hpp
-- Installing: /Users/abril/.conan2/p/b/bigin0e7a95b1c4720/p/lib/cmake/bigint23/bigintTargets.cmake
-- Installing: /Users/abril/.conan2/p/b/bigin0e7a95b1c4720/p/lib/cmake/bigint23/bigintConfigVersion.cmake
-- Installing: /Users/abril/.conan2/p/b/bigin0e7a95b1c4720/p/lib/cmake/bigint23/bigintConfig.cmake
bigint23/2.0: package(): Packaged 1 file: LICENSE
bigint23/2.0: package(): Packaged 1 '.hpp' file: bigint.hpp
bigint23/2.0: Created package revision ab9778fb48acb5c115de18b1e9d13f7c
bigint23/2.0: Package 'da39a3ee5e6b4b0d3255bfef95601890afd80709' created
bigint23/2.0: Full package reference: bigint23/2.0#31384f3a58f7ec2600125b7a0fc03fee:da39a3ee5e6b4b0d3255bfef95601890afd80709#ab9778fb48acb5c115de18b1e9d13f7c
bigint23/2.0: Package folder /Users/abril/.conan2/p/b/bigin0e7a95b1c4720/p
======== Launching test_package ========
======== Computing dependency graph ========
Graph root
bigint23/2.0 (test package): /Users/abril/coding/conan-center-index/recipes/bigint23/all/test_package/conanfile.py
Requirements
bigint23/2.0#31384f3a58f7ec2600125b7a0fc03fee - Cache
Build requirements
ccache/4.10.2#846894d0be2d48c603bcad2753e7980d - Cache
cmake/4.0.0 - Platform
Replaced requires
cmake/[>=3.28 <4]: cmake/[*]
======== Computing necessary packages ========
Requirements
bigint23/2.0#31384f3a58f7ec2600125b7a0fc03fee:da39a3ee5e6b4b0d3255bfef95601890afd80709#ab9778fb48acb5c115de18b1e9d13f7c - Cache
Build requirements
ccache/4.10.2#846894d0be2d48c603bcad2753e7980d:9e5323c65b94ae38c3c733fe12637776db0119a5#91a23a70e21cbe629f9b7acb3bb83d42 - Cache
Skipped binaries
cmake/4.0.0
======== Installing packages ========
ccache/4.10.2: Already installed! (1 of 2)
ccache/4.10.2: Finalized folder /Users/abril/.conan2/p/b/ccach1e6bed495b8dd/f
bigint23/2.0: Already installed! (2 of 2)
======== Testing the package ========
Removing previously existing 'test_package' build folder: /Users/abril/coding/conan-center-index/recipes/bigint23/all/test_package/build/apple-clang-16-armv8-23-release
bigint23/2.0 (test package): Test package build: build/apple-clang-16-armv8-23-release
bigint23/2.0 (test package): Test package build folder: /Users/abril/coding/conan-center-index/recipes/bigint23/all/test_package/build/apple-clang-16-armv8-23-release
bigint23/2.0 (test package): Writing generators to /Users/abril/coding/conan-center-index/recipes/bigint23/all/test_package/build/apple-clang-16-armv8-23-release/generators
bigint23/2.0 (test package): Generator 'CMakeDeps' calling 'generate()'
bigint23/2.0 (test package): CMakeDeps necessary find_package() and targets for your CMakeLists.txt
find_package(bigint23)
target_link_libraries(... bigint23::bigint23)
bigint23/2.0 (test package): Generator 'CMakeToolchain' calling 'generate()'
bigint23/2.0 (test package): CMakeToolchain generated: conan_toolchain.cmake
bigint23/2.0 (test package): CMakeToolchain generated: /Users/abril/coding/conan-center-index/recipes/bigint23/all/test_package/build/apple-clang-16-armv8-23-release/generators/CMakePresets.json
bigint23/2.0 (test package): CMakeToolchain generated: /Users/abril/coding/conan-center-index/recipes/bigint23/all/test_package/CMakeUserPresets.json
bigint23/2.0 (test package): Generating aggregated env files
bigint23/2.0 (test package): Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
======== Testing the package: Building ========
bigint23/2.0 (test package): Calling build()
bigint23/2.0 (test package): Running CMake.configure()
bigint23/2.0 (test package): RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/abril/coding/conan-center-index/recipes/bigint23/all/test_package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/abril/coding/conan-center-index/recipes/bigint23/all/test_package"
-- Using Conan toolchain: /Users/abril/coding/conan-center-index/recipes/bigint23/all/test_package/build/apple-clang-16-armv8-23-release/generators/conan_toolchain.cmake
-- Conan toolchain: Including user_toolchain: /Users/abril/.conan2/p/b/ccach1e6bed495b8dd/f/ccache-autoinject.cmake
-- /Users/abril/.conan2/p/b/ccach1e6bed495b8dd/f/bin/ccache found and enabled
-- Conan toolchain: Defining libcxx as C++ flags: -stdlib=libc++
-- Conan toolchain: C++ Standard 23 with extensions OFF
-- The CXX compiler identification is AppleClang 17.0.0.17000013
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: Target declared 'bigint23::bigint23'
-- Configuring done (0.5s)
-- Generating done (0.0s)
-- Build files have been written to: /Users/abril/coding/conan-center-index/recipes/bigint23/all/test_package/build/apple-clang-16-armv8-23-release
bigint23/2.0 (test package): Running CMake.build()
bigint23/2.0 (test package): RUN: cmake --build "/Users/abril/coding/conan-center-index/recipes/bigint23/all/test_package/build/apple-clang-16-armv8-23-release" -- -j12
[ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o
[100%] Linking CXX executable test_package
[100%] Built target test_package
======== Testing the package: Executing test ========
bigint23/2.0 (test package): Running test()
bigint23/2.0 (test package): RUN: ./test_package
305419896
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Changes to recipe: bigint23/2.0
Motivation
Add a new library for big integer arithmetic
Details
Add a new library that implements an big integer with arbitrary bit count.