summaryrefslogtreecommitdiff
path: root/gnu/packages/llvm.scm
Commit message (Collapse)AuthorAge
* 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.
* gnu: clang@13: Install CFI ignorelist.Marius Bakke2022-01-08
| | | | | | | * 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.
* gnu: python-llvmlite: Remove unused patch.Marius Bakke2022-01-08
| | | | | | * 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.
* gnu: lldb: Simplify inputs.Marius Bakke2022-01-08
| | | | * gnu/packages/llvm.scm (lldb)[inputs]: Remove labels.
* gnu: lld: Update to 13.0.0.Marius Bakke2022-01-08
| | | | | * gnu/packages/llvm.scm (lld): Update to 13.0.0. [inputs]: Change from LLVM-12 to LLVM-13.
* gnu: libunwind-headers: Update to 13.0.0.Marius Bakke2022-01-08
| | | | * gnu/packages/llvm.scm (libunwind-headers): Update to 13.0.0.
* gnu: clang: Add 'compiler-cpu-architectures' property.Ludovic Courtès2022-01-01
| | | | | | * gnu/packages/llvm.scm (clang-from-llvm): Add #:properties and honor it. (clang-properties): New procedures. (make-clang-toolchain): Set 'properties' field.
* gnu: python-llvmlite: Repair indentation.Ricardo Wurmus2021-12-31
| | | | | * gnu/packages/llvm.scm (python-llvmlite): Repair automatically reformatted code.
* gnu: Add llvm-13.Ricardo Wurmus2021-12-27
| | | | | | | | * 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.
* gnu: Simplify package inputs.Ludovic Courtès2021-12-13
| | | | | | | | This commit was obtained by running: ./pre-inst-env guix style without any additional argument.
* gnu: python-llvmlite: Update to 0.37.0.Ricardo Wurmus2021-11-20
| | | | | * gnu/packages/llvm.scm (python-llvmlite): Update to 0.37.0. [inputs]: Update patched LLVM.
* gnu: python-llvmlite: Remove trailing #T.Ricardo Wurmus2021-11-20
| | | | | * gnu/packages/llvm.scm (python-llvmlite)[arguments]: Remove trailing #T from build phases.
* gnu: cling: Move next to llvm and clang.Ludovic Courtès2021-11-18
| | | | | | | | | 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'.
* gnu: llvm-julia: Move next to llvm.Ludovic Courtès2021-11-18
| | | | | | | | 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.
* Merge branch 'master' into core-updates-frozenLudovic Courtès2021-11-17
|\
| * gnu: clang-toolchain: Add libomp.Ludovic Courtès2021-11-15
| | | | | | | | * gnu/packages/llvm.scm (make-clang-toolchain)[inputs]: Add LIBOMP.
* | gnu: llvm: Add make-lld-wrapper, lld-wrapper and lld-as-ld-wrapper.Maxim Cournoyer2021-11-11
| | | | | | | | | | * gnu/packages/llvm.scm (make-lld-wrapper): New procedure. (lld-wrapper, lld-as-ld-wrapper): New variables.
* | Merge remote-tracking branch 'origin/master' into core-updates-frozen.Mathieu Othacehe2021-10-12
|\|
| * gnu: clang@11, clang@12: Do not refer to /lib on foreign distros.Ludovic Courtès2021-10-09
| | | | | | | | | | | | | | | | | | 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.
| * gnu: clang@7, clang@8: Do not refer to /lib on foreign distros.Ludovic Courtès2021-10-09
| | | | | | | | | | | | | | | | | | 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.
| * gnu: lldb: Update to 12.0.1.Marius Bakke2021-09-23
| | | | | | | | | | * gnu/packages/llvm.scm (lldb): Update to 12.0.1. [inputs]: Change from LLVM-11 and CLANG-11 to LLVM-12 and CLANG-12.
| * gnu: lld: Update to 12.0.1.Marius Bakke2021-09-23
| | | | | | | | | | * gnu/packages/llvm.scm (lld): Update to 12.0.1. [native-inputs]: Add LIBUNWIND-HEADERS.
| * gnu: Add libunwind-headers.Marius Bakke2021-09-23
| | | | | | | | * gnu/packages/llvm.scm (libunwind-headers): New public variable.
| * gnu: LLVM, Clang: Update to 12.0.1.Marius Bakke2021-09-23
| | | | | | | | | | | | | | * gnu/packages/patches/clang-12-tools-extra-directory.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/llvm.scm (llvm-12, clang-runtime-12): Update to 12.0.1. (clang-12): Likewise. Remove obsolete patch.
* | gnu: llvm-3.6: Fix build.Guillaume Le Vaillant2021-10-07
| | | | | | | | | | | | * 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.
* | gnu: llvm: Let it cross-compile.Maxime Devos2021-09-27
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge branch 'master' into core-updates-frozenMarius Bakke2021-09-17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gnu/packages/bioinformatics.scm gnu/packages/chez.scm gnu/packages/docbook.scm gnu/packages/ebook.scm gnu/packages/gnome.scm gnu/packages/linux.scm gnu/packages/networking.scm gnu/packages/python-web.scm gnu/packages/python-xyz.scm gnu/packages/tex.scm gnu/packages/version-control.scm gnu/packages/xml.scm guix/build-system/dune.scm guix/build-system/go.scm guix/build-system/linux-module.scm guix/packages.scm
| * gnu: llvm-for-rocm: Move to llvm.scm.Ludovic Courtès2021-09-10
| | | | | | | | | | | | | | | | This removes a cross-module top-level reference, which could lead to build errors when importing (gnu packages rocm) in another module. * gnu/packages/rocm.scm (llvm-for-rocm): Move to... * gnu/packages/llvm.scm (llvm-for-rocm): ... here.
* | Merge branch 'master' into core-updates-frozenMarius Bakke2021-08-12
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gnu/packages/algebra.scm gnu/packages/games.scm gnu/packages/golang.scm gnu/packages/kerberos.scm gnu/packages/mail.scm gnu/packages/python.scm gnu/packages/ruby.scm gnu/packages/scheme.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/version-control.scm
| * gnu: Add python-clang.Ludovic Courtès2021-08-04
| | | | | | | | | | * gnu/packages/llvm.scm (clang-python-bindings): New procedure. (python-clang-10, python-clang-11, python-clang-12): New variables.
* | gnu: Use 'search-input-directory' and 'search-input-file' where appropriate.Ludovic Courtès2021-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes some of the remaining uses of this idiom: (string-append (assoc-ref inputs "LABEL") "FILE") to one of: (search-input-file inputs "FILE") (search-input-directory inputs "FILE") * gnu/packages/axoloti.scm (axoloti-patcher): Use 'search-input-directory'. (axoloti-patcher-next): Likewise. * gnu/packages/bioinformatics.scm (java-picard): Likewise. * gnu/packages/bootloaders.scm (grub-hybrid): Likewise. (u-boot-puma-rk3399): Likewise. (u-boot-rock64-rk3328): Likewise. (u-boot-firefly-rk3399): Likewise. (u-boot-rockpro64-rk3399): Likewise. (u-boot-pinebook-pro-rk3399): Likewise. * gnu/packages/cran.scm (r-shiny): Likewise. (r-shinytree): Likewise. * gnu/packages/education.scm (anki): Likewise. * gnu/packages/emacs-xyz.scm (emacs-flycheck-grammalecte): Likewise. (emacs-rime): Likewise. * gnu/packages/emulators.scm (dolphin-emu): Likewise. * gnu/packages/games.scm (bsd-games): Likewise. (seahorse-adventures): Likewise. (einstein): Likewise. * gnu/packages/gimp.scm (gimp-fourier): Likewise. * gnu/packages/gnome.scm (gspell): Likewise. * gnu/packages/guile-xyz.scm (guile-libyaml): Likewise. * gnu/packages/java.scm (icedtea-7): Likewise. * gnu/packages/language.scm (nimf): Likewise. * gnu/packages/lxde.scm (spacefm): Likewise. * gnu/packages/mail.scm (claws-mail): Likewise. * gnu/packages/netpbm.scm (netpbm): Likewise. * gnu/packages/networking.scm (blueman): Likewise. * gnu/packages/scheme.scm (scm): Likewise. * gnu/packages/security-token.scm (python-fido2): Likewise. * gnu/packages/syndication.scm (rtv): Likewise. * gnu/packages/tls.scm (acme-client): Likewise. * gnu/packages/web.scm (netsurf): Likewise. * gnu/packages/wine.scm (wine-staging): Likewise. * gnu/packages/wxwidgets.scm (wxwidgets): Likewise.
* | gnu: Use 'search-input-directory' when looking for C/C++ library headers.Ludovic Courtès2021-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/arcan.scm (arcan)[arguments]: Use 'search-input-directory' for "include/libdrm" and "include/apr-1". * gnu/packages/bioinformatics.scm (sailfish): Likewise for jellyfish. * gnu/packages/boost.scm (boost-for-irods): Likewise for libcxx headers. * gnu/packages/cedille.scm (cedille): Likewise for IAL headers. * gnu/packages/compression.scm (snappy-with-clang6): Likewise for libcxx headers. * gnu/packages/cups.scm (hplip): Likewise for libusb headers. * gnu/packages/emulators.scm (pcsxr): Likewise for libcdio headers. * gnu/packages/game-development.scm (python2-renpy): Likewise for fribidi headers. * gnu/packages/games.scm (pokerth): Likewise for libircclient. * gnu/packages/guile-xyz.scm (guile-persist): Likewise for Guile. * gnu/packages/hurd.scm (hurd): Likewise for libtirpc. * gnu/packages/irods.scm (irods, irods-client-icommands): Likewise for libcxx, catch2, and nlohmann-json-cpp. * gnu/packages/julia.scm (julia): Use 'search-input-file' for libuv's errno.h. * gnu/packages/kde-pim.scm (kdepim-runtime): Use 'search-input-directory' for "include/KF5". (kmessagelib): Likewise. * gnu/packages/kde.scm (kdeconnect): Likewise. * gnu/packages/llvm.scm (clang-runtime-3.5): Likewise for libtirpc. * gnu/packages/mpi.scm (openmpi): Likewise for "include/infiniband". * gnu/packages/pumpio.scm (pumpa): Use 'search-input-file' for "tidy.h" and "aspell.h". * gnu/packages/radio.scm (dream): Use 'search-input-file' and 'search-input-directory' for pulseaudio, sndfile, etc. * gnu/packages/selinux.scm (policycoreutils): Likewise for PAM and libaudit. * gnu/packages/serialization.scm (avro-cpp-1.9-for-irods): Likewise for libcxx. * gnu/packages/sync.scm (nextcloud-client): Likewise for "include/KF5". * gnu/packages/video.scm (mkvtoolnix): Likewise for "include/gtest". (libopenshot): Likewise for "include/UnitTest++". * gnu/packages/virtualization.scm (criu): Likewise for libnl3 and for protobuf file.
* | Merge branch 'master' into core-updatesMarius Bakke2021-06-06
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gnu/local.mk gnu/packages/algebra.scm gnu/packages/bioinformatics.scm gnu/packages/curl.scm gnu/packages/docbook.scm gnu/packages/emacs-xyz.scm gnu/packages/maths.scm gnu/packages/plotutils.scm gnu/packages/python-web.scm gnu/packages/python-xyz.scm gnu/packages/radio.scm gnu/packages/readline.scm gnu/packages/tls.scm gnu/packages/xml.scm gnu/packages/xorg.scm
| * gnu: llvm-7: Update to 7.1.0.Efraim Flashner2021-06-01
| | | | | | | | * gnu/packages/llvm.scm (llvm-7): Update to 7.1.0.
* | Merge branch 'master' into core-updatesMarius Bakke2021-05-09
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gnu/local.mk gnu/packages/bioinformatics.scm gnu/packages/django.scm gnu/packages/gtk.scm gnu/packages/llvm.scm gnu/packages/python-web.scm gnu/packages/python.scm gnu/packages/tex.scm guix/build-system/asdf.scm guix/build/emacs-build-system.scm guix/profiles.scm
| * gnu: LLVM, Clang: Add 12.0.0.Marius Bakke2021-04-28
| | | | | | | | | | | | | | | | * gnu/packages/patches/clang-12-tools-extra-directory.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/llvm.scm (llvm-12, clang-runtime-12, clang-12, clang-toolchain-12): New variables. (llvm-11): Inherit from LLVM-12.
| * gnu: Add libcxx+libcxxabi-6.Ricardo Wurmus2021-04-21
| | | | | | | | * gnu/packages/llvm.scm (libcxx+libcxxabi-6): New variable.
| * gnu: Add libcxxabi-6.Ricardo Wurmus2021-04-21
| | | | | | | | * gnu/packages/llvm.scm (libcxxabi-6): New variable.