summary refs log tree commit diff
path: root/gnu/packages/llvm.scm
AgeCommit message (Collapse)Author
2019-11-20gnu: Add llvm-9, clang-9 and clang-toolchain-9.David Truby
* gnu/packages/llvm.scm (llvm-9): New variable. (clang-runtime-9): New variable. (clang-9): New variable. (clang-toolchain-9): New variable. Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2019-11-19gnu: llvm: Change copyright holder.Mathieu Othacehe
* gnu/packages/llvm.scm: Change David Truby to Arm Ltd as copyright holder as requested here: https://issues.guix.gnu.org/issue/32773#18.
2019-11-17gnu: Add clang-toolchain.Mathieu Othacehe
In the same spirit that gcc-toolchain provides a complete gcc toolchain suitable for user profile installation, add a make-clang-toolchain function and use it to create clang-toolchain, clang-toolchain-7 and clang-toolchain-6 packages. * gnu/packages/llvm.scm (make-clang-toolchain): New method. (clang-toolchain): New public variable defined using previous method, (clang-toolchain-7): ditto, (clang-toolchain-6): ditto.
2019-11-17gnu: clang-from-llvm: Fix libstdc++ header location search.David Truby
Make clang use libstdc++ from gcc package. In the future, the build of clang could be parametrized to build clang with libstdc++ support or with libcxx support. * gnu/packages/llvm.scm (clang-from-llvm)[arguments]: Make clang look for libstdc++ in the right location, which is gcc c++ includes directory. Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2019-11-12gnu: clang-from-llvm: Fix set-glibc-file-names phase.Mathieu Othacehe
* gnu/packages/llvm.scm (clang-from-llvm)[arguments]: Turn case on major version into a cond, so that newer versions of clang have the same behaviour as version 6 and 7. Signed-off-by: Carl Dong <contact@carldong.me>
2019-11-10gnu: Add 'file-name' where appropriate.Efraim Flashner
* gnu/packages/admin.scm (detox, neofetch), gnu/packages/algebra.scm (python-fpylll), gnu/packages/bioinformatics.scm (tbsp, genrich), gnu/packages/crypto.scm (hpenc), gnu/packages/digest.scm (xxhash), gnu/packages/emacs-xyz.scm (emacs-tiny, emacs-ergoemacs-mode, emacs-make-it-so, emacs-poet-theme, emacs-deft, emacs-scribble-mode, emacs-helm-mu, emacs-unidecode, emacs-diff-hl, emacs-helm-exwm, emacs-gif-screencast, emacs-exec-path-from-shell), gnu/packages/engineering.scm (gpx), gnu/packages/freedesktop.scm (waylandpp), gnu/packages/golang.scm (go-github-com-sirupsen-logrus, go-github-com-shirou-gopsutil), gnu/packages/guile-xyz.scm (guile-studio, guile-picture-language, jupyter-guile-kernel), gnu/packages/image-viewers.scm (qview), gnu/packages/java-maths.scm (java-jblas), gnu/packages/llvm.scm (libclc), gnu/packages/logging.scm (spdlog), gnu/packages/ocaml.scm (ocaml-cstruct, ocaml-zarith), gnu/packages/terminals.scm (libtsm), gnu/packages/tigervnc.scm (tigervnc-client), gnu/packages/xdisorg.scm (xcalib, xbanish) [source]: Add file-name.
2019-09-23gnu: libomp: Fix test target.Boris A. Dekshteyn
* gnu/packages/llvm.scm (libomp)[arguments]: Change #:test-target value. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-22gnu: Add libcxx-6John Soo
* gnu/packages/llvm.scm (libcxx-6): New variable.
2019-07-24gnu: llvm: Add 'system->llvm-target' procedure.Ludovic Courtès
* gnu/packages/llvm.scm (system->llvm-target): New procedure.
2019-07-08gnu: libomp: Download over HTTPS.Tobias Geerinckx-Rice
* gnu/packages/llvm.scm (libomp)[source]: Use HTTPS.
2019-07-08gnu: libomp: Fix source hash.Tobias Geerinckx-Rice
This is a follow-up to commit c5296e205b65a9b53553cf45be2ab223d5e82df5, which updated llvm. * gnu/packages/llvm.scm (libomp)[source]: Fix hash.
2019-06-28gnu: rust: use llvm@8Ivan Petkov
* gnu/packages/llvm.scm (llvm): Rename to... (llvm-8): ...this. (llvm): New variable. * gnu/packages/rust.scm (rust)[inputs]: Use llvm-8
2019-06-28gnu: python-llvmlite: Build against LLVM 7.Marius Bakke
This is a follow-up to commit c5296e205b65a9b53553cf45be2ab223d5e82df5. * gnu/packages/llvm.scm (llvm-7, clang-runtime-7, clang-7): New public variables. (python-llvmlite)[inputs]: Inherit from LLVM-7 instead of LLVM.
2019-06-26gnu: Add libclc.Ricardo Wurmus
* gnu/packages/llvm.scm (libclc): New variable.
2019-06-26gnu: libcxx: Update hash.Ricardo Wurmus
This is a follow-up to commit c5296e205b65a9b53553cf45be2ab223d5e82df5, which updated llvm. * gnu/packages/llvm.scm (libcxx): Update hash.
2019-05-06gnu: llvm: Update to 8.0.0.Rutger Helling
* gnu/packages/llvm.scm (llvm): Update to 8.0.0. * gnu/packages/llvm.scm (clang-runtime): Update hash. * gnu/packages/llvm.scm (clang): Update hash.
2019-04-16gnu: Add libomp.Ludovic Courtès
* gnu/packages/llvm.scm (libomp): New variable.
2019-03-18gnu: libcxx: Correct sha256 hash.Tobias Geerinckx-Rice
* gnu/packages/llvm.scm (libcxx)[source]: Fix it.
2019-03-13gnu: python-llvmlite: Update to 0.27.1.Ricardo Wurmus
* gnu/packages/llvm.scm (python-llvmlite): Update to 0.27.1. [inputs]: Update patch for custom LLVM variant.
2019-02-17gnu: Add libcxx.Ricardo Wurmus
* gnu/packages/llvm.scm (libcxx): New variable.
2019-02-15gnu: LLVM, Clang: Update to 7.0.1.Marius Bakke
* gnu/packages/patches/clang-7.0-libc-search-path.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/llvm.scm (llvm, clang-runtime, clang): Update to 7.0.1. (llvm-7.0.1): Remove variable. (clang-from-llvm)[arguments]: Adjust phase to match Clang 7. (llvm-6, clang-runtime-6, clang-6): New public variables. * gnu/packages/dlang.scm (ldc)[native-inputs]: Change LLVM and CLANG to LLVM-6.0 and CLANG-6.0. * gnu/packages/gl.scm (mesa)[inputs]: Change from LLVM to LLVM-6.
2019-02-15gnu: LLVM: Use HTTPS URLs.Marius Bakke
* gnu/packages/llvm.scm (llvm, clang-runtime-from-llvm, clang-from-llvm, llvm-3.9.1, llvm-3.7, llvm-3.6, llvm-3.5)[source](uri): Use HTTPS. (emacs-clang-format)[description]: Likewise.
2019-01-31Merge branch 'master' into stagingMarius Bakke
2019-01-29gnu: clang-runtime@3.5: Fix compilation on glibc 2.28.Ludovic Courtès
Reported by zimoun <zimon.toutoune@gmail.com>. * gnu/packages/llvm.scm (clang-runtime-3.5): Add "clang-3.5-libsanitizer-ustat-fix.patch".
2019-01-09Merge remote-tracking branch 'origin/master' into stagingEfraim Flashner
2019-01-07gnu: Fix top-level circular references between emacs.scm and llvm.scm.Ludovic Courtès
Previously, loading either of these two modules could fail somewhat non-deterministically because each top-level was referencing a variable defined by the other module's top-level. * gnu/packages/emacs.scm (package-elisp-from-package): Move to... * gnu/packages/llvm.scm (package-elisp-from-package): Here. Keep private.
2019-01-07Revert "gnu: Use package-elisp-from-package for clangs emacs lisp files"Pierre Neidhardt
This reverts commit 5bc2e14add6433adbade3ccdf28c60e57334c20a.
2019-01-07gnu: Use package-elisp-from-package for clangs emacs lisp filesTim Gesthuizen
Use package-elisp-from-package for emacs-clang-format and emacs-clang-rename. Also remove package-from-clang-elisp-file as it is not needed anymore. * gnu/packages/llvm.scm (emacs-clang-format): Use package-elisp-from-package * gnu/packages/llvm.scm (emacs-clang-rename): Use package-elisp-from-package * gnu/packages/llvm.scm (package-from-clang-elisp-file): Remove function
2018-12-26Merge branch 'master' into stagingMarius Bakke
2018-12-25gnu: llvm@7.0.0: Update to 7.0.1.Rutger Helling
* gnu/packages/llvm.scm (llvm@7.0.0): Update to 7.0.1. Rename to llvm@7.0.1.
2018-12-22Merge branch 'master' into stagingMarius Bakke
2018-12-13gnu: Add llvm@7.0.0.Rutger Helling
* gnu/packages/llvm.scm (llvm@7.0.0): New variable.
2018-12-04gnu: mesa: Build against the regular LLVM package.Marius Bakke
* gnu/packages/gl.scm (mesa)[inputs]: Change LLVM-WITHOUT-RTTI to LLVM. * gnu/packages/llvm.scm (llvm-without-rtti): Remove variable.
2018-11-29Merge branch 'master' into core-updatesMarius Bakke
2018-11-28gnu: clang-from-llvm: Fix install for clang-3.*.Pierre Neidhardt
* gnu/packages/llvm.scm (clang-from-llvm): Fix install for clang-3.*.
2018-11-26gnu: clang-from-llvm: Clean up share/clang folder.Pierre Neidhardt
* gnu/packages/llvm.scm (clang-from-llvm): Remove useless files, install completion.
2018-11-26gnu: Add emacs-clang-rename.Pierre Neidhardt
* gnu/packages/llvm.scm (emacs-clang-rename): New variable.
2018-11-26gnu: emacs-clang-format: Inherit from clang.Tim Gesthuizen
* gnu/packages/emacs.scm (emacs-clang-format): Remove. * gnu/packages/llvm.scm (emacs-clang-format): Add.
2018-11-20Merge branch 'master' into core-updatesMarius Bakke
2018-11-17gnu: mesa: Stay on RTTI-less LLVM.Marius Bakke
* gnu/packages/llvm.scm (llvm-without-rtti): New public variable. * gnu/packages/gl.scm (mesa)[inputs]: Use that instead of LLVM.
2018-11-17llvm: Build with RTTI by default.Eric Bavier
Increases size of llvm@6 by 2.5MiB (2.5%), but saves building specialized llvm's with rtti enabled for packages that require RTTI when linking with the llvm libraries. * gnu/packages/llvm.scm (llvm-3.8-with-rtti): Remove variable. (llvm)[arguments]: Add '-DLLVM_REQUIRES_RTTI=1' to #:configure-flags. * gnu/packages/audio.scm (faust-2)[native-inputs]: 'llvm-3.8-with-rtti' -> 'llvm-3.8'.
2018-11-14Merge branch 'master' into core-updatesMarius Bakke
2018-11-11gnu: faust-2: Update to 2.5.23.Ricardo Wurmus
* gnu/packages/audio.scm (faust-2): Update to 2.5.23. [native-inputs]: Replace llvm-with-rtti with llvm-3.8-with-rtti. * gnu/packages/llvm.scm (llvm-with-rtti): Rename this variable... (llvm-3.8-with-rtti): ...to this variable; inherit from llvm-3.8.
2018-10-15* gnu: clang-runtime: Fix typo in patch name.Efraim Flashner
This is a follow-up to 0627f93db6a57e7411cb332b7509f35753b149e4. * gnu/packages/patches/libsantitizer-ustat-fix.patch: Rename to gnu/packages/patches/libsanitizer-ustat-fix.patch. * gnu/packages/llvm.scm (clang-runtime@3.7, clang-runtime@3.8, clang-runtime@3.9)[patches]: Fix patch name.
2018-10-15gnu: clang-runtime: Adapt for glibc@2.28.Efraim Flashner
* gnu/packages/llvm.scm (clang-runtime@3.7, clang-runtime@3.8, clang-runtime@3.9)[patches]: Add patch to work around removed ustat.h. * gnu/packages/patches/clang-3.5-libsanitizer-ustat-fix.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it.
2018-09-14gnu: python-llvmlite: Remove obsolete patch.Ricardo Wurmus
* gnu/packages/llvm.scm (python-llvmlite)[inputs]: Remove patch that is obsolete since the upgrade to LLVM 6.0.1.
2018-08-29gnu: Add python-llvmlite.Ricardo Wurmus
* gnu/packages/llvm.scm (python-llvmlite): New variable.
2018-07-28Revert "Revert "gnu: llvm: Update to 6.0.1.""Marius Bakke
This reverts commit bb8221d41cc7b2dc928d1c9501946d3dc6063c4b.
2018-04-06gnu: llvm, clang: Update to 6.0.0.Marius Bakke
* gnu/packages/llvm.scm (llvm, clang-runtime, clang): Update to 6.0.0. (clang-from-llvm)(patches): Set to empty list. [arguments]: Adjust substitutions depending on major version. (llvm-3.8, clang-runtime-3.8, clang-3.8): New public variables. (clang-3.7, clang-3.6, clang-3.5)(patches): Add 'clang-3.5-libc-search-path.patch'. (clang-3.9.1)(patches): Add 'clang-3.8-libc-search-path.patch'. * gnu/packages/patches/clang-6.0-libc-search-path.patch: New file. * gnu/packages/patches/clang-libc-search-path.patch: Rename to ... * gnu/packages/patches/clang-3.5-libc-search-path.patch: ... this. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2018-01-18gnu: clang-runtime: Fix build issues against glibc 2.26.Ludovic Courtès
* gnu/packages/patches/clang-runtime-asan-build-fixes.patch, gnu/packages/patches/clang-runtime-esan-build-fixes.patch: New files. * gnu/local.mk (dist_patch_DATA): Add them. * gnu/packages/llvm.scm (clang-runtime-from-llvm): Add 'patches' parameter and honor it. (clang-runtime): Pass patch list. (clang-runtime-3.9.1, clang-runtime-3.7, clang-runtime-3.6) (clang-runtime-3.5): Likewise.