[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73551] [PATCH 7/8] gnu: Add cadiback-for-cryptominisat.
From: |
Liliana Marie Prikler |
Subject: |
[bug#73551] [PATCH 7/8] gnu: Add cadiback-for-cryptominisat. |
Date: |
Sun, 29 Sep 2024 11:04:20 +0200 |
* gnu/packages/maths.scm (cadiback-for-cryptominisat): New variable.
---
gnu/packages/maths.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index a8ae1c73a0..e84a87db97 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -9400,6 +9400,35 @@ (define-public cadiback
true in all models.")
(license license:expat))))
+(define cadiback-for-cryptominisat
+ (let ((commit "ea65a9442fc2604ee5f4ffd0f0fdd0bf481d5b42")
+ (revision "1"))
+ (package
+ (inherit cadiback)
+ (name "cadiback-for-cryptominisat")
+ (version (git-version "0.2.1" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/meelgroup/cadiback")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
"1zznrlj4zp1mc7s4pfw11aq773q2lr9yl6pph630zg5mqijaim5g"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments cadiback)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'patch-build-files 'fix-prefix
+ (lambda _
+ (substitute* "makefile.in"
+ (("/usr") #$output))))
+ (replace 'install
+ (lambda args
+ (mkdir-p (string-append #$output "/include"))
+ (mkdir-p (string-append #$output "/lib"))
+ (apply (assoc-ref %standard-phases 'install) args))))))))))
+
(define-public louvain-community
(let ((commit "8cc5382d4844af127b1c1257373740d7e6b76f1e")
(revision "1"))
--
2.46.0
- [bug#73551] [PATCH 0/8] Update some SAT/ASP solvers, Liliana Marie Prikler, 2024/09/29
- [bug#73551] [PATCH 5/8] gnu: Add cadical., Liliana Marie Prikler, 2024/09/29
- [bug#73551] [PATCH 8/8] gnu: cryptominisat: Update to 5.11.22., Liliana Marie Prikler, 2024/09/29
- [bug#73551] [PATCH 7/8] gnu: Add cadiback-for-cryptominisat.,
Liliana Marie Prikler <=
- [bug#73551] [PATCH 6/8] gnu: Add cadiback., Liliana Marie Prikler, 2024/09/29
- [bug#73551] [PATCH 2/8] gnu: kissat: Update to 4.0.1., Liliana Marie Prikler, 2024/09/29
- [bug#73551] [PATCH 1/8] gnu: scasp: Update to 1.1.4., Liliana Marie Prikler, 2024/09/29
- [bug#73551] [PATCH 3/8] gnu: z3: Update to 4.13.0., Liliana Marie Prikler, 2024/09/29
- [bug#73551] [PATCH 4/8] gnu: lingeling: Update to 1.0.0., Liliana Marie Prikler, 2024/09/29