me
/
guix
Archived
1
0
Fork 0

gnu: nauty: Update to 2.7r1.

* gnu/packages/maths.scm (nauty): Update to 2.7r1.
[arguments]: Prevent using "-march-native".  Install new executable.
master
Nicolas Goaziou 2020-05-27 17:05:32 +02:00
parent 812dad0876
commit 4b01930f54
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 16 additions and 15 deletions

View File

@ -5349,20 +5349,20 @@ management via the GIMPS project's Primenet server.")
(define-public nauty (define-public nauty
(package (package
(name "nauty") (name "nauty")
(version "2.6r12") (version "2.7r1")
(source (origin (source
(method url-fetch) (origin
(uri (string-append (method url-fetch)
"https://pallini.di.uniroma1.it/" (uri (string-append
"nauty" (string-join (string-split version #\.) "") "https://pallini.di.uniroma1.it/"
".tar.gz")) "nauty" (string-join (string-split version #\.) "") ".tar.gz"))
(sha256 (sha256
(base32 (base32 "0xsfqfcknbd6g6wzpa5l7crmmk3bf3zjh37rhylq6b20dqcmvjkn"))))
"1p4mxf8q5wm47nxyskxbqwa5p1vvkycv1zgswvnk9nsn6vff0al6"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(outputs '("out" "lib")) (outputs '("out" "lib"))
(arguments (arguments
`(#:test-target "checks" `(#:test-target "checks"
#:configure-flags '("--enable-generic") ;prevent -march-native
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
;; Default make target does not build all available ;; Default make target does not build all available
@ -5382,15 +5382,16 @@ management via the GIMPS project's Primenet server.")
(include (string-append lib-output "/include/nauty")) (include (string-append lib-output "/include/nauty"))
(lib (string-append lib-output "/lib/nauty"))) (lib (string-append lib-output "/lib/nauty")))
(for-each (lambda (f) (install-file f bin)) (for-each (lambda (f) (install-file f bin))
'("dreadnaut" "NRswitchg" "addedgeg" "amtog" "biplabg" '("addedgeg" "amtog" "assembleg" "biplabg" "blisstog"
"blisstog" "bliss2dre" "catg" "checks6" "complg" "bliss2dre" "catg" "checks6" "complg" "converseg"
"converseg" "copyg" "countg" "cubhamg" "deledgeg" "copyg" "countg" "cubhamg" "deledgeg" "delptg"
"delptg" "directg" "dretodot" "dretog" "genbg" "directg" "dreadnaut" "dretodot" "dretog" "genbg"
"genbgL" "geng" "genquarticg" "genrang" "genspecialg" "genbgL" "geng" "genquarticg" "genrang" "genspecialg"
"gentourng" "gentreeg" "hamheuristic" "labelg" "gentourng" "gentreeg" "hamheuristic" "labelg"
"linegraphg" "listg" "multig" "newedgeg" "pickg" "linegraphg" "listg" "multig" "newedgeg" "pickg"
"planarg" "ranlabg" "shortg" "showg" "subdivideg" "planarg" "ranlabg" "shortg" "showg" "subdivideg"
"sumlines" "twohamg" "vcolg" "watercluster2")) "sumlines" "twohamg" "underlyingg" "vcolg"
"watercluster2" "NRswitchg"))
(for-each (lambda (f) (install-file f include)) (for-each (lambda (f) (install-file f include))
(find-files "." "\\.h$")) (find-files "." "\\.h$"))
(for-each (lambda (f) (install-file f lib)) (for-each (lambda (f) (install-file f lib))