gnu: nauty: Update to 2.7r1.

* gnu/packages/maths.scm (nauty): Update to 2.7r1.
[arguments]: Prevent using "-march-native".  Install new executable.
This commit is contained in:
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

View file

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