mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: louvain-community: Don't tune native.
* gnu/packages/maths.scm (louvain-community)[arguments]<#:phases>: Add no-tune-native phase. [properties]: Add tunable? field. Change-Id: Idb1f54511f63bf62a9bf29cfb9177cd9f31b2390
This commit is contained in:
parent
39fc289fd6
commit
af7a5ea4e4
1 changed files with 7 additions and 1 deletions
|
@ -66,6 +66,7 @@
|
||||||
;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
|
;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
|
||||||
;;; Copyright © 2024 Foundation Devices, Inc. <hello@foundation.xyz>
|
;;; Copyright © 2024 Foundation Devices, Inc. <hello@foundation.xyz>
|
||||||
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
||||||
|
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -9548,12 +9549,17 @@ true in all models.")
|
||||||
(add-after 'unpack 'encode-git-hash
|
(add-after 'unpack 'encode-git-hash
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "CMakeLists.txt"
|
(substitute* "CMakeLists.txt"
|
||||||
(("GIT-hash-notfound") #$commit)))))))
|
(("GIT-hash-notfound") #$commit))))
|
||||||
|
(add-after 'unpack 'no-tune-native
|
||||||
|
(lambda _
|
||||||
|
(substitute* "CMakeLists.txt"
|
||||||
|
(("-mtune=native") "")))))))
|
||||||
(native-inputs (list python))
|
(native-inputs (list python))
|
||||||
(home-page "https://github.com/meelgroup/louvain-communities")
|
(home-page "https://github.com/meelgroup/louvain-communities")
|
||||||
(synopsis "Multi-criteria community detection")
|
(synopsis "Multi-criteria community detection")
|
||||||
(description "This package provides a C++ implementation of the Louvain
|
(description "This package provides a C++ implementation of the Louvain
|
||||||
community detection algorithm.")
|
community detection algorithm.")
|
||||||
|
(properties '((tunable? . #t)))
|
||||||
(license license:lgpl3+))))
|
(license license:lgpl3+))))
|
||||||
|
|
||||||
(define-public cryptominisat
|
(define-public cryptominisat
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue