Maxim Cournoyer
01f0707207
Merge branch 'staging' into 'core-updates'.
...
Conflicts:
gnu/local.mk
gnu/packages/cmake.scm
gnu/packages/curl.scm
gnu/packages/gl.scm
gnu/packages/glib.scm
gnu/packages/guile.scm
gnu/packages/node.scm
gnu/packages/openldap.scm
gnu/packages/package-management.scm
gnu/packages/python-xyz.scm
gnu/packages/python.scm
gnu/packages/tls.scm
gnu/packages/vpn.scm
gnu/packages/xorg.scm
2021-01-13 23:45:53 -05:00
Tobias Geerinckx-Rice
9b415c0b36
gnu: llvm: Update to 11.0.1.
...
* gnu/packages/llvm.scm (llvm): Update to 11.0.1.
(clang-runtime-11, clang-11): Update corresponding source hashes.
2021-01-10 23:38:48 +01:00
Marius Bakke
4c4d1f6952
gnu: llvm: Update download URI.
...
New and old releases are now only available on GitHub.
* gnu/packages/llvm.scm (llvm-uri): Remove "releases.llvm.org".
2020-12-19 22:53:00 +01:00
Marius Bakke
250a2ac21f
gnu: LLVM: Build with Python 3.
...
* gnu/packages/llvm.scm (llvm-11)[native-inputs]: Change from PYTHON-2 to
PYTHON-WRAPPER.
2020-12-19 22:27:17 +01:00
Marius Bakke
01f1bca859
gnu: LLVM@10: Re-apply 10.0.1 update.
...
This is a fixup for the merge in 5e2140511c
as
well as the previous fixup in e37c575723
which
partially reverted the LLVM@10 update from 66e3812e2f
.
* gnu/packages/llvm.scm (llvm-10): Update to 10.0.1.
2020-12-19 22:27:17 +01:00
Marius Bakke
e37c575723
gnu: Remove duplicate LLVM variables.
...
These were accidentally added in commit
5e2140511c
.
* gnu/packages/llvm.scm (llvm-10, llvm, clang-runtime, clang, clang-toolchain,
lld): Remove duplicate definitions.
2020-12-17 18:02:14 +01:00
Christopher Baines
ff01206345
Merge remote-tracking branch 'origin/master' into core-updates
2020-11-29 17:34:18 +00:00
Maxim Cournoyer
8a34f29292
gnu: python-llvmlite: Update to 0.34.0.
...
This is in preparation of updating the broken python-numba package.
* gnu/packages/llvm.scm (python-llvmlite): Update to 0.34.0.
[arguments]: Enable tests.
[phases]{patch-reference-to-llvmlite, skip-failing-tests}
{set-compiler/linker-flags}: New phases.
[inputs]: Update custom LLVM input and associated patches.
[home-page]: Use HTTPS.
2020-11-14 11:41:07 -05:00
Maxim Cournoyer
9e4c24ef90
gnu: llvm-9: Standardize patch level.
...
Having a non-standard (different than 1) patch level requirement means the
patches cannot be composed easily from different origins. The following
command was used to remove one level from the llvm-9 patches:
sed -e 's|^--- a/|--- |' -e 's|^+++ b/|+++ |' \
gnu/packages/patches/llvm-9* -i
* gnu/packages/llvm.scm (llvm-9)[source]: Drop the patch-flags field.
Re-indent list of patches.
* gnu/packages/patches/llvm-9-fix-bitcast-miscompilation.patch: Strip one level.
* gnu/packages/patches/llvm-9-fix-lpad-miscompilation.patch: Likewise.
* gnu/packages/patches/llvm-9-fix-scev-miscompilation.patch: Likewise.
2020-11-14 11:41:07 -05:00
Marius Bakke
f11733bd9d
gnu: Add LLDB.
...
* gnu/packages/llvm.scm (lldb): New public variable.
2020-10-22 18:41:29 +02:00
Marius Bakke
f91046ce67
gnu: clang@10, clang@11: Fix CMake files.
...
* gnu/packages/llvm.scm (clang-from-llvm): Add phase adjust-cmake-file when
building Clang 10 or later.
2020-10-22 18:41:29 +02:00
Maxim Cournoyer
5e2140511c
Merge branch 'staging'
...
Conflicts:
gnu/packages/admin.scm
gnu/packages/commencement.scm
gnu/packages/gdb.scm
gnu/packages/llvm.scm
gnu/packages/package-management.scm
gnu/packages/tls.scm
2020-10-19 13:11:40 -04:00
Marius Bakke
8937cd05d3
gnu: lld: Update to 11.0.0.
...
* gnu/packages/llvm.scm (lld): Update to 11.0.0.
[inputs]: Change from LLVM-10 to LLVM-11.
2020-10-19 00:12:32 +02:00
Marius Bakke
7f79358def
gnu: LLVM, Clang: Add 11.0.0.
...
* gnu/packages/patches/clang-11.0-libc-search-path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/llvm.scm (llvm-11, clang-runtime-11, clang-11,
clang-toolchain-11): New variables.
2020-10-19 00:12:31 +02:00
Marius Bakke
f1db068adb
gnu: llvm.scm: Reorder variables.
...
Keep all LLVM and Clang packages in order, define default versions last.
2020-10-19 00:12:31 +02:00
Marius Bakke
dcafa89cf0
gnu: extempore: Inline custom package variants.
...
Except novel ones without suitable replacements in Guix.
* gnu/packages/music.scm (portmidi-for-extempore): Remove variable, and move
to ...
(extempore)[inputs]: ... here.
* gnu/packages/llvm.scm (llvm-for-extempore): Likewise.
* gnu/packages/image.scm (stb-image-for-extempore): Likewise.
2020-10-19 00:12:31 +02:00
Ludovic Courtès
b668450716
gnu: clang-toolchain: Create 'cc' and 'c++' symlinks.
...
* gnu/packages/llvm.scm (make-clang-toolchain)[arguments]: Create 'cc'
and 'c++' symlinks.
2020-10-12 18:23:47 +02:00
Ludovic Courtès
61a5380bfd
gnu: clang-toolchain: Add 'GUIX_LOCPATH' to the search paths.
...
* gnu/packages/llvm.scm (make-clang-toolchain)[native-search-paths]: Add
'GUIX_LOCPATH'.
2020-10-12 18:23:47 +02:00
Marius Bakke
abcdf6bfd7
gnu: Rename 'llvm-download-uri' to 'llvm-uri'.
...
* gnu/packages/llvm.scm (llvm-download-uri): Rename to ...
(llvm-uri): ... this. Adjust callers accordingly.
2020-10-10 23:39:16 +02:00
Greg Hogan
66e3812e2f
gnu: llvm: Update to 10.0.1.
...
* gnu/packages/llvm.scm (llvm, clang, clang-runtime,
clang-toolchain, lld): Update to 10.0.1.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-18 22:26:33 +02:00
Ricardo Wurmus
5f022a51c4
gnu: clang-runtime-3.5: Fix build.
...
* gnu/packages/patches/clang-runtime-3.5-libsanitizer-mode-field.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/llvm.scm (clang-runtime-3.5): Add patch.
2020-08-11 17:54:49 +02:00
Marius Bakke
0d3063f4bc
gnu: clang: Only install cfi_blacklist.txt for versions >= 3.8.
...
Fixes <https://bugs.gnu.org/42599 >.
Reported by Malte Frank Gerdes <malte.f.gerdes@gmail.com>.
This is a follow-up to commit 300b795520
.
* gnu/packages/llvm.scm (clang-from-llvm): Guard the 'symlink-cfi_blacklist'
phase with a version check, as it first appears in Clang 3.8.
2020-07-30 00:57:26 +02:00
Marius Bakke
300b795520
gnu: Clang: Install the CFI blacklist.
...
* gnu/packages/llvm.scm (clang-from-llvm)[arguments]: Add phase to symlink
cfi_blacklist.txt from CLANG-RUNTIME.
2020-07-23 01:14:59 +02:00
Ludovic Courtès
b0e7b6992f
gnu: Remove ".git" from " https://github/…/….git ".
...
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 23:08:15 +02:00
Christopher Baines
6ee7468758
gnu: python-llvmlite: Use specific commit for llvm patch URLs.
...
As this commit [1] appears to affect the patches, including the v0.30.0
tag (so the tag must have been changed).
1: cdd99deb32
* gnu/packages/llvm.scm (python-llvmlite)[inputs]: Use a specific commit for
the patches.
2020-07-05 16:39:40 +01:00
Jakub Kądziołka
5ce123bd9a
gnu: Add lld.
...
* gnu/packages/llvm.scm (lld): New variable.
2020-07-03 01:26:17 +02:00
Jakub Kądziołka
ff2f86114c
gnu: llvm-9: Backport patch to fix miscompilation for big-endian targets.
...
* gnu/packages/llvm.scm (llvm-9)[source]: Add new patch.
* gnu/packages/patches/llvm-9-fix-bitcast-miscompilation.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register new file.
2020-07-03 01:26:16 +02:00
Jakub Kądziołka
851a7caf1a
gnu: llvm-9: Backport patches to fix miscompilations.
...
* gnu/packages/llvm.scm (llvm-9)[source]: Add new patches.
* gnu/packages/patches/llvm-9-fix-lpad-miscompilation.patch,
gnu/packages/patches/llvm-9-fix-scev-miscompilation.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register new patches.
2020-07-03 01:26:16 +02:00
Ludovic Courtès
77a87ad4ac
gnu: clang: Build 'clang-tools-extra'.
...
* gnu/packages/llvm.scm (clang-from-llvm): Add #:tools-extra.
Add 'output' field. In 'inputs', add TOOLS-EXTRA when it's given.
In 'arguments', add 'add-tools-extra' and 'move-extra-tools' phases when
TOOLS-EXTRA is given.
2020-05-28 12:49:56 +02:00
Ludovic Courtès
ef1d475b00
gnu: llvm: Remove unused 'package-elisp-from-package' procedure.
...
This private procedure had been unused since
3a3d4d9d54
.
* gnu/packages/llvm.scm (package-elisp-from-package): Remove.
2020-05-22 01:30:10 +02:00
Marius Bakke
50e6c1bf2e
Merge branch 'master' into core-updates
2020-05-02 17:31:28 +02:00
Giacomo Leidi
b1cb8b5d83
gnu: llvm-for-extempore: Update to 3.8.
...
* gnu/packages/llvm.scm (llvm-for-extempore): Update to 3.8.
[source]: Use upstream patched source.
* gnu/packages/patches/llvm-for-extempore.patch: Delete due to source being
already patched.
* gnu/local.mk (dist_patch_DATA): Remove it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-05-02 16:49:29 +02:00
Marius Bakke
c57d649de3
Merge branch 'master' into core-updates
2020-04-24 17:28:11 +02:00
Ludovic Courtès
193192ca77
gnu: llvm: Add 10.0.0.
...
* gnu/packages/llvm.scm (llvm-10, clang-runtime-10, clang-10)
(clang-toolchain-10, llvm-9, clang-runtime-9, clang-9)
(clang-toolchain-9): New variables.
(llvm, clang, clang-runtime, clang-toolchain): Redefine as aliases to
the '-9' bindings.
* gnu/packages/patches/clang-10.0-libc-search-path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2020-04-24 16:21:13 +02:00
Marius Bakke
fc58cb5bd2
Merge branch 'master' into core-updates
2020-04-13 20:26:21 +02:00
Vagrant Cascadian
3bb22e5433
gnu: emacs-clang-format: Fix grammar of "allows to filter" to "filters".
...
* gnu/packages/llvm (emacs-clang-format): Fix grammar.
2020-04-12 13:35:03 -07:00
Jan Nieuwenhuizen
3a1c3642d4
llvm: Add support for the Hurd.
...
* gnu/packages/llvm.scm (system->llvm-target): Use X86 for i586 (i.e., the
Hurd).
2020-03-26 12:59:35 +01:00
Marius Bakke
40a461fd97
gnu: libcxx: Hide GCC's C++ headers during the build process.
...
* gnu/packages/llvm.scm (libcxx)[arguments]: New field.
2020-03-15 16:08:06 +01:00
Marius Bakke
f42bfc7a99
gnu: clang: Switch to 'C_INCLUDE_PATH' & co.
...
* gnu/packages/llvm.scm (clang-from-llvm)[native-search-paths]: Remove
"CPATH", and add "C_INCLUDE_PATH" and "CPLUS_INCLUDE_PATH".
2020-03-15 16:04:53 +01:00
Marius Bakke
af88972bb8
gnu: clang-runtime: Fix build with glibc 2.31.
...
* gnu/packages/patches/clang-runtime-3.8-libsanitizer-mode-field.patch,
gnu/packages/patches/clang-runtime-3.9-libsanitizer-mode-field.patch,
gnu/packages/patches/clang-runtime-9-libsanitizer-mode-field.patch: New files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/llvm.scm (clang-runtime, clang-runtime-8, clang-runtime-7,
clang-runtime-6, clang-runtime-3.9.1, clang-runtime-3.8, clang-runtime-3.7):
Add the respective patches.
2020-03-05 23:36:04 +01:00
Marius Bakke
3fd9c90c4a
gnu: clang-runtime: Adjust for CPLUS_INCLUDE_PATH changes.
...
* gnu/packages/llvm.scm (clang-runtime-from-llvm)[arguments]: Add #:modules
and #:phases.
2020-03-05 23:36:04 +01:00
Marius Bakke
ebb7cf9e21
Merge branch 'master' into core-updates
2020-03-04 23:16:17 +01:00
Marius Bakke
5041cc28cb
gnu: clang: Move version conditionals out of the builder.
...
* gnu/packages/llvm.scm (clang-from-llvm)[arguments]: Rewrite phase
'set-glibc-file-names' to use VERSION>=? from (guix utils) and splice in the
relevant build code, instead of doing the comparison at build time.
2020-02-26 21:52:47 +01:00
Marius Bakke
f5cc5de8b6
gnu: clang: Fix C++ search path handling on non-x86_64.
...
* gnu/packages/llvm.scm (clang-from-llvm)[arguments]: Add phase
'add-missing-triplets'.
2020-02-26 21:52:47 +01:00
Ricardo Wurmus
290b55c55a
gnu: clang-runtime-3.5: Fix build.
...
* gnu/packages/llvm.scm (clang-runtime-3.5)
[inputs]: Add libtirpc.
[arguments]: Add phase to find rpc headers.
2020-02-25 22:49:20 +01:00
Marius Bakke
00ede15708
gnu: LLVM: Promote LLVM 9 to the default 'llvm' package.
...
* gnu/packages/llvm.scm (llvm-8): Rename to ...
(llvm): ... this. Update to 9.0.1.
[license]: Change to ASL2.0.
(clang-runtime-from-llvm)[license]: Inherit from LLVM.
(clang-from-llvm)[license]: Conditionally choose license based on version.
(llvm-9, clang-runtime-8, clang-8, clang-toolchain-8): New public variables.
(llvm-7): Inherit from LLVM-8 (for the license change).
(llvm-6): Inherit from LLVM-7.
(llvm-3.9.1): Inherit from LLVM-6.
(llvm-3.8): Inherit from LLVM-3.9.1.
(llvm-3.7): Inherit from LLVM-3.8.
(llvm-3.6): Inherit from LLVM-3.7.
(llvm-3.5): Inherit from LLVM-3.6.
(libcxx, libclc, libomp): Update to 9.0.1.
2020-02-24 17:10:23 +01:00
Marius Bakke
501672d754
gnu: clang: Use the correct CLANG-RUNTIME for versions 6 and 7.
...
* gnu/packages/llvm.scm (clang-7): Use CLANG-RUNTIME-7.
(clang-6): Use CLANG-RUNTIME-6.
2020-02-24 17:10:23 +01:00
Marius Bakke
52f9c3b88a
gnu: Reorganize llvm.scm.
...
* gnu/packages/llvm.scm (libcxx, libclc, libomp, libcxx-6): Move package
definitions below the various LLVM/Clang variants.
2020-02-24 17:10:22 +01:00
Marius Bakke
dbf15d86e9
gnu: clang@9: Update to 9.0.1.
...
* gnu/packages/llvm.scm (llvm-9): Update to 9.0.1.
clang-runtime-9, clang-9): Update hashes.
2020-02-24 17:10:22 +01:00
Marius Bakke
cd16014f7c
gnu: llvm: Add helper procedure for constructing download URLs.
...
...in preparation for LLVM 9.0.1 which is no longer hosted on llvm.org.
* gnu/packages/llvm.scm (llvm-download-uri): New procedure.
(llvm-8, clang-runtime-from-llvm, clang-from-llvm, libcxx, libomp, llvm-9,
llvm-7, llvm-6, libcxx-6, llvm-3.9.1, llvm-3.8, llvm-3.7, llvm-3.6,
llvm-3.5)[source](uri): Use it.
2020-02-24 17:10:22 +01:00
Marius Bakke
233deb82f3
gnu: clang@9: Fix search path handling.
...
* gnu/packages/patches/clang-9.0-libc-search-path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/llvm.scm (clang-9): Add #:patches.
2020-02-24 17:10:22 +01:00
Marius Bakke
a6046f24dd
gnu: llvm@3: Do not inherit 'install-opt-viewer' phase.
...
This is a follow-up to commit 50b61ec223
.
* gnu/packages/llvm.scm (llvm-3.9.1)[outputs, arguments]: New fields.
(llvm-3.8, llvm-3.7, llvm-3.6, llvm-3.5): Inherit from LLVM-3.9.1.
2020-02-03 15:29:14 +01:00
Mathieu Othacehe
ce9383c090
Merge remote-tracking branch 'master' into core-updates.
2019-12-31 11:04:51 +01:00
Brett Gilio
6608727262
gnu: python-llvmlite: Update to 0.30.0.
...
* gnu/packages/llvm.scm (python-llvmlite): Update to 0.30.0.
[arguments]: Disable tests until dynamic loading of libm.so is fixed.
2019-12-23 17:29:13 -06:00
Julien Lepiller
50b61ec223
gnu: llvm: split scripts to a separate output.
...
This reduces the closure size by almost 80 MiB.
* gnu/packages/llvm.scm (llvm-8): Add "opt-viewer" output.
2019-12-14 20:54:25 +01:00
David Truby
96d5a20607
gnu: Add llvm-9, clang-9 and clang-toolchain-9.
...
* 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-20 16:58:47 +01:00
Mathieu Othacehe
5dea5cbc62
gnu: llvm: Change copyright holder.
...
* 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-19 16:25:24 +01:00
Mathieu Othacehe
57c7bfec62
gnu: Add clang-toolchain.
...
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-17 11:33:11 +01:00
David Truby
496bbeee7a
gnu: clang-from-llvm: Fix libstdc++ header location search.
...
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-17 11:25:59 +01:00
Mathieu Othacehe
07c07de3ab
gnu: clang-from-llvm: Fix set-glibc-file-names phase.
...
* 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-12 13:43:41 -05:00
Efraim Flashner
f1d4d79fb3
gnu: Add 'file-name' where appropriate.
...
* 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-11-10 12:42:10 +02:00
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