[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69352] [PATCH 01/13] gnu: Add wide-integer.
From: |
Liliana Marie Prikler |
Subject: |
[bug#69352] [PATCH 01/13] gnu: Add wide-integer. |
Date: |
Sat, 24 Feb 2024 07:56:54 +0100 |
* gnu/packages/cpp.scm (wide-integer): New variable.
---
gnu/packages/cpp.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index e530d1d2a8..64816b7400 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2703,6 +2703,37 @@ (define-public safeint
64-bit integers.")
(license license:expat)))
+(define-public wide-integer
+ (let ((commit "22b8428746248e682d5276f8e8b7fb52af73ea47")
+ (revision "1314")) ; commit count
+ (package
+ (name "wide-integer")
+ (version (git-version "0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ckormanyos/wide-integer")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0bhjnbdcphv5kddddh8kpwjpjix23m12vmfsz0r6wjc5d27md33z"))
+ (modules '((guix build utils)))
+ (snippet #~(substitute* "CMakeLists.txt"
+ (("WideIntegerTargets") "wide-integer-targets")
+ (("WideIntegerConfig") "wide-integer-config")
+ (("WideInteger") "wide-integer")))))
+ (build-system cmake-build-system)
+ (native-inputs (list boost))
+ (home-page "https://github.com/ckormanyos/wide-integer")
+ (synopsis "C++ template for arbitrary-precision integers")
+ (description "This package implements a generic template for extended
+width signed and unsigned integral types. Up to 63 limbs of any built-in
+integer type are supported, and can be used to build powers of two like
+int128_t, uint256_t, but also somewhat esoteric types such as int24_t,
+uint80_t, or uint1536_t. The provided types can be used in much the same
+way as basic integer types.")
+ (license license:boost1.0))))
+
(define-public wdl
;; No tag is available.
(let ((commit "da86a62d11e46e4ecd8b16f9775cb5188340a0e2")
--
2.41.0
- [bug#69352] [PATCH 00/13] Update Clingo to 5.7.1, etc pp, Liliana Marie Prikler, 2024/02/24
- [bug#69352] [PATCH 02/13] gnu: python-scikit-build: Install cmake modules., Liliana Marie Prikler, 2024/02/24
- [bug#69352] [PATCH 06/13] gnu: clingo: Build from actual sources., Liliana Marie Prikler, 2024/02/24
- [bug#69352] [PATCH 08/13] gnu: python-clingo: Fix build., Liliana Marie Prikler, 2024/02/24
- [bug#69352] [PATCH 03/13] gnu: libpotassco: Update to 0.0-2.69b677f., Liliana Marie Prikler, 2024/02/24
- [bug#69352] [PATCH 01/13] gnu: Add wide-integer.,
Liliana Marie Prikler <=
- [bug#69352] [PATCH 04/13] gnu: clasp: Update to 3.3.10., Liliana Marie Prikler, 2024/02/24
- [bug#69352] [PATCH 11/13] gnu: python-plingo: Update to 1.1.0., Liliana Marie Prikler, 2024/02/24
- [bug#69352] [PATCH 05/13] gnu: clingo: Update to 5.7.1., Liliana Marie Prikler, 2024/02/24
- [bug#69352] [PATCH 12/13] gnu: python-telingo: Update to 2.1.3., Liliana Marie Prikler, 2024/02/24
- [bug#69352] [PATCH OPTIONAL 13/13] gnu: python: python-scikit-build: Add more non-deterministic test failures., Liliana Marie Prikler, 2024/02/24
- [bug#69352] [PATCH 09/13] gnu: python-clingo-dl: Fix build., Liliana Marie Prikler, 2024/02/24
- [bug#69352] [PATCH 07/13] gnu: clingo-dl: Update to 1.5.0., Liliana Marie Prikler, 2024/02/24
- [bug#69352] [PATCH 10/13] gnu: python-clorm: Update to 1.5.0., Liliana Marie Prikler, 2024/02/24