gnu: Remove libcxx-6.

* gnu/packages/llvm.scm (libcxx-6): Delete variable.

Change-Id: I94d7d2db5c98f0abea4c0142d9d996f9ece8b03b
This commit is contained in:
Andreas Enge 2025-09-14 18:54:46 +02:00
parent f7e1716604
commit ae788c6b4f
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -1652,39 +1652,6 @@ use with Clang, targeting C++11, C++14 and above.")
(properties `((release-monitoring-url . ,%llvm-release-monitoring-url)))
(license license:expat)))
;; Libcxx files specifically used by PySide2.
(define-public libcxx-6
(package
(inherit libcxx)
(version (package-version llvm-6))
(source
(origin
(method url-fetch)
(uri (llvm-uri "libcxx" version))
(sha256
(base32
"0rzw4qvxp6qx4l4h9amrq02gp7hbg8lw4m0sy3k60f50234gnm3n"))))
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'set-paths 'adjust-CPLUS_INCLUDE_PATH
(lambda* (#:key inputs #:allow-other-keys)
(let ((gcc (assoc-ref inputs "gcc")))
;; Hide GCC's C++ headers so that they do not interfere with
;; the ones we are attempting to build.
(setenv "CPLUS_INCLUDE_PATH"
(string-join (delete (string-append gcc "/include/c++")
(string-split (getenv "CPLUS_INCLUDE_PATH")
#\:))
":"))
(format #t
"environment variable `CPLUS_INCLUDE_PATH' changed to ~a~%"
(getenv "CPLUS_INCLUDE_PATH"))
#t))))))
(native-inputs
(list clang-6 llvm-6))))
;; WARNING: This package is a dependency of mesa.
(define-public libclc
(package