Commit Graph

72 Commits

Author SHA1 Message Date
Boris A. Dekshteyn 9338cbdbe0
gnu: libomp: Fix test target.
* gnu/packages/llvm.scm (libomp)[arguments]: Change #:test-target value.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-23 12:20:31 +02:00
John Soo 8b5107d209
gnu: Add libcxx-6
* gnu/packages/llvm.scm (libcxx-6): New variable.
2019-09-22 08:47:52 +02:00
Ludovic Courtès 96a9a8d398
gnu: llvm: Add 'system->llvm-target' procedure.
* gnu/packages/llvm.scm (system->llvm-target): New procedure.
2019-07-24 00:31:22 +02:00
Tobias Geerinckx-Rice 69e3512b7c
gnu: libomp: Download over HTTPS.
* gnu/packages/llvm.scm (libomp)[source]: Use HTTPS.
2019-07-08 15:33:35 +02:00
Tobias Geerinckx-Rice e2170c3192
gnu: libomp: Fix source hash.
This is a follow-up to commit c5296e205b,
which updated llvm.

* gnu/packages/llvm.scm (libomp)[source]: Fix hash.
2019-07-08 15:33:35 +02:00
Ivan Petkov f5de2b9a3e
gnu: rust: use llvm@8
* gnu/packages/llvm.scm (llvm): Rename to...
(llvm-8): ...this.
(llvm): New variable.
* gnu/packages/rust.scm (rust)[inputs]: Use llvm-8
2019-06-28 18:31:51 -07:00
Marius Bakke 4289d1d71c
gnu: python-llvmlite: Build against LLVM 7.
This is a follow-up to commit c5296e205b.

* 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-28 20:53:20 +02:00
Ricardo Wurmus a2cc25ab96
gnu: Add libclc.
* gnu/packages/llvm.scm (libclc): New variable.
2019-06-26 16:24:58 +02:00
Ricardo Wurmus 4980b0b5b9
gnu: libcxx: Update hash.
This is a follow-up to commit c5296e205b, which
updated llvm.

* gnu/packages/llvm.scm (libcxx): Update hash.
2019-06-26 16:24:58 +02:00
Rutger Helling c5296e205b
gnu: llvm: Update to 8.0.0.
* 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-05-06 13:29:12 +02:00
Ludovic Courtès 698e91f0d0
gnu: Add libomp.
* gnu/packages/llvm.scm (libomp): New variable.
2019-04-16 17:30:22 +02:00
Tobias Geerinckx-Rice 8c72f13fd4
gnu: libcxx: Correct sha256 hash.
* gnu/packages/llvm.scm (libcxx)[source]: Fix it.
2019-03-18 01:42:51 +01:00
Ricardo Wurmus f932540773
gnu: python-llvmlite: Update to 0.27.1.
* gnu/packages/llvm.scm (python-llvmlite): Update to 0.27.1.
[inputs]: Update patch for custom LLVM variant.
2019-03-13 20:43:55 +01:00
Ricardo Wurmus 9f0ce5ec4a
gnu: Add libcxx.
* gnu/packages/llvm.scm (libcxx): New variable.
2019-02-17 10:02:06 +01:00
Marius Bakke d199a4c7b4
gnu: LLVM, Clang: Update to 7.0.1.
* 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-15 12:12:09 +01:00
Marius Bakke 3bdcc668ee
gnu: LLVM: Use HTTPS URLs.
* 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-02-15 12:12:09 +01:00
Marius Bakke 0747328e31
Merge branch 'master' into staging 2019-01-31 23:32:56 +01:00
Ludovic Courtès 286bea0dba
gnu: clang-runtime@3.5: Fix compilation on glibc 2.28.
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-29 23:46:33 +01:00
Efraim Flashner 0e28967250
Merge remote-tracking branch 'origin/master' into staging 2019-01-09 10:52:41 +02:00
Ludovic Courtès 67eebb19b7
gnu: Fix top-level circular references between emacs.scm and llvm.scm.
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-07 15:09:30 +01:00
Pierre Neidhardt 3a3d4d9d54
Revert "gnu: Use package-elisp-from-package for clangs emacs lisp files"
This reverts commit 5bc2e14add.
2019-01-07 14:58:40 +01:00
Tim Gesthuizen 5bc2e14add
gnu: Use package-elisp-from-package for clangs emacs lisp files
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
2019-01-07 14:45:21 +01:00
Marius Bakke 2bfcdbce51
Merge branch 'master' into staging 2018-12-26 16:03:09 +01:00
Rutger Helling 522d1b87bc
gnu: llvm@7.0.0: Update to 7.0.1.
* gnu/packages/llvm.scm (llvm@7.0.0): Update to 7.0.1. Rename to llvm@7.0.1.
2018-12-25 12:30:48 +01:00
Marius Bakke f30830b2e6
Merge branch 'master' into staging 2018-12-22 15:26:30 +01:00
Rutger Helling d022c204bd
gnu: Add llvm@7.0.0.
* gnu/packages/llvm.scm (llvm@7.0.0): New variable.
2018-12-13 11:39:57 +01:00
Marius Bakke 730a4728cc
gnu: mesa: Build against the regular LLVM package.
* gnu/packages/gl.scm (mesa)[inputs]: Change LLVM-WITHOUT-RTTI to LLVM.
* gnu/packages/llvm.scm (llvm-without-rtti): Remove variable.
2018-12-04 20:05:21 +01:00
Marius Bakke 25ca46985c
Merge branch 'master' into core-updates 2018-11-29 15:56:49 +01:00
Pierre Neidhardt ad8a4a666d
gnu: clang-from-llvm: Fix install for clang-3.*.
* gnu/packages/llvm.scm (clang-from-llvm): Fix install for clang-3.*.
2018-11-28 13:43:04 +01:00
Pierre Neidhardt 1c7372a5aa
gnu: clang-from-llvm: Clean up share/clang folder.
* gnu/packages/llvm.scm (clang-from-llvm): Remove useless files, install completion.
2018-11-26 14:53:45 +01:00
Pierre Neidhardt 51002b723d
gnu: Add emacs-clang-rename.
* gnu/packages/llvm.scm (emacs-clang-rename): New variable.
2018-11-26 14:53:45 +01:00
Tim Gesthuizen 7628ff1fc0
gnu: emacs-clang-format: Inherit from clang.
* gnu/packages/emacs.scm (emacs-clang-format): Remove.
* gnu/packages/llvm.scm (emacs-clang-format): Add.
2018-11-26 14:53:45 +01:00
Marius Bakke 4f70db97a0
Merge branch 'master' into core-updates 2018-11-20 01:14:12 +01:00
Marius Bakke f8cba3ff4f
gnu: mesa: Stay on RTTI-less LLVM.
* gnu/packages/llvm.scm (llvm-without-rtti): New public variable.
* gnu/packages/gl.scm (mesa)[inputs]: Use that instead of LLVM.
2018-11-17 22:54:03 +01:00
Eric Bavier fc9dbf4131
llvm: Build with RTTI by default.
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-17 00:19:53 -06:00
Marius Bakke 79ee97a144
Merge branch 'master' into core-updates 2018-11-14 21:20:46 +01:00
Ricardo Wurmus 89c7894805
gnu: faust-2: Update to 2.5.23.
* 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-11-11 16:19:59 +01:00
Efraim Flashner 1a2d8d06b5
* gnu: clang-runtime: Fix typo in patch name.
This is a follow-up to 0627f93db6.

