diff options
| author | Andreas Enge <andreas@enge.fr> | 2025-09-14 18:53:42 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-09-14 18:53:42 +0200 |
| commit | f7e17166048526bd48acd0d05678fe4cbff170aa (patch) | |
| tree | 30bd4045afc535e56aaa7eb8fbb333976cfd79ca | |
| parent | 0279555c9d146dc089e49b4d6c0a571a277e6d36 (diff) | |
gnu: Remove libcxxabi-6.
* gnu/packages/llvm.scm (libcxxabi-6): Delete variable.
Change-Id: I5bfad857a489d4dd513a15aaec52668a0eeb3d81
| -rw-r--r-- | gnu/packages/llvm.scm | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 13ac2d5f4f1..44cf3f3aa36 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm | |||
| @@ -1685,68 +1685,6 @@ use with Clang, targeting C++11, C++14 and above.") | |||
| 1685 | (native-inputs | 1685 | (native-inputs |
| 1686 | (list clang-6 llvm-6)))) | 1686 | (list clang-6 llvm-6)))) |
| 1687 | 1687 | ||
| 1688 | (define-public libcxxabi-6 | ||
| 1689 | (package | ||
| 1690 | (name "libcxxabi") | ||
| 1691 | (version "6.0.1") | ||
| 1692 | (source | ||
| 1693 | (origin | ||
| 1694 | (method git-fetch) | ||
| 1695 | (uri (git-reference | ||
| 1696 | (url "https://github.com/llvm/llvm-project") | ||
| 1697 | (commit (string-append "llvmorg-" version)))) | ||
| 1698 | (file-name (git-file-name name version)) | ||
| 1699 | (sha256 | ||
| 1700 | (base32 | ||
| 1701 | "0ki6796b5z08kh3a3rbysr5wwb2dkl6wal5dzd03i4li5xfkvx1g")))) | ||
| 1702 | (build-system cmake-build-system) | ||
| 1703 | (arguments | ||
| 1704 | (list | ||
| 1705 | #:configure-flags | ||
| 1706 | #~(list (string-append "-DLIBCXXABI_LIBCXX_INCLUDES=" | ||
| 1707 | #$(this-package-native-input "libcxx") | ||
| 1708 | "/include") | ||
| 1709 | "-DCMAKE_C_COMPILER=clang" | ||
| 1710 | "-DCMAKE_CXX_COMPILER=clang++") | ||
| 1711 | #:phases | ||
| 1712 | #~(modify-phases (@ (guix build cmake-build-system) %standard-phases) | ||
| 1713 | (add-after 'unpack 'chdir | ||
| 1714 | (lambda _ (chdir "libcxxabi"))) | ||
| 1715 | (add-after 'set-paths 'adjust-CPLUS_INCLUDE_PATH | ||
| 1716 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 1717 | (let ((gcc (assoc-ref inputs "gcc"))) | ||
| 1718 | ;; Hide GCC's C++ headers so that they do not interfere with | ||
| 1719 | ;; the ones we are attempting to build. | ||
| 1720 | (setenv "CPLUS_INCLUDE_PATH" | ||
| 1721 | (string-join | ||
| 1722 | (cons (string-append | ||
| 1723 | (assoc-ref inputs "libcxx") "/include/c++/v1") | ||
| 1724 | (delete (string-append gcc "/include/c++") | ||
| 1725 | (string-split | ||
| 1726 | (getenv "CPLUS_INCLUDE_PATH") | ||
| 1727 | #\:))) | ||
| 1728 | ":")) | ||
| 1729 | (format | ||
| 1730 | #true | ||
| 1731 | "environment variable `CPLUS_INCLUDE_PATH' changed to ~a~%" | ||
| 1732 | (getenv "CPLUS_INCLUDE_PATH"))))) | ||
| 1733 | (add-after 'install 'install-headers | ||
| 1734 | (lambda* (#:key outputs #:allow-other-keys) | ||
| 1735 | (let ((include-dir (string-append | ||
| 1736 | (assoc-ref outputs "out") "/include"))) | ||
| 1737 | (install-file "../libcxxabi/include/__cxxabi_config.h" | ||
| 1738 | include-dir) | ||
| 1739 | (install-file "../libcxxabi/include/cxxabi.h" | ||
| 1740 | include-dir))))))) | ||
| 1741 | (native-inputs | ||
| 1742 | (list clang-6 llvm-6 libcxx-6)) | ||
| 1743 | (home-page "https://libcxxabi.llvm.org") | ||
| 1744 | (synopsis "C++ standard library support") | ||
| 1745 | (description | ||
| 1746 | "This package provides an implementation of low level support for a | ||
| 1747 | standard C++ library.") | ||
| 1748 | (license license:expat))) | ||
| 1749 | |||
| 1750 | ;; WARNING: This package is a dependency of mesa. | 1688 | ;; WARNING: This package is a dependency of mesa. |
| 1751 | (define-public libclc | 1689 | (define-public libclc |
| 1752 | (package | 1690 | (package |
