-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6da9edd
commit de4cc80
Showing
44 changed files
with
207 additions
and
2,968 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "external/wide-integer"] | ||
path = external/wide-integer | ||
url = [email protected]:johnmcfarlane/wide-integer.git |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
|
||
from conans import CMake, ConanFile, tools | ||
|
||
class WideIntegerConan(ConanFile): | ||
name = "wide-integer" | ||
license = "Boost Software License 1.0" | ||
author = "Christopher Kormanyos <[email protected]>" | ||
url = "https://github.com/johnmcfarlane/wide-integer" | ||
homepage = "https://github.com/ckormanyos/wide-integer" | ||
description = "Wide-Integer implements a generic C++ template for uint128_t, uint256_t, uint512_t, uint1024_t, etc." | ||
topics = ("high-performance", "embedded-systems", "multiprecision", "numerical", "big-integer") | ||
settings = "os", "compiler", "build_type", "arch" | ||
options = { | ||
} | ||
default_options = { | ||
} | ||
generators = "cmake_find_package" | ||
no_copy_source = True | ||
|
||
scm = { | ||
"revision": "conan", | ||
"type": "git", | ||
"url": "https://github.com/johnmcfarlane/wide-integer.git", | ||
} | ||
|
||
def _configure_cmake(self): | ||
cmake = CMake(self) | ||
cmake.configure() | ||
return cmake | ||
|
||
def build(self): | ||
cmake = self._configure_cmake() | ||
cmake.build() | ||
cmake.test(output_on_failure=True, target="all") | ||
|
||
def package(self): | ||
cmake = self._configure_cmake() | ||
cmake.install() | ||
|
||
def package_id(self): | ||
self.info.header_only() |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.