summaryrefslogtreecommitdiff
path: root/gnu/packages/llvm.scm
AgeCommit message (Expand)Author
2022-06-28gnu: llvm-for-rocm: Inherit from llvm-14...* gnu/packages/llvm.scm (llvm-for-rocm)[arguments]: Inherit from llvm-14 instead of llvm-12 and use g-exp for #:configure-flags. Lars-Dominik Braun
2022-06-22gnu: llvm-9: Fix building on riscv64-linux....* gnu/packages/llvm.scm (llvm-9)[arguments]: When building for riscv64-linux add a phase to fix building one of the binaries. Efraim Flashner
2022-06-16gnu: llvm-9: Fix building on riscv64-linux....* 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. Efraim Flashner
2022-06-16gnu: Update llvm-for-rocm: Update to 5.1.3....* 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> John Kehayias
2022-06-13gnu: LLVM, Clang, LLD: Update to 14.0.5....* gnu/packages/llvm.scm (llvm-14, clang-14, lld-14): Update to 14.0.5. (%llvm-monorepo-hashes, %llvm-patches): Adjust accordingly. Marius Bakke
2022-06-12gnu: llvm-14: Fix configure-flags for cross-compiling....* gnu/packages/llvm.scm (llvm-14)[arguments]: Fix syntax error in configure-flags when cross-compiling llvm. Efraim Flashner
2022-06-01gnu: LLVM, Clang, LLD: Update to 14.0.4....* 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. Marius Bakke
2022-05-29gnu: clang-from-llvm: Fix building on riscv64-linux....* gnu/packages/llvm.scm (clang-from-llvm)[arguments]: When building for riscv64-linux add configure-flags and make-flags to ensure linking with '-latomic'. Efraim Flashner
2022-05-28gnu: clang-from-llvm: Fix build on some architectures....* gnu/packages/llvm.scm (clang-from-llvm)[arguments]: Adjust custom 'symlink-cfi_ignorelist phase to only symlink when the file exists. Efraim Flashner
2022-05-22gnu: clang@14: Include the extras....* gnu/packages/llvm.scm (clang-14): Add a matching #:tools-extra origin. Reported by foobarxyz on #guix. Tobias Geerinckx-Rice
2022-05-20gnu: clang: Add OBJC_INCLUDE_PATH to native-search-paths....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> Zhu Zihao
2022-05-12gnu: python-llvmlite: Update to 0.38.0....* gnu/packages/llvm.scm (python-llvmlite): Update to 0.38.0. Maxim Cournoyer
2022-05-09gnu: LLVM, Clang: Update to 14.0.3....* 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> Greg Hogan
2022-04-10gnu: llvm-3: Fix build....* gnu/packages/llvm.scm (llvm-3.9)[arguments]: Use gexp. Add 'shared-lib-workaround' phase. Co-authored-by: Maxime Devos <maximedevos@telenet.be> Guillaume Le Vaillant
2022-04-07gnu: LLVM, Clang: Add 14.0.0....* 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. Marius Bakke
2022-02-16gnu: clang: Build and link as shared libraries....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> Greg Hogan
2022-02-10gnu: LLVM: Support release candidates as version....* gnu/packages/llvm.scm (llvm-uri, clang-from-llvm): Support release candidates as version. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan
2022-02-10gnu: lldb: Update to 13.0.1....* 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> Greg Hogan
2022-02-03gnu: LLVM: Update to 13.0.1....* gnu/packages/llvm.scm (llvm-13, clang-runtime-13, clang-13, lld, libomp): Update to 13.0.1. Marius Bakke
2022-02-03gnu: LLVM: Add release-monitoring-url....* 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. Marius Bakke
2022-02-01gnu: libomp: Update to 13.0.0....* 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. Marius Bakke
2022-02-01gnu: LLVM: Switch to 13 as the default....* 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. Marius Bakke
2022-01-10gnu: llvm-12: Use quasiquote, addressing TODO....* gnu/packages/llvm.scm (llvm-12)[configure-flags]: Use quasiquote. Maxim Cournoyer
2022-01-09gnu: zig: Build with LLD 12....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. Marius Bakke
2022-01-08gnu: emacs-clang-rename: Remove input labels....* gnu/packages/llvm.scm (emacs-clang-rename)[arguments]: Use SEARCH-INPUT-FILE instead of label. Marius Bakke
2022-01-08gnu: emacs-clang-format: Remove input labels....* gnu/packages/llvm.scm (emacs-clang-format)[arguments]: Use SEARCH-INPUT-FILE instead of label. Marius Bakke
2022-01-08gnu: python-clang: Add 13....* gnu/packages/llvm.scm (python-clang-13): New variable. Marius Bakke
2022-01-08gnu: python-clang: Remove input labels....* gnu/packages/llvm.scm (clang-python-bindings)[arguments]: Use SEARCH-INPUT-FILE instead of label. Marius Bakke
2022-01-08gnu: clang@13: Install CFI ignorelist....* gnu/packages/llvm.scm (clang-from-llvm)[arguments]: Adjust symlink-cfi_blacklist phase to work with the renamed "ignorelist" in clang-runtime@13. Rename phase to match. * gnu/packages/llvm.scm (clang-13)[arguments]: Remove. Marius Bakke
2022-01-08gnu: python-llvmlite: Remove unused patch....* gnu/packages/llvm.scm (python-llvmlite)[inputs]: Remove patch from the custom LLVM variant, because the custom patch phase was defunct and the patch no longer applies. Marius Bakke
2022-01-08gnu: lldb: Simplify inputs....* gnu/packages/llvm.scm (lldb)[inputs]: Remove labels. Marius Bakke
2022-01-08gnu: lld: Update to 13.0.0....* gnu/packages/llvm.scm (lld): Update to 13.0.0. [inputs]: Change from LLVM-12 to LLVM-13. Marius Bakke
2022-01-08gnu: libunwind-headers: Update to 13.0.0....* gnu/packages/llvm.scm (libunwind-headers): Update to 13.0.0. Marius Bakke
2022-01-01gnu: clang: Add 'compiler-cpu-architectures' property....* gnu/packages/llvm.scm (clang-from-llvm): Add #:properties and honor it. (clang-properties): New procedures. (make-clang-toolchain): Set 'properties' field. Ludovic Courtès
2021-12-31gnu: python-llvmlite: Repair indentation....* gnu/packages/llvm.scm (python-llvmlite): Repair automatically reformatted code. Ricardo Wurmus
2021-12-27gnu: Add llvm-13....* gnu/packages/llvm.scm (llvm-13, clang-runtime-13, clang-13, clang-toolchain-13): New variables. (llvm-12): Inherit from llvm-13. * gnu/packages/patches/clang-13.0-libc-search-path.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Ricardo Wurmus
2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès
2021-11-20gnu: python-llvmlite: Update to 0.37.0....* gnu/packages/llvm.scm (python-llvmlite): Update to 0.37.0. [inputs]: Update patched LLVM. Ricardo Wurmus
2021-11-20gnu: python-llvmlite: Remove trailing #T....* gnu/packages/llvm.scm (python-llvmlite)[arguments]: Remove trailing #T from build phases. Ricardo Wurmus
2021-11-18gnu: cling: Move next to llvm and clang....Inheritance should happen within the same module. * gnu/packages/cpp.scm (%cling, llvm-cling, clang-cling-runtime) (clang-cling, cling): Move to... * gnu/packages/llvm.scm: ... here. Use 'modify-inputs' instead of 'alist-replace'. Ludovic Courtès
2021-11-18gnu: llvm-julia: Move next to llvm....Inheritance should happen within the same module. * gnu/packages/julia.scm (julia-patch): Make public. (llvm-julia): Move to... * gnu/packages/llvm.scm (llvm-julia): ... here. Ludovic Courtès
2021-11-17Merge branch 'master' into core-updates-frozenLudovic Courtès
2021-11-15gnu: clang-toolchain: Add libomp....* gnu/packages/llvm.scm (make-clang-toolchain)[inputs]: Add LIBOMP. Ludovic Courtès
2021-11-11gnu: llvm: Add make-lld-wrapper, lld-wrapper and lld-as-ld-wrapper....* gnu/packages/llvm.scm (make-lld-wrapper): New procedure. (lld-wrapper, lld-as-ld-wrapper): New variables. Maxim Cournoyer
2021-10-12Merge remote-tracking branch 'origin/master' into core-updates-frozen.Mathieu Othacehe
2021-10-09gnu: clang@11, clang@12: Do not refer to /lib on foreign distros....Partly fixes <https://issues.guix.gnu.org/51088>. * gnu/packages/patches/clang-11.0-libc-search-path.patch: Update. * gnu/packages/patches/clang-12.0-libc-search-path.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/llvm.scm (clang-12): Use it. Ludovic Courtès
2021-10-09gnu: clang@7, clang@8: Do not refer to /lib on foreign distros....Partly fixes <https://issues.guix.gnu.org/51088>. * gnu/packages/patches/clang-7.0-libc-search-path.patch: Update. * gnu/packages/patches/clang-8.0-libc-search-path.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/llvm.scm (clang-8): Use it. Ludovic Courtès
2021-10-07gnu: llvm-3.6: Fix build....* gnu/packages/patches/llvm-3.6-fix-build-with-gcc-10.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/llvm.scm (llvm-3.6)[source]: Use it. Guillaume Le Vaillant
2021-09-27gnu: llvm: Let it cross-compile....The derivation when compiling natively remains the same, so this doesn't cause any rebuilds. * gnu/packages/llvm.scm (llvm-12)[arguments]<#:configure-flags>: Set LLVM_TABLEGEN, LLVM_DEFAULT_TARGET_TRIPLE, LLVM_TARGET_ARCH and LLVM_TARGETS_TO_BUILD when cross-compiling. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Maxime Devos
2021-09-23gnu: lldb: Update to 12.0.1....* gnu/packages/llvm.scm (lldb): Update to 12.0.1. [inputs]: Change from LLVM-11 and CLANG-11 to LLVM-12 and CLANG-12. Marius Bakke