aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/llvm.scm
Commit message (Collapse)AuthorAge
* gnu: clang-runtime: Fix build.Danny Milosavljevic2024-09-26
| | | | | | | | | * gnu/packages/patches/clang-runtime-12-remove-crypt-interceptors.patch: New file. * gnu/local.mk (dist_PATCH_DATA): Register it. * gnu/packages/llvm.scm (clang-runtime-12)[source]: Use it. Change-Id: I78e078ff09beb2943ba9387813ebc29069ae8f7d
* gnu: clang-cling-runtime: Fix build.Maxim Cournoyer2024-09-20
| | | | | | | | | | | | | | New patches were applied to clang-runtime only, not the whole LLVM base source, hence they were not applied to the cling variants. * gnu/packages/llvm.scm (llvm-cling) [source]: Add clang-cling-runtime-13-glibc-2.36-compat.patch and clang-cling-13-remove-crypt-interceptors.patch patches. * gnu/packages/patches/clang-cling-13-remove-crypt-interceptors.patch: New file. * gnu/packages/patches/clang-cling-runtime-13-glibc-2.36-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Register them. Change-Id: I4c5ee5f65b2bc04935865ad8e67bc2c3833da2eb
* gnu: libclc: Update to 18.1.8.Efraim Flashner2024-08-31
| | | | | | | * gnu/packages/llvm.scm (libclc): Update to 18.1.8. [native-inputs]: Replace clang-15, llvm-15 with clang-18, llvm-18. Change-Id: I2f676eb2db9c3a8c808e1c26e3f93b9ed085b675
* gnu: mesa: Fix building on aarch64-linux.Efraim Flashner2024-08-31
| | | | | | | | | | | | | | | | * gnu/packages/gl.scm (mesa)[inputs]: When building for aarch64-linux use clang-18 and llvm-18 instead of llvm-for-mesa. [native-inputs]: When building for aarch64-linux add libclc. [arguments]: Adjust the 'disable-failing-test phase when building for aarch64-linux to skip a test. (mesa-opencl)[native-inputs]: When building for aarch64-linux don't add clang-15. * gnu/packages/check.scm (python-lit), * gnu/packages/llvm.scm (libclc), * gnu/packages/vulkan.scm (spirv-llvm-translator): Add a note about it being a dependency for mesa. Change-Id: I0bf5ab019ffd0626ad2d0c38bafceec401e3c886
* gnu: cling: Add libxcrypt dependency.宋文武2024-08-31
| | | | | | * gnu/packages/llvm.scm (cling)[inputs]: Add libxcrypt. Change-Id: I240b73ba1bb2fd3e2d7215c6b342aa45830236cf
* gnu: clang: Fix build with libcrypt-less glibc.Josselin Poiret2024-08-31
| | | | | | | | | | * gnu/packages/patches/clang-13-remove-crypt-interceptors.patch * gnu/packages/patches/clang-14-remove-crypt-interceptors.patch * gnu/packages/patches/clang-16-remove-crypt-interceptors.patch: New patches. * gnu/local.mk (dist_patch_DATA): Register them. * gnu/packages/llvm.scm (%llvm-patches, clang-runtime-13): Use them. Change-Id: Idcc82313f1a39710aa91fb577144321372a3af47
* gnu: clang-runtime-6: Fix build with newer glibc.Efraim Flashner2024-08-31
| | | | | | * gnu/packages/llvm.scm (clang-runtime-6): Add patch. Change-Id: Iff5ad430876ff7f8319556b6648e223b7bb0e13a
* gnu: clang-runtime-7: Fix build with newer glibc.Efraim Flashner2024-08-31
| | | | | | * gnu/packages/llvm.scm (clang-runtime-7): Add patch. Change-Id: Idba933cb04859d57066fd2e4b131ad9f4604fae8
* gnu: clang-runtime-8: Fix build with newer glibc.Efraim Flashner2024-08-31
| | | | | | * gnu/packages/llvm.scm (clang-runtime-8): Add patch. Change-Id: I3ea8c6a597996adec567920d5714fb93ad91b2a9
* gnu: clang-runtime-9: Fix build with newer glibc.Efraim Flashner2024-08-31
| | | | | | | | * gnu/packages/llvm.scm (clang-runtime-9): Add patch. * gnu/packages/patches/clang-runtime-9-glibc-2.36-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: I3f88e3e933d8bb8aa4ba130dfb72e093ac5d378f
* gnu: clang-runtime-10: Fix build with newer glibc.Efraim Flashner2024-08-31
| | | | | | * gnu/packages/llvm.scm (clang-runtime-10): Add patch. Change-Id: If90ee6895634e6f1791516861be558af4d2ffe8e
* gnu: clang-runtime-11: Fix build with newer glibc.Efraim Flashner2024-08-31
| | | | | | * gnu/packages/llvm.scm (clang-runtime-11): Add patch. Change-Id: I5195c0a37e5dcc7ba200043e2028200492a74c14
* gnu: clang-runtime-12: Fix build with newer glibc.Efraim Flashner2024-08-31
| | | | | | * gnu/packages/llvm.scm (clang-runtime-12): Add patch. Change-Id: Ia42a065972a1b908fa62db87cc23b2e5d119a9b0
* gnu: clang-runtime-13: Fix build with newer glibc.Efraim Flashner2024-08-31
| | | | | | | | * gnu/packages/llvm.scm (clang-runtime-13): Add patch. * gnu/packages/patches/clang-runtime-13-glibc-2.36-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: I0f78d826557a7ffa87f75ac521cc8fcec340bffd
* gnu: clang-runtime-14: Fix build with newer glibc.Efraim Flashner2024-08-31
| | | | | | | | * gnu/packages/llvm.scm (%llvm-patches): Add patch for llvm-14. * gnu/packages/patches/clang-runtime-14-glibc-2.36-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: Ib5350be48f6580d00cb9b70435931abf0444c664
* gnu: clang-from-llvm: Use gcc's search paths.Efraim Flashner2024-08-31
| | | | | | | * gnu/packages/llvm.scm (clang-from-llvm)[native-search-paths]: Use %gcc-search-paths. Change-Id: I777cab55e8a1931502a537c0680608d7d6b5b715
* gnu: llvm: Fix misc errors for unsupported targets.Christopher Baines2024-08-11
| | | | | | | | | * gnu/packages/llvm.scm (system->llvm-target-arch): Return #f for unknown targets. (llvm-15, llvm-14): Handle system->llvm-target-arch and raise a package-unsupported-target-error condition. Change-Id: I647f721a64a39bb34196998b7e4adda3a25f1ab3
* gnu: llvm-18: Fix building on i686-linux.Efraim Flashner2024-06-30
| | | | | | | * gnu/packages/llvm.scm (llvm-18)[arguments]: When building for i686-linux delete the 'make-dynamic-linker-cache phase. Change-Id: Icbbbccf74ad39d4f8d0270cc213f978c487edb75
* gnu: llvm-17: Fix building on i686-linux.Efraim Flashner2024-06-30
| | | | | | | * gnu/packages/llvm.scm (llvm-17)[arguments]: When building for i686-linux delete the 'make-dynamic-linker-cache phase. Change-Id: I0745d9b1bda47ad4ad10680234c9257215de1c4b
* gnu: clang-15: Fix building on i686-linux.Efraim Flashner2024-06-30
| | | | | | | | * gnu/packages/llvm.scm (clang-from-llvm)[arguments]: When building for i686-linux on clang 15 or newer delete the 'make-dynamic-linker-cache phase. Change-Id: I0c8c273ce8eca100a97a9a64a4524558acd7cfbd
* gnu: llvm-16: Fix building on i686-linux.Efraim Flashner2024-06-27
| | | | | | | * gnu/packages/llvm.scm (llvm-16)[arguments]: Skip the make-dynamic-linker-phase on i686-linux. Change-Id: I38c134d246859d7fc6025e2ed1c3f29d845a7d82
* gnu: LLVM, Clang, libomp, lld: Update to 18.1.8.Michael Ford2024-06-27
| | | | | | | | * gnu/packages/llvm.scm (llvm-18, clang-18, libomp-18, lld-18): Update to 18.1.8. Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Change-Id: I76f93d6dce19f0e1a0b99393a5865369c49c4072
* gnu: LLVM, Clang, libomp, lld: Update to 18.1.7.Michael Ford2024-06-22
| | | | | | | | * gnu/packages/llvm.scm (llvm-18, clang-18, libomp-18, lld-18): Update to 18.1.7. Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Change-Id: Ie1d2d00207848145c1b19e551b43f8e55465d2f0
* gnu: cling: Update to 1.0.Maxim Cournoyer2024-05-29
| | | | | | | | | | | | | | | | | | | | | | * gnu/packages/llvm.scm (%cling-version): Delete variable. (llvm-cling): Inherit from llvm-15 and update to version 13-20240318-01. [source]: Update source URL. Remove obsolete snippet. Add patches field. [outputs]: Delete field. [arguments]: Likewise. (clang-cling-runtime): Update to 13-20240318-01. Inherit from clang-runtime-13. Use llvm-cling source. [phases]: Use gexps. Add change-directory phase. (clang-cling): Update to 13-20240318-01. Inherit from clang-13. Use llvm-cling source. [arguments]: Use gexps. Add change-directory phase. (cling): Update to 1.0. [source]: Update URL. [phases] {patch-paths}: Adjust patching of the 'getResourceDir' variable. * gnu/packages/patches/cling-use-shared-library.patch: Rebase patch. * gnu/packages/patches/clang-cling-13-libc-search-path.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: I5d1f2c4d36ca226116bc74c2578154f86413f9e9
* gnu: LLVM, Clang, libomp, lld: Update to 18.1.6.Michael Ford2024-05-22
| | | | | | | | * gnu/packages/llvm.scm (llvm-18, clang-18, libomp-18, lld-18): Update to 18.1.6. Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Change-Id: Ifd5ab99f4195c93e9b8d67aa26caead26c8dd5bc
* gnu: LLVM, Clang, libomp, lld: Update to 18.1.5.fanquake2024-05-19
| | | | | | | * gnu/packages/llvm.scm (llvm-18, clang-18, libomp-18, lld-18): Update to 18.1.5. Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu: Add wllvm.Zheng Junjie2024-04-24
| | | | | | | * gnu/packages/llvm.scm (wllvm): New variable. Change-Id: Ibfb47b3a129954adf73721d25e95c64f69e985a1 Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
* gnu: LLVM, Clang, libomp, lld: Update to 18.1.4.fanquake2024-04-23
| | | | | | | * gnu/packages/llvm.scm (llvm-18, clang-18, libomp-18, lld-18): Update to 18.1.4. Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
* gnu: Add lld-18.fanquake2024-04-23
| | | | | | * gnu/packages/llvm.scm (lld-18): New variable. Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
* gnu: Add llvm-18.Efraim Flashner2024-03-26
| | | | | | | | | | | | | * gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: When building clang-runtime-18 or newer use gcc-13. (%llvm-monorepo-hashes): Add entry for llvm-18. (%llvm-patches): Add entry for llvm-18. (llvm-18, clang-runtime-18, clang-18, libomp-18, clang-toolchain-18): New variables. * gnu/packages/patches/clang-18.0-libc-search-path.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: I4027065398300104c6a310187007448f5b2780c1
* gnu: llvm-17: Fix building on riscv64-linux.Efraim Flashner2024-03-13
| | | | | | | | * gnu/packages/llvm.scm (%llvm-patches): Add a patch for 17.0.6. * gnu/packages/patches/clang-17.0-link-dsymutil-latomic.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: I9dfd23d2f0fb10620c4aa73a6480151d6e6daa9a
* gnu: clang: Move compiler-cpu-architectures to llvm-meta.scm.Efraim Flashner2024-03-10
| | | | | | | | | | | * gnu/packages/llvm.scm (clang-properties): Extract compiler-cpu-architectures and move ... * gnu/packages/llvm-meta.scm: ... to here. * gnu/packages/zig.scm (zig-0.9, zig-0.10)[properties]: Use clang-compiler-cpu-architectures. * gnu/local.mk (GNU_SYSTEM_MODULES): Register new file. Change-Id: Ie0bedbd6e2927eaa05024685cc66375ea278e4c2
* gnu: clang-properties: Add micro-architecture support for powerpc64le.Efraim Flashner2024-03-07
| | | | | | * gnu/packages/llvm.scm (clang-properties): Add entry for powerpc64le. Change-Id: I89f300922270a1f35aa08e73e62d90843bd902c8
* gnu: clang-properties: Update x86_64 micro-architectures.Efraim Flashner2024-03-07
| | | | | | | * gnu/packages/llvm.scm (clang-properties): Add entries on x86_64 for versions 17, 16, 15, 13, 9 and remove entry for version 10. Change-Id: I93149c30f011c6de8ff0cc2c2b6f0186540359cd
* gnu: lldb: Update to 17.0.6.Greg Hogan2024-02-10
| | | | | | | | * gnu/packages/llvm.scm (lldb): Update to 17.0.6. [inputs]: Change from LLVM-15 and CLANG-15 to LLVM-17 and CLANG-17. Change-Id: Iad04ee722c81ecb223ea4d57d25ea57ca7df59a0 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
* gnu: llvm-cling: Fix build.Efraim Flashner2024-01-11
| | | | | | | | This is a follow-up to 15ba54d0e91ecb6214661f5931f058ce33cd936e. * gnu/packages/llvm.scm (llvm-cling)[arguments]: Use gexps for phases. Change-Id: I12f048b1a6a350838572832ad33357046610b18d
* gnu: llvm-12: Use gexps and simplify.Efraim Flashner2024-01-11
| | | | | | | | | * gnu/packages/llvm.scm (llvm-12)[arguments]: Inherit from llvm-13. Rewrite remaining new phase using gexps. Remove trailing #t from phases. (llvm-9)[arguments]: Adjust accordingly. Change-Id: I7ba4e9954b4e8766e9e072696ab55303c1642315
* gnu: glew: Fix cross-compiling.Zheng Junjie2024-01-09
| | | | | | | | | | | | | | * gnu/packages/gl.scm (mesa)[native-inputs]: When cross-compiling, add cmake-minimal-cross. [arguments]: Adjust 'fix-cross-compiling to find llvm. * gnu/packages/llvm.scm (llvm-for-mesa) [arguments]<#:configure-flags>: When cross-compiling, set -DBUILD_SHARED_LIBS:BOOL=TRUE and -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE, remove -DLLVM_LINK_LLVM_DYLIB.*. <#:phases>: When cross-compiling, remove the 'delete-static-libraries phase. Change-Id: If10dec7695e62604e080230e10f2b8d7167f660b Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* gnu: system->llvm-target-arch: Add avr target.Efraim Flashner2023-12-12
| | | | | | * gnu/packages/llvm.scm (system->llvm-target-arch): Add case for avr. Change-Id: I5291d396ad513cfecdf8f0a6f799ea095fc8d994
* gnu: llvm-14: Fix building on powerpc-linux.Efraim Flashner2023-12-10
| | | | | | | | * gnu/packages/llvm.scm (llvm-14)[arguments]: When building for powerpc-linux adjust the configure-flags to always link shared libraries with -latomic. Change-Id: If020528bf1717595b66e6e0826dbe7a0c1128322
* gnu: LLVM, Clang, libomp, lld: Update to 17.0.6.Michael Ford2023-12-10
| | | | | | | | * gnu/packages/llvm.scm (llvm-17, clang-17, libomp-17, lld-17): Update to 17.0.6. Signed-off-by: Hilton Chain <hako@ultrarare.space> Change-Id: I7757b8e55e6a7ffc8185d366ba77706abaf5a798
* gnu: llvm: Export clang-properties.Efraim Flashner2023-12-03
| | | | | | * gnu/packages/llvm.scm (clang-properties): Export variable. Change-Id: If5ef5219c3d29a347ae5ad97584c23bafdabf836
* gnu: libclc: Update to 15.0.7.Efraim Flashner2023-11-30
| | | | | | | | | | | | * gnu/packages/llvm.scm (libclc): Update to 15.0.7. [source]: Use the llvm-monorepo. [arguments]: Remove configure-flag for python, add one for llvm-spirv. Add a phase to skip 2 tests. Remove trailing #t from phases. [propagated-inputs]: Add spirv-llvm-translator, spirv-tools. [native-inputs]: Replace clang-9 with 15, llvm-9 with 15. [properties]: Add release-monitoring-url. Change-Id: I06e2e7be0dc5733a2cc17429928b1761ab987906
* gnu: LLVM, Clang, libomp, lld: Update to 17.0.5.fanquake2023-11-25
| | | | | | | | * gnu/packages/llvm.scm (llvm-17, clang-17, libomp-17, lld-17): Update to 17.0.5. Change-Id: I6f719be6fea037e4e57643589d1e585ad039ab68 Signed-off-by: Hilton Chain <hako@ultrarare.space>
* gnu: Add lld-17.Hilton Chain2023-11-12
| | | | | | * gnu/packages/llvm.scm (lld-17): New variable. Change-Id: Idbb84efc1c749179dfdb874390bfc1caf4e753d3
* gnu: Add clang-toolchain-17.Hilton Chain2023-11-12
| | | | | | * gnu/packages/llvm.scm (clang-toolchain-17): New variable. Change-Id: Iefec981c84249db0d1c740c156835dfea9030f47
* gnu: Add libomp-17.Hilton Chain2023-11-12
| | | | | | * gnu/packages/llvm.scm (libomp-17): New variable. Change-Id: I6ad09d8feff0053dfc811a741e00445dfecb311f
* gnu: Add clang-17.Hilton Chain2023-11-12
| | | | | | | | * gnu/packages/llvm.scm (clang-from-llvm)[arguments]: Include test runner in CMakeLists.txt when version >= 17. (clang-17): New variable. Change-Id: Ia3cd8013d497b72522e95f6face5975bf79f93b3
* gnu: Add clang-runtime-17.Hilton Chain2023-11-12
| | | | | | * gnu/packages/llvm.scm (clang-runtime-17): New variable. Change-Id: I675475e9f4914843283966f5c622cdb214d11e34
* gnu: Add llvm-17.Hilton Chain2023-11-12
| | | | | | | | * gnu/packages/llvm.scm (llvm-17): New variable. * gnu/packages/patches/clang-17.0-libc-search-path.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: I8cdda0737b1137cf86887fb5b854e71977a88b6b