summaryrefslogtreecommitdiff
path: root/gnu/packages/llvm.scm
Commit message (Collapse)AuthorAge
* gnu: make-clang-toolchain: Require explicit libomp.Greg Hogan2022-08-04
| | | | | | | | * gnu/packages/llvm.scm (make-clang-toolchain): Remove default libomp parameter since each clang-toolchain has a matching libomp package. (clang-toolchain-13): Explicitly refer to libomp-13. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: clang-toolchain-6: Use libomp-6.Greg Hogan2022-08-04
| | | | | | | * gnu/packages/llvm.scm (clang-toolchain-6): Switch dependency from the default libomp-13 to libomp-6. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add libomp-6.Greg Hogan2022-08-04
| | | | | | * gnu/packages/llvm.scm (libomp-6): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: clang-toolchain-7: Use libomp-7.Greg Hogan2022-08-04
| | | | | | | * gnu/packages/llvm.scm (clang-toolchain-7): Switch dependency from the default libomp-13 to libomp-7. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add libomp-7.Greg Hogan2022-08-04
| | | | | | * gnu/packages/llvm.scm (libomp-7): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: clang-toolchain-8: Use libomp-8.Greg Hogan2022-08-04
| | | | | | | * gnu/packages/llvm.scm (clang-toolchain-8): Switch dependency from the default libomp-13 to libomp-8. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add libomp-8.Greg Hogan2022-08-04
| | | | | | * gnu/packages/llvm.scm (libomp-8): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: clang-toolchain-9: Use libomp-9.Greg Hogan2022-08-04
| | | | | | | * gnu/packages/llvm.scm (clang-toolchain-9): Switch dependency from the default libomp-13 to libomp-9. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add libomp-9.Greg Hogan2022-08-04
| | | | | | * gnu/packages/llvm.scm (libomp-9): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: clang-toolchain-10: Use libomp-10.Greg Hogan2022-08-04
| | | | | | | * gnu/packages/llvm.scm (clang-toolchain-10): Switch dependency from the default libomp-13 to libomp-10. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add libomp-10.Greg Hogan2022-08-04
| | | | | | * gnu/packages/llvm.scm (libomp-10): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: clang-toolchain-11: Use libomp-11.Greg Hogan2022-08-04
| | | | | | | * gnu/packages/llvm.scm (clang-toolchain-11): Switch dependency from the default libomp-13 to libomp-11. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add libomp-11.Greg Hogan2022-08-04
| | | | | | * gnu/packages/llvm.scm (libomp-11): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: clang-toolchain-12: Use libomp-12.Greg Hogan2022-08-04
| | | | | | | * gnu/packages/llvm.scm (clang-toolchain-12): Switch dependency from the default libomp-13 to libomp-12. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add libomp-12.Greg Hogan2022-08-04
| | | | | | * gnu/packages/llvm.scm (libomp-12): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: libomp-13: Reference llvm-13 version string.Greg Hogan2022-08-04
| | | | | | * gnu/packages/llvm.scm (libomp-13): Reference llvm-13 version string. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: libomp-14: Reference llvm-14 version string.Greg Hogan2022-08-04
| | | | | | * gnu/packages/llvm.scm (libomp-14): Reference llvm-14 version string. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: lldb: Update to 14.0.6.Greg Hogan2022-08-04
| | | | | | | | | * gnu/packages/llvm.scm (lldb): Update to 14.0.6. [source]: Fetch using LLVM-MONOREPO. [phases]: Add phase to change to source subdirectory. [inputs]: Change from LLVM-13 and CLANG-13 to LLVM-14 and CLANG-14. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
* gnu: clang-toolchain-14: Build with libomp-14.Greg Hogan2022-07-12
| | | | | | | | | | * gnu/packages/llvm.scm (libomp-14): New variable. (libomp-13): Inherit from libomp-14. (libomp): Define as libomp-13. (make-clang-toolchain): Parameterize libomp. (clang-toolchain-14): Use libomp-14. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: LLVM, Clang, LLD: Update to 14.0.6.Greg Hogan2022-07-12
| | | | | | | * gnu/packages/llvm.scm (llvm-14, clang-14, lld-14): Update to 14.0.6. (%llvm-monorepo-hashes, %llvm-patches): Adjust accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: llvm-3.7, llvm-3.8: Fix build with gcc.Greg Hogan2022-07-12
| | | | | | | | | * gnu/packages/patches/clang-runtime-3.7-fix-build-with-python3.patch, gnu/packages/patches/llvm-3.x.1-fix-build-with-gcc.patch: New files. * gnu/packages/llvm.scm (clang-runtime-3.7, llvm-3.7, llvm-3.8): Use patches. * gnu/local.mk: Register patches. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: llvm-8: Fix build with gcc-10.Greg Hogan2022-07-12
| | | | | | | | | * gnu/packages/patches/llvm-8-fix-build-with-gcc-10.patch: New file. * gnu/packages/llvm.scm (clang-8, clang-runtime-8): Update to 8.0.1. * gnu/packages/llvm.scm (llvm-8): Use patch and update to 8.0.1. * gnu/local.mk: Register patch. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: llvm-for-rocm: Inherit from llvm-14Lars-Dominik Braun2022-06-28
| | | | | * gnu/packages/llvm.scm (llvm-for-rocm)[arguments]: Inherit from llvm-14 instead of llvm-12 and use g-exp for #:configure-flags.
* gnu: llvm-9: Fix building on riscv64-linux.base-for-series-12820base-for-series-12819base-for-series-12818base-for-series-12816base-for-series-12815base-for-series-12814base-for-series-12813base-for-series-12812Efraim Flashner2022-06-22
| | | | | * gnu/packages/llvm.scm (llvm-9)[arguments]: When building for riscv64-linux add a phase to fix building one of the binaries.
* gnu: llvm-9: Fix building on riscv64-linux.Efraim Flashner2022-06-16
| | | | | | | * gnu/packages/llvm.scm (llvm-12)[arguments]: Add a phase to update config.guess when config is one of the native-inputs. (llvm-10)[native-inputs]: Add config when building for riscv64-linux and the llvm version is less than 11.
* gnu: Update llvm-for-rocm: Update to 5.1.3.John Kehayias2022-06-16
| | | | | | | | | | | * gnu/packages/llvm.scm (llvm-for-rocm): Update to 5.1.3, now based on llvm-14. [source]{patches}: Remove unneeded patches (add_Object and add_libraries) and add new one (linkdl). * gnu/packages/patches/llvm-roc-3.0.0-add_libraries.patch, gnu/packages/patches/llvm-roc-4.2.0-add_Object.patch: Delete files. * gnu/packages/patches/llvm-roc-5.0.0-linkdl.patch: New file. * gnu/local.mk (dist_patch_DATA): Update to match current patches. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: LLVM, Clang, LLD: Update to 14.0.5.Marius Bakke2022-06-13
| | | | | * gnu/packages/llvm.scm (llvm-14, clang-14, lld-14): Update to 14.0.5. (%llvm-monorepo-hashes, %llvm-patches): Adjust accordingly.
* gnu: llvm-14: Fix configure-flags for cross-compiling.Efraim Flashner2022-06-12
| | | | | * gnu/packages/llvm.scm (llvm-14)[arguments]: Fix syntax error in configure-flags when cross-compiling llvm.
* gnu: LLVM, Clang, LLD: Update to 14.0.4.Marius Bakke2022-06-01
| | | | | | | | * gnu/packages/llvm.scm (%llvm-monorepo-hashes): Adjust for 14.0.4. (%llvm-patches): Likewise. (llvm-14, clang-14, lld-14): Update to 14.0.4. * gnu/packages/patches/clang-14.0-libc-search-path.patch: Adjust for upstream changes.
* gnu: clang-from-llvm: Fix building on riscv64-linux.Efraim Flashner2022-05-29
| | | | | | * gnu/packages/llvm.scm (clang-from-llvm)[arguments]: When building for riscv64-linux add configure-flags and make-flags to ensure linking with '-latomic'.
* gnu: clang-from-llvm: Fix build on some architectures.Efraim Flashner2022-05-28
| | | | | * gnu/packages/llvm.scm (clang-from-llvm)[arguments]: Adjust custom 'symlink-cfi_ignorelist phase to only symlink when the file exists.
* gnu: clang@14: Include the extras.Tobias Geerinckx-Rice2022-05-22
| | | | | | * gnu/packages/llvm.scm (clang-14): Add a matching #:tools-extra origin. Reported by foobarxyz on #guix.
* gnu: clang: Add OBJC_INCLUDE_PATH to native-search-paths.Zhu Zihao2022-05-20
| | | | | | | | Clang is also a compiler for Objective-C. * gnu/packages/llvm.scm (clang-for-llvm): Add OBJC_INCLUDE_PATH to native-search-paths. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: python-llvmlite: Update to 0.38.0.Maxim Cournoyer2022-05-12
| | | | * gnu/packages/llvm.scm (python-llvmlite): Update to 0.38.0.
* gnu: LLVM, Clang: Update to 14.0.3.Greg Hogan2022-05-09
| | | | | | | * gnu/packages/llvm.scm (%llvm-monorepo-hashes, %llvm-patches, llvm-14, lld-14): Update to 14.0.3. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: llvm-3: Fix build.Guillaume Le Vaillant2022-04-10
| | | | | | | * gnu/packages/llvm.scm (llvm-3.9)[arguments]: Use gexp. Add 'shared-lib-workaround' phase. Co-authored-by: Maxime Devos <maximedevos@telenet.be>
* gnu: LLVM, Clang: Add 14.0.0.Marius Bakke2022-04-07
| | | | | | | | | | | | | | * gnu/packages/llvm.scm (%llvm-monorepo-hashes, %llvm-patches, llvm-monorepo): New variables. (clang-runtime-from-llvm): Make HASH optional; use monorepo when not present. (clang-from-llvm): Likewise. (llvm-14, clang-runtime-14, clang-14, clang-toolchain-14, lld-14): New variables. (llvm-13): Inherit from LLVM-14. (lld-13): Inherit from LLD-14. (lld): Turn into alias for LLD-14. * gnu/packages/patches/clang-14.0-libc-search-path.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/zig.scm (zig): Change from LLD to LLD-13.
* gnu: clang: Build and link as shared libraries.Greg Hogan2022-02-16
| | | | | | | | | | Fixes <https://issues.guix.gnu.org/52054>. * gnu/packages/llvm.scm (clang)[arguments]<#:phases>: Remove the separate "extra" output and build the main package and clang-tools-extras with shared library linkage. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: LLVM: Support release candidates as version.Greg Hogan2022-02-10
| | | | | | | * gnu/packages/llvm.scm (llvm-uri, clang-from-llvm): Support release candidates as version. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: lldb: Update to 13.0.1.Greg Hogan2022-02-10
| | | | | | | * gnu/packages/llvm.scm (lldb): Update to 13.0.1. [inputs]: Change from LLVM-12 and CLANG-12 to LLVM-13 and CLANG-13. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: LLVM: Update to 13.0.1.Marius Bakke2022-02-03
| | | | | * gnu/packages/llvm.scm (llvm-13, clang-runtime-13, clang-13, lld, libomp): Update to 13.0.1.
* gnu: LLVM: Add release-monitoring-url.Marius Bakke2022-02-03
| | | | | | * gnu/packages/llvm.scm (%llvm-release-monitoring-url): New variable. (clang-from-llvm, llvm-13, clang-runtime-13, lld, libcxx, libomp)[properties]: Add release-monitoring-url, and upstream-name where appropriate.
* gnu: libomp: Update to 13.0.0.Marius Bakke2022-02-01
| | | | | | * gnu/packages/llvm.scm (libomp): Update to 13.0.0. [arguments]: Add workaround to #:configure-flags. [native-inputs]: Change from CLANG-9 and LLVM-9 to CLANG and LLVM.
* gnu: LLVM: Switch to 13 as the default.Marius Bakke2022-02-01
| | | | | | | | | | | | | | * gnu/packages/llvm.scm (llvm, clang-runtime, clang, clang-toolchain): Use version 13. * gnu/packages/gnuzilla.scm (mozjs-78)[native-inputs]: Change from LLVM to LLVM-9. * gnu/packages/rust.scm (rust-1.39, rust-1.40)[inputs]: Likewise. * gnu/packages/debug.scm (c-reduce)[inputs]: Stick with CLANG-9 and/or LLVM-9. * gnu/packages/diffoscope.scm (diffoscope)[inputs]: Likewise. * gnu/packages/linux.scm (bcc, bpftrace)[inputs]: Likewise. * gnu/packages/llvm.scm (libclc, libomp)[native-inputs]: Likewise. * gnu/packages/games.scm (hedgewars)[native-inputs]: Likewise. * gnu/packages/graphics.scm (openshadinglanguage)[native-inputs]: Likewise. * gnu/packages/opencl.scm (pocl)[inputs]: Likewise.
* gnu: llvm-12: Use quasiquote, addressing TODO.Maxim Cournoyer2022-01-10
| | | | * gnu/packages/llvm.scm (llvm-12)[configure-flags]: Use quasiquote.
* gnu: zig: Build with LLD 12.Marius Bakke2022-01-09
| | | | | | | | This fixes a regression introduced in a05e573d60bf64129abf4d4e5f27355c84ebb2ee as the LLD version must match the LLVM version. * gnu/packages/llvm.scm (lld-12): New variable. * gnu/packages/zig.scm (zig)[inputs]: Change from LLD to LLD-12.
* gnu: emacs-clang-rename: Remove input labels.Marius Bakke2022-01-08
| | | | | * gnu/packages/llvm.scm (emacs-clang-rename)[arguments]: Use SEARCH-INPUT-FILE instead of label.
* gnu: emacs-clang-format: Remove input labels.Marius Bakke2022-01-08
| | | | | * gnu/packages/llvm.scm (emacs-clang-format)[arguments]: Use SEARCH-INPUT-FILE instead of label.
* gnu: python-clang: Add 13.Marius Bakke2022-01-08
| | | | * gnu/packages/llvm.scm (python-clang-13): New variable.
* gnu: python-clang: Remove input labels.Marius Bakke2022-01-08
| | | | | * gnu/packages/llvm.scm (clang-python-bindings)[arguments]: Use SEARCH-INPUT-FILE instead of label.