[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/15: gnu: python-clingo-dl: Fix build.
From: |
guix-commits |
Subject: |
09/15: gnu: python-clingo-dl: Fix build. |
Date: |
Sat, 2 Mar 2024 02:06:47 -0500 (EST) |
lilyp pushed a commit to branch master
in repository guix.
commit 54e122c13dc30ff820f9eb0f3e028c21ee1e911c
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Sat Feb 24 08:57:41 2024 +0100
gnu: python-clingo-dl: Fix build.
* gnu/packages/potassco.scm (python-clingo-dl)[#:configure-flags]: Add flag
for
CMAKE_MODULE_PATH.
[native-inputs]: Add python-scikit-build.
---
gnu/packages/potassco.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/potassco.scm b/gnu/packages/potassco.scm
index 16cff245e7..e1dbaefa98 100644
--- a/gnu/packages/potassco.scm
+++ b/gnu/packages/potassco.scm
@@ -411,7 +411,11 @@ Python code.")))
(version (package-version clingo-dl))
(arguments
(list
- #:configure-flags #~'("-DPYCLINGODL_ENABLE=pip")
+ #:configure-flags
+ #~(list "-DPYCLINGODL_ENABLE=pip"
+ (string-append "-DCMAKE_MODULE_PATH="
+ #$(this-package-native-input
"python-scikit-build")
+ "/lib/cmake/modules"))
#:tests? #f
#:imported-modules `(,@%cmake-build-system-modules
(guix build python-build-system))
@@ -433,6 +437,8 @@ Python code.")))
(inputs (modify-inputs (package-inputs clingo-dl)
(prepend python-wrapper)))
(propagated-inputs (list python-clingo python-cffi))
+ (native-inputs (modify-inputs (package-native-inputs clingo-dl)
+ (prepend python-scikit-build)))
(synopsis "Python bindings for clingo-dl")
(description "This package allows users to add the clingo-dl propagator
as a theory to clingo from Python code. It also supports running clingo-dl
- branch master updated (9038a46751 -> 4a0549be52), guix-commits, 2024/03/02
- 15/15: gnu: Add theft., guix-commits, 2024/03/02
- 09/15: gnu: python-clingo-dl: Fix build.,
guix-commits <=
- 03/15: gnu: libpotassco: Update to 0.0-2.69b677f., guix-commits, 2024/03/02
- 12/15: gnu: python-telingo: Update to 2.1.3., guix-commits, 2024/03/02
- 02/15: gnu: python-scikit-build: Install cmake modules., guix-commits, 2024/03/02
- 06/15: gnu: clingo: Build from actual sources., guix-commits, 2024/03/02
- 07/15: gnu: clingo-dl: Update to 1.5.0., guix-commits, 2024/03/02
- 05/15: gnu: clingo: Update to 5.7.1., guix-commits, 2024/03/02
- 01/15: gnu: Add wide-integer., guix-commits, 2024/03/02
- 04/15: gnu: clasp: Update to 3.3.10., guix-commits, 2024/03/02
- 10/15: gnu: python-clorm: Update to 1.5.0., guix-commits, 2024/03/02
- 08/15: gnu: python-clingo: Fix build., guix-commits, 2024/03/02