mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
gnu: clingo: Update to 5.7.1.
* gnu/packages/potassco.scm (clingo): Update to 5.7.1.
This commit is contained in:
parent
9aabeb11a0
commit
a3de85db29
1 changed files with 7 additions and 4 deletions
|
@ -146,7 +146,7 @@ (define-public clasp
|
||||||
(define-public clingo
|
(define-public clingo
|
||||||
(package
|
(package
|
||||||
(name "clingo")
|
(name "clingo")
|
||||||
(version "5.6.2")
|
(version "5.7.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -160,7 +160,7 @@ (define-public clingo
|
||||||
(delete-file-recursively "third_party")))
|
(delete-file-recursively "third_party")))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"19s59ndcm2yj0kxlikfxnx2bmp6b7n31wq1zvwc7hyk37rqarwys"))))
|
"1mxl3gwx55sf2ifcb92mfy989c50yqpnq0d0r2mxdqr0riy40hjb"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -184,6 +184,7 @@ (define-public clingo
|
||||||
"find_package(mpark_variant)\n"
|
"find_package(mpark_variant)\n"
|
||||||
"find_package(tsl-sparse-map)\n"
|
"find_package(tsl-sparse-map)\n"
|
||||||
"find_package(tsl-ordered-map)\n"
|
"find_package(tsl-ordered-map)\n"
|
||||||
|
"find_package(wide-integer)\n"
|
||||||
"find_package(Catch2 3 REQUIRED)")))
|
"find_package(Catch2 3 REQUIRED)")))
|
||||||
(substitute* "libclingo/CMakeLists.txt"
|
(substitute* "libclingo/CMakeLists.txt"
|
||||||
(("\"cmake/Clingo\"") "\"cmake/clingo\"")
|
(("\"cmake/Clingo\"") "\"cmake/clingo\"")
|
||||||
|
@ -191,7 +192,8 @@ (define-public clingo
|
||||||
(("ClingoConfigVersion\\.cmake")
|
(("ClingoConfigVersion\\.cmake")
|
||||||
"clingo-config-version.cmake"))
|
"clingo-config-version.cmake"))
|
||||||
(substitute* "libgringo/CMakeLists.txt"
|
(substitute* "libgringo/CMakeLists.txt"
|
||||||
(("mpark::variant") "mpark_variant"))
|
(("mpark::variant") "mpark_variant")
|
||||||
|
(("math::wide_integer") "wide-integer::wide-integer"))
|
||||||
(substitute* "cmake/ClingoConfig.cmake.in"
|
(substitute* "cmake/ClingoConfig.cmake.in"
|
||||||
(("find_package\\(Clasp") "find_package(clasp"))
|
(("find_package\\(Clasp") "find_package(clasp"))
|
||||||
(rename-file "cmake/ClingoConfig.cmake.in"
|
(rename-file "cmake/ClingoConfig.cmake.in"
|
||||||
|
@ -217,7 +219,8 @@ (define-public clingo
|
||||||
tl-optional
|
tl-optional
|
||||||
tsl-hopscotch-map
|
tsl-hopscotch-map
|
||||||
tsl-ordered-map
|
tsl-ordered-map
|
||||||
tsl-sparse-map))
|
tsl-sparse-map
|
||||||
|
wide-integer))
|
||||||
(home-page "https://potassco.org/")
|
(home-page "https://potassco.org/")
|
||||||
(synopsis "Grounder and solver for logic programs")
|
(synopsis "Grounder and solver for logic programs")
|
||||||
(description "Clingo computes answer sets for a given logic program.")
|
(description "Clingo computes answer sets for a given logic program.")
|
||||||
|
|
Loading…
Reference in a new issue