summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2025-09-14 18:45:27 +0200
committerAndreas Enge <andreas@enge.fr>2025-09-14 18:45:27 +0200
commit744b3e90814db0ec1b123bb57108b144993def09 (patch)
tree9c865b840c8200158f2d2ea050f202657031f96d /gnu
parent003844c60a171c851dcea766d354b7749040b664 (diff)
gnu: Remove boost-for-irods.
* gnu/packages/boost.scm (boost-for-irods): Delete variable. Change-Id: I1bc02caa35a4eb8a49ce28348631e4fc69167579
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/boost.scm81
1 files changed, 0 insertions, 81 deletions
diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm
index d0899635182..a9668d72b68 100644
--- a/gnu/packages/boost.scm
+++ b/gnu/packages/boost.scm
@@ -226,87 +226,6 @@ across a broad spectrum of applications.")
226 (base32 226 (base32
227 "13iviiwk1srpw9dmiwabkxv56v0pl0zggjp8zxy1419k5zzfsy34"))))))) 227 "13iviiwk1srpw9dmiwabkxv56v0pl0zggjp8zxy1419k5zzfsy34")))))))
228 228
229;; Sadly, this is needed for irods. It won't link with 1.69 or later.
230(define-public boost-for-irods
231 (package
232 (inherit boost)
233 (name "boost-for-irods")
234 (version "1.68.0")
235 (source (origin
236 (method url-fetch)
237 (uri (string-append "https://archives.boost.io/release/"
238 version "/source/boost_"
239 (version-with-underscores version) ".tar.bz2"))
240 (sha256
241 (base32
242 "1dyqsr9yb01y0nnjdq9b8q5s2kvhxbayk34832k5cpzn7jy30qbz"))))
243 (build-system gnu-build-system)
244 (properties `((hidden? . #true)))
245 (inputs
246 `(("icu4c" ,icu4c)
247 ("libcxx" ,libcxx+libcxxabi-6)
248 ("libcxxabi" ,libcxxabi-6)
249 ("zlib" ,zlib)))
250 (native-inputs
251 (list clang-6 perl tcsh))
252 (arguments
253 `(#:tests? #f
254 #:make-flags
255 (list "threading=multi" "link=shared"
256 "cxxflags=-stdlib=libc++"
257 "--without-python"
258
259 ;; Set the RUNPATH to $libdir so that the libs find each other.
260 (string-append "linkflags=-stdlib=libc++ -Wl,-rpath="
261 (assoc-ref %outputs "out") "/lib"))
262 #:phases
263 (modify-phases %standard-phases
264 (delete 'bootstrap)
265 (add-after 'set-paths 'adjust-CPLUS_INCLUDE_PATH
266 (lambda* (#:key native-inputs inputs #:allow-other-keys)
267 (let ((gcc (assoc-ref (or native-inputs inputs) "gcc")))
268 (setenv "CPLUS_INCLUDE_PATH"
269 (string-join
270 (cons (search-input-directory inputs "/include/c++/v1")
271 ;; Hide GCC's C++ headers so that they do not interfere with
272 ;; the Clang headers.
273 (delete (string-append gcc "/include/c++")
274 (string-split (getenv "CPLUS_INCLUDE_PATH")
275 #\:)))
276 ":"))
277 (format #true
278 "environment variable `CPLUS_INCLUDE_PATH' changed to ~a~%"
279 (getenv "CPLUS_INCLUDE_PATH")))))
280 (replace 'configure
281 (lambda* (#:key inputs outputs #:allow-other-keys)
282 (let ((icu (assoc-ref inputs "icu4c"))
283 (out (assoc-ref outputs "out"))
284 (sh (search-input-file inputs "/bin/sh")))
285 (substitute* '("libs/config/configure"
286 "libs/spirit/classic/phoenix/test/runtest.sh"
287 "tools/build/src/engine/execunix.c"
288 "tools/build/src/engine/Jambase"
289 "tools/build/src/engine/jambase.c")
290 (("/bin/sh") sh))
291
292 (setenv "SHELL" (which "sh"))
293 (setenv "CONFIG_SHELL" (which "sh"))
294
295 (invoke "./bootstrap.sh"
296 (string-append "--prefix=" out)
297 ;; Auto-detection looks for ICU only in traditional
298 ;; install locations.
299 (string-append "--with-icu=" icu)
300 "--with-toolset=clang"))))
301 (replace 'build
302 (lambda* (#:key make-flags #:allow-other-keys)
303 (apply invoke "./b2"
304 (format #f "-j~a" (parallel-job-count))
305 make-flags)))
306 (replace 'install
307 (lambda* (#:key make-flags #:allow-other-keys)
308 (apply invoke "./b2" "install" make-flags))))))))
309
310(define-public boost-with-python3 229(define-public boost-with-python3
311 (deprecated-package "boost-with-python3" boost)) 230 (deprecated-package "boost-with-python3" boost))
312 231