summaryrefslogtreecommitdiff
path: root/gnu/packages/boost.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <[email protected]>2022-01-25 22:07:13 -0500
committerMaxim Cournoyer <[email protected]>2022-01-25 22:07:13 -0500
commit1a5302435ff0d2822b823f5a6fe01faa7a85c629 (patch)
treeac7810c88b560532f22d2bab2e59609cd7305c21 /gnu/packages/boost.scm
parent3ff2ac4980dacf10087e4b42bd9fbc490591900c (diff)
parent070b8a893febd6e7d8b2b7c8c4dcebacf7845aa9 (diff)
Merge branch 'master' into staging.
With "conflicts" solved (all in favor of master except git) in: gnu/local.mk gnu/packages/databases.scm gnu/packages/glib.scm gnu/packages/gnome.scm gnu/packages/gnupg.scm gnu/packages/gnuzilla.scm gnu/packages/graphics.scm gnu/packages/gstreamer.scm gnu/packages/gtk.scm gnu/packages/linux.scm gnu/packages/machine-learning.scm gnu/packages/networking.scm gnu/packages/polkit.scm gnu/packages/pulseaudio.scm gnu/packages/rpc.scm gnu/packages/rust.scm gnu/packages/version-control.scm gnu/packages/w3m.scm
Diffstat (limited to 'gnu/packages/boost.scm')
-rw-r--r--gnu/packages/boost.scm63
1 files changed, 25 insertions, 38 deletions
diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm
index e05a3c32fe..b53b1f4257 100644
--- a/gnu/packages/boost.scm
+++ b/gnu/packages/boost.scm
@@ -3,19 +3,22 @@
;;; Copyright © 2014, 2015, 2018 Mark H Weaver <[email protected]>
;;; Copyright © 2015 Andreas Enge <[email protected]>
;;; Copyright © 2016 Eric Bavier <[email protected]>
-;;; Copyright © 2015, 2019, 2020 Ludovic Courtès <[email protected]>
+;;; Copyright © 2015, 2019, 2020, 2021 Ludovic Courtès <[email protected]>
;;; Copyright © 2017 Thomas Danckaert <[email protected]>
;;; Copyright © 2018 Tobias Geerinckx-Rice <[email protected]>
;;; Copyright © 2018 Arun Isaac <[email protected]>
;;; Copyright © 2018, 2019, 2021 Ricardo Wurmus <[email protected]>
-;;; Copyright © 2018 Maxim Cournoyer <[email protected]>
+;;; Copyright © 2018, 2020 Maxim Cournoyer <[email protected]>
;;; Copyright © 2018, 2020 Efraim Flashner <[email protected]>
;;; Copyright © 2019 Mathieu Othacehe <[email protected]>
;;; Copyright © 2019, 2020 Giacomo Leidi <[email protected]>
;;; Copyright © 2020 Marius Bakke <[email protected]>
;;; Copyright © 2020 Jonathan Brielmaier <[email protected]>
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <[email protected]>
+;;; Copyright © 2021 Greg Hogan <[email protected]>
;;; Copyright © 2021 Franck Pérignon <[email protected]>
;;; Copyright © 2021 Greg Hogan <[email protected]>
+;;; Copyright © 2021 Aleksandr Vityazev <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -65,29 +68,22 @@
(define-public boost
(package
(name "boost")
- (version "1.72.0")
+ (version "1.77.0")
(source (origin
(method url-fetch)
(uri (string-append "https://boostorg.jfrog.io/artifactory/main/release/"
version "/source/boost_"
(version-with-underscores version) ".tar.bz2"))
- (patches
- (list (boost-patch
- ;; 1.72.0 was released with a faulty coroutine submodule:
- ;; <https://github.com/boostorg/coroutine/issues/46>.
- "0001-revert-cease-dependence-on-range.patch" version
- "1zcqxzh56m1s635wqwk15j3zcs2gmjvjy2f0hid7i78s4pgm0yfs")))
(sha256
(base32
- "08h7cv61fd0lzb4z50xanfqn0pdgvizjrpd1kcdgj725pisb5jar"))))
+ "0m08hhk3l7zvzajyk39qlw566q3fhixayhc2j11328qf0gy8b7zw"))))
(build-system gnu-build-system)
- (inputs `(("icu4c" ,icu4c)
- ("zlib" ,zlib)))
+ (inputs (list icu4c zlib))
(native-inputs
`(("perl" ,perl)
,@(if (%current-target-system)
'()
- `(("python" ,python-wrapper)))
+ `(("python" ,python-minimal-wrapper)))
("tcsh" ,tcsh)))
(arguments
`(#:imported-modules ((guix build python-build-system)
@@ -128,8 +124,7 @@
(out (assoc-ref outputs "out")))
(substitute* '("libs/config/configure"
"libs/spirit/classic/phoenix/test/runtest.sh"
- "tools/build/src/engine/execunix.cpp"
- "tools/build/src/engine/Jambase")
+ "tools/build/src/engine/execunix.cpp")
(("/bin/sh") (which "sh")))
(setenv "SHELL" (which "sh"))
@@ -144,13 +139,9 @@
'())
;; Change an #ifdef __MACH__ that really targets macOS.
- ;; TODO: Inline this on the next rebuild cycle.
- ,@(if (hurd-target?)
- '((substitute* "boost/test/utils/timer.hpp"
- (("defined\\(__MACH__\\)")
- "(defined __MACH__ && !defined __GNU__)"))
- #t)
- '())
+ (substitute* "boost/test/utils/timer.hpp"
+ (("defined\\(__MACH__\\)")
+ "(defined __MACH__ && !defined __GNU__)"))
(invoke "./bootstrap.sh"
(string-append "--prefix=" out)
@@ -192,8 +183,7 @@
(symlink libboost_pythonNN.so
(string-append "libboost_python"
(string-take python-version 1)
- ".so")))
- #t))))))))
+ ".so")))))))))))
(home-page "https://www.boost.org")
(synopsis "Peer-reviewed portable C++ source libraries")
@@ -226,9 +216,7 @@ across a broad spectrum of applications.")
("libcxxabi" ,libcxxabi-6)
("zlib" ,zlib)))
(native-inputs
- `(("clang" ,clang-6)
- ("perl" ,perl)
- ("tcsh" ,tcsh)))
+ (list clang-6 perl tcsh))
(arguments
`(#:tests? #f
#:make-flags
@@ -247,8 +235,7 @@ across a broad spectrum of applications.")
(let ((gcc (assoc-ref (or native-inputs inputs) "gcc")))
(setenv "CPLUS_INCLUDE_PATH"
(string-join
- (cons (string-append (assoc-ref inputs "libcxx")
- "/include/c++/v1")
+ (cons (search-input-directory inputs "/include/c++/v1")
;; Hide GCC's C++ headers so that they do not interfere with
;; the Clang headers.
(delete (string-append gcc "/include/c++")
@@ -262,7 +249,7 @@ across a broad spectrum of applications.")
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((icu (assoc-ref inputs "icu4c"))
(out (assoc-ref outputs "out"))
- (sh (string-append (assoc-ref inputs "bash") "/bin/sh")))
+ (sh (search-input-file inputs "/bin/sh")))
(substitute* '("libs/config/configure"
"libs/spirit/classic/phoenix/test/runtest.sh"
"tools/build/src/engine/execunix.c"
@@ -288,6 +275,9 @@ across a broad spectrum of applications.")
(lambda* (#:key make-flags #:allow-other-keys)
(apply invoke "./b2" "install" make-flags))))))))
+(define-public boost-with-python3
+ (deprecated-package "boost-with-python3" boost))
+
(define-public boost-with-python2
(package/inherit boost
(name "boost-python2")
@@ -295,9 +285,6 @@ across a broad spectrum of applications.")
`(("python" ,python-2)
,@(alist-delete "python" (package-native-inputs boost))))))
-(define-public boost-with-python3
- (deprecated-package "boost-with-python3" boost))
-
(define-public boost-static
(package
(inherit boost)
@@ -377,9 +364,9 @@ across a broad spectrum of applications.")
(properties '((hidden? . #t)))))
(define-public boost-sync
- (let ((commit "c72891d9b90e2ceb466ec859f640cd012b2d8709")
+ (let ((commit "e690de2d30e2f1649ff500c9a6f3539814994b1c")
(version "1.55")
- (revision "1"))
+ (revision "2"))
(package
(name "boost-sync")
(version (git-version version revision commit))
@@ -391,7 +378,7 @@ across a broad spectrum of applications.")
(file-name (git-file-name name version))
(sha256
(base32
- "197mp5z048vz5kv1m4v3jm447l2gqsyv0rbfz11dz0ns343ihbyx"))))
+ "0473hb15affjq2804xa99ikk4y1gzi46rygd9zhncl28ib7mnn26"))))
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
@@ -420,7 +407,7 @@ Boost.Thread.")
(file-name (git-file-name name version))
(sha256
(base32
- "13i5j43nggb46i6qpaf7gk53i7zp7pimphl7sydyfqz2m9yx5cdy"))))
+ "1prhj98jgvkj2m3ia5lcgxnl1a4h13cyzqd55skjn983rivi6090"))))
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
@@ -473,7 +460,7 @@ signals and slots system.")
"03b8i43pw4m767mm0cnbi77x7qhpkzpi9b1f6dpp4cmyszmnsk8l"))))
(build-system gnu-build-system)
(propagated-inputs
- `(("boost" ,boost))) ; inclusion of header files
+ (list boost)) ; inclusion of header files
(home-page "https://gitlab.com/mdds/mdds")
(synopsis "Multi-dimensional C++ data structures and indexing algorithms")
(description "Mdds (multi-dimensional data structure) provides a