* 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-15 21:51:26 +03:00
Efraim Flashner 0627f93db6
gnu: clang-runtime: Adapt for glibc@2.28.
* 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-10-15 21:45:32 +03:00
Ricardo Wurmus 7a20877a18
gnu: python-llvmlite: Remove obsolete patch.
* gnu/packages/llvm.scm (python-llvmlite)[inputs]: Remove patch that is
obsolete since the upgrade to LLVM 6.0.1.
2018-09-14 15:12:03 +02:00
Ricardo Wurmus 8892cac329
gnu: Add python-llvmlite.
* gnu/packages/llvm.scm (python-llvmlite): New variable.
2018-08-29 17:06:13 +02:00
Marius Bakke 148df6052c
Revert "Revert "gnu: llvm: Update to 6.0.1.""
This reverts commit bb8221d41c.
2018-07-28 21:23:11 +02:00
Marius Bakke 9bdbabe963
gnu: llvm, clang: Update to 6.0.0.
* 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-04-06 17:46:03 +02:00
Ludovic Courtès 6b26f9152c
gnu: clang-runtime: Fix build issues against glibc 2.26.
* 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.
2018-01-18 00:09:11 +01:00
Tobias Geerinckx-Rice ac97dce1d2
gnu: check, llvm: Use HTTPS for llvm.org home pages.
* gnu/packages/check.scm (python-lit)[home-page]: Use HTTPS.
* gnu/packages/llvm.scm (llvm, clang, clang-runtime)[home-page]: Likewise.
2017-12-25 02:01:01 +01:00
Roel Janssen 584da12dc7
gnu: Add LLVM, CLANG 3.9.1.
* gnu/packages/llvm.scm (llvm-3.9.1): New variable.
* gnu/packages/llvm.scm (clang-3.9.1): New variable.
* gnu/packages/llvm.scm (clang-runtime-3.9.1): New variable.
2017-05-10 15:34:59 +02:00
Ricardo Wurmus 6ba4eca234
gnu: llvm-3.5: Fix build of clang-3.5.
* gnu/packages/patches/llvm-3.5-fix-clang-build-with-gcc5.patch: New file
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/llvm.scm (llvm-3.5)[source]: Add patch.
2017-05-04 14:20:10 +02:00
Ludovic Courtès 7355634db3
gnu: Disambiguate packages with the same name.
* gnu/packages/algebra.scm (fftw-with-threads, fftwf-with-threads): Add
'name' field.
* gnu/packages/llvm.scm (llvm-for-extempore): Likewise.
2017-01-02 14:54:24 +01:00
David Craven 22897187c1
gnu: llvm: Enable install utils.
* gnu/packages/llvm.scm (llvm)[arguments]: Add -DLLVM_INSTALL_UTILS=ON
  to configure-flags.
2016-12-14 16:30:42 +01:00
Ricardo Wurmus 83c49858b5
gnu: Add LLVM variant with RTTI support.
* gnu/packages/llvm.scm (llvm-with-rtti): New variable.
2016-11-08 20:59:58 +01:00