me
/
guix
Archived
1
0
Fork 0
Commit Graph

265 Commits (15fea85d1c15c314ac444d12ad739a3bba6f0eaa)

Author SHA1 Message Date
Greg Hogan fdd5bf9fb7
gnu: Add libomp-11.
* gnu/packages/llvm.scm (libomp-11): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:47 +02:00
Greg Hogan 07e1b5a32a
gnu: clang-toolchain-12: Use libomp-12.
* gnu/packages/llvm.scm (clang-toolchain-12): Switch dependency from the
default libomp-13 to libomp-12.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:47 +02:00
Greg Hogan 68dfb535d3
gnu: Add libomp-12.
* gnu/packages/llvm.scm (libomp-12): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:47 +02:00
Greg Hogan a46a980abe
gnu: libomp-13: Reference llvm-13 version string.
* gnu/packages/llvm.scm (libomp-13): Reference llvm-13 version string.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:47 +02:00
Greg Hogan 95139f9cc4
gnu: libomp-14: Reference llvm-14 version string.
* gnu/packages/llvm.scm (libomp-14): Reference llvm-14 version string.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:47 +02:00
Greg Hogan 06cd4a84f7
gnu: lldb: Update to 14.0.6.
* gnu/packages/llvm.scm (lldb): Update to 14.0.6.
[source]: Fetch using LLVM-MONOREPO.
[phases]: Add phase to change to source subdirectory.
[inputs]: Change from LLVM-13 and CLANG-13 to LLVM-14 and CLANG-14.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2022-08-04 14:24:33 +08:00
Greg Hogan 03bc18dfcf
gnu: clang-toolchain-14: Build with libomp-14.
* gnu/packages/llvm.scm (libomp-14): New variable.
(libomp-13): Inherit from libomp-14.
(libomp): Define as libomp-13.
(make-clang-toolchain): Parameterize libomp.
(clang-toolchain-14): Use libomp-14.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-12 01:17:45 +02:00
Greg Hogan f276ebc348
gnu: LLVM, Clang, LLD: Update to 14.0.6.
* gnu/packages/llvm.scm (llvm-14, clang-14, lld-14): Update to 14.0.6.
(%llvm-monorepo-hashes, %llvm-patches): Adjust accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-12 01:17:45 +02:00
Greg Hogan 3485984a09
gnu: llvm-3.7, llvm-3.8: Fix build with gcc.
* gnu/packages/patches/clang-runtime-3.7-fix-build-with-python3.patch,
gnu/packages/patches/llvm-3.x.1-fix-build-with-gcc.patch: New files.
* gnu/packages/llvm.scm (clang-runtime-3.7, llvm-3.7, llvm-3.8): Use patches.
* gnu/local.mk: Register patches.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-12 01:17:45 +02:00
Greg Hogan e5e352ae2a
gnu: llvm-8: Fix build with gcc-10.
* gnu/packages/patches/llvm-8-fix-build-with-gcc-10.patch: New file.
* gnu/packages/llvm.scm (clang-8, clang-runtime-8): Update to 8.0.1.
* gnu/packages/llvm.scm (llvm-8): Use patch and update to 8.0.1.
* gnu/local.mk: Register patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-12 01:17:45 +02:00
Lars-Dominik Braun 453b0670a6
gnu: 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.
2022-06-28 12:27:42 +02:00
Efraim Flashner 0ea51a8177
gnu: 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.
2022-06-22 09:43:27 +03:00
Efraim Flashner ab82dd3f58
gnu: 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.
2022-06-16 19:42:02 +03:00
John Kehayias 25809f5a40
gnu: 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>
2022-06-16 12:50:06 +02:00
Marius Bakke bcd9866eb4
gnu: 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.
2022-06-13 00:44:12 +02:00
Efraim Flashner e22b55f0b9
gnu: 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.
2022-06-12 13:50:47 +03:00
Marius Bakke 8d653c08b7
gnu: 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.
2022-06-01 21:41:23 +02:00
Efraim Flashner 926fcb488b
gnu: 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'.
2022-05-29 08:46:17 +03:00
Efraim Flashner 4a53069b38
gnu: 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.
2022-05-28 22:02:35 +03:00
Tobias Geerinckx-Rice 7730b45bf8
gnu: clang@14: Include the extras.
* gnu/packages/llvm.scm (clang-14): Add a matching #:tools-extra origin.

Reported by foobarxyz on #guix.
2022-05-22 02:00:11 +02:00
Zhu Zihao fd94ccf8f1
gnu: 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>
2022-05-20 20:23:17 +02:00
Maxim Cournoyer 152e45ef4d
gnu: python-llvmlite: Update to 0.38.0.
* gnu/packages/llvm.scm (python-llvmlite): Update to 0.38.0.
2022-05-12 12:45:54 -04:00
Greg Hogan 998eda3067
gnu: 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>
2022-05-09 12:26:46 +02:00
Guillaume Le Vaillant 81567f751b
gnu: 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>
2022-04-10 19:22:43 +02:00
Marius Bakke e9473ed49b
gnu: 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.
2022-04-07 23:12:44 +02:00
Greg Hogan 35ea49daf6
gnu: 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>
2022-02-16 16:49:27 +01:00
Greg Hogan d76cfc92da
gnu: 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>
2022-02-10 23:23:00 +01:00
Greg Hogan ed26d2ec6c
gnu: 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>
2022-02-10 23:18:54 +01:00
Marius Bakke 7d90a6c847
gnu: LLVM: Update to 13.0.1.
* gnu/packages/llvm.scm (llvm-13, clang-runtime-13, clang-13, lld, libomp):
Update to 13.0.1.
2022-02-03 23:39:46 +01:00
Marius Bakke 752a5b8fe5
gnu: 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.
2022-02-03 23:39:46 +01:00
Marius Bakke a8d1e6bfa2
gnu: 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.
2022-02-01 23:46:04 +01:00
Marius Bakke 4ed2b6ac38
gnu: 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.
2022-02-01 23:46:04 +01:00
Maxim Cournoyer 37b589425f
gnu: llvm-12: Use quasiquote, addressing TODO.
* gnu/packages/llvm.scm (llvm-12)[configure-flags]: Use quasiquote.
2022-01-10 11:44:32 -05:00
Marius Bakke 8993d96636
gnu: zig: Build with LLD 12.
This fixes a regression introduced in a05e573d60
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.
2022-01-09 14:49:15 +01:00
Marius Bakke 1ee120a31b
gnu: emacs-clang-rename: Remove input labels.
* gnu/packages/llvm.scm (emacs-clang-rename)[arguments]: Use SEARCH-INPUT-FILE
instead of label.
2022-01-08 11:38:47 +01:00
Marius Bakke 6a9d0560ab
gnu: emacs-clang-format: Remove input labels.
* gnu/packages/llvm.scm (emacs-clang-format)[arguments]: Use SEARCH-INPUT-FILE
instead of label.
2022-01-08 11:38:47 +01:00
Marius Bakke 2db689b669
gnu: python-clang: Add 13.
* gnu/packages/llvm.scm (python-clang-13): New variable.
2022-01-08 11:38:47 +01:00
Marius Bakke e424264394
gnu: python-clang: Remove input labels.
* gnu/packages/llvm.scm (clang-python-bindings)[arguments]: Use
SEARCH-INPUT-FILE instead of label.
2022-01-08 11:38:47 +01:00
Marius Bakke e85e595628
gnu: 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.
2022-01-08 11:38:47 +01:00
Marius Bakke f8601b4289
gnu: 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.
2022-01-08 11:38:46 +01:00
Marius Bakke b62d2fd95d
gnu: lldb: Simplify inputs.
* gnu/packages/llvm.scm (lldb)[inputs]: Remove labels.
2022-01-08 11:38:46 +01:00
Marius Bakke a05e573d60
gnu: lld: Update to 13.0.0.
* gnu/packages/llvm.scm (lld): Update to 13.0.0.
[inputs]: Change from LLVM-12 to LLVM-13.
2022-01-08 11:38:46 +01:00
Marius Bakke 3191dacc66
gnu: libunwind-headers: Update to 13.0.0.
* gnu/packages/llvm.scm (libunwind-headers): Update to 13.0.0.
2022-01-08 11:38:46 +01:00
Ludovic Courtès 0a767f02d4
gnu: 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.
2022-01-01 15:23:24 +01:00
Ricardo Wurmus 13c4a85cee
gnu: python-llvmlite: Repair indentation.
* gnu/packages/llvm.scm (python-llvmlite): Repair automatically reformatted
code.
2021-12-31 13:45:54 +01:00
Ricardo Wurmus e742437211
gnu: 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.
2021-12-27 13:21:05 +01:00
Ludovic Courtès 8394619bac
gnu: Simplify package inputs.
This commit was obtained by running:

  ./pre-inst-env guix style

without any additional argument.
2021-12-13 17:48:25 +01:00
Ricardo Wurmus 3b2553ee4c
gnu: python-llvmlite: Update to 0.37.0.
* gnu/packages/llvm.scm (python-llvmlite): Update to 0.37.0.
[inputs]: Update patched LLVM.
2021-11-20 12:02:19 +01:00
Ricardo Wurmus 2c19edeb4f
gnu: python-llvmlite: Remove trailing #T.
* gnu/packages/llvm.scm (python-llvmlite)[arguments]: Remove trailing #T from
build phases.
2021-11-20 12:02:19 +01:00
Ludovic Courtès 156843609c
gnu: 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'.
2021-11-18 16:51:13 +01:00
Ludovic Courtès 45a7de70b6
gnu: 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.
2021-11-18 16:51:13 +01:00
Ludovic Courtès 3a317f7476
Merge branch 'master' into core-updates-frozen 2021-11-17 23:43:14 +01:00
Ludovic Courtès 2a32c99b38
gnu: clang-toolchain: Add libomp.
* gnu/packages/llvm.scm (make-clang-toolchain)[inputs]: Add LIBOMP.
2021-11-15 17:55:49 +01:00
Maxim Cournoyer daa46cd151
gnu: 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.
2021-11-11 12:18:19 -05:00
Mathieu Othacehe a1eca979fb
Merge remote-tracking branch 'origin/master' into core-updates-frozen. 2021-10-12 17:46:23 +00:00
Ludovic Courtès b37fe44b7d
gnu: 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.
2021-10-09 01:02:19 +02:00
Ludovic Courtès 66caab54b9
gnu: 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.
2021-10-09 01:02:18 +02:00
Guillaume Le Vaillant 99d288a6b1
gnu: 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.
2021-10-07 14:21:25 +02:00
Maxime Devos 211c3ac423
gnu: 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>
2021-09-27 18:36:00 +00:00
Marius Bakke 88f4f1f5af
gnu: 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.
2021-09-23 12:05:53 +02:00
Marius Bakke a7283c1d14
gnu: lld: Update to 12.0.1.
* gnu/packages/llvm.scm (lld): Update to 12.0.1.
[native-inputs]: Add LIBUNWIND-HEADERS.
2021-09-23 12:05:53 +02:00
Marius Bakke 33783d9009
gnu: Add libunwind-headers.
* gnu/packages/llvm.scm (libunwind-headers): New public variable.
2021-09-23 12:05:53 +02:00
Marius Bakke 855e34d44f
gnu: LLVM, Clang: Update to 12.0.1.
* 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.
2021-09-23 12:05:53 +02:00
Marius Bakke 5c3cb22c9b
Merge branch 'master' into core-updates-frozen
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
2021-09-17 01:25:52 +02:00
Ludovic Courtès e11830d36e
gnu: llvm-for-rocm: Move to llvm.scm.
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.
2021-09-10 17:30:54 +02:00
Marius Bakke c4133c43c7
Merge branch 'master' into core-updates-frozen
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
2021-08-12 00:30:27 +02:00
Ludovic Courtès f44fe1d5bf
gnu: Add python-clang.
* gnu/packages/llvm.scm (clang-python-bindings): New procedure.
(python-clang-10, python-clang-11, python-clang-12): New variables.
2021-08-04 17:22:19 +02:00
Ludovic Courtès d468a03a00
gnu: Use 'search-input-directory' and 'search-input-file' where appropriate.
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.
2021-07-24 16:23:24 +02:00
Ludovic Courtès 425ccde6ae
gnu: Use 'search-input-directory' when looking for C/C++ library headers.
* 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.
2021-07-24 16:23:23 +02:00
Marius Bakke 8d59c262ad
Merge branch 'master' into core-updates
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
2021-06-06 21:16:32 +02:00
Efraim Flashner 49b15701ad
gnu: llvm-7: Update to 7.1.0.
* gnu/packages/llvm.scm (llvm-7): Update to 7.1.0.
2021-06-01 22:50:47 +03:00
Marius Bakke f034264204
Merge branch 'master' into core-updates
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
2021-05-09 21:29:46 +02:00
Marius Bakke 8fa86141b7
gnu: LLVM, Clang: Add 12.0.0.
* 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.
2021-04-28 17:59:32 +02:00
Ricardo Wurmus 0eefc6ea20
gnu: Add libcxx+libcxxabi-6.
* gnu/packages/llvm.scm (libcxx+libcxxabi-6): New variable.
2021-04-21 11:05:07 +02:00
Ricardo Wurmus 2e90882951
gnu: Add libcxxabi-6.
* gnu/packages/llvm.scm (libcxxabi-6): New variable.
2021-04-21 11:05:07 +02:00
Efraim Flashner fcc39864db
Merge remote-tracking branch 'origin/master' into core-updates
Conflicts:
	gnu/local.mk
	gnu/packages/boost.scm
	gnu/packages/chez.scm
	gnu/packages/compression.scm
	gnu/packages/crates-io.scm
	gnu/packages/docbook.scm
	gnu/packages/engineering.scm
	gnu/packages/gcc.scm
	gnu/packages/gl.scm
	gnu/packages/gtk.scm
	gnu/packages/nettle.scm
	gnu/packages/python-check.scm
	gnu/packages/python-xyz.scm
	gnu/packages/radio.scm
	gnu/packages/rust.scm
	gnu/packages/sqlite.scm
	guix/build-system/node.scm
2021-04-16 14:39:48 +03:00
zimoun d7e57e2a5b
gnu: Remove clang-runtime-3.6 and clang-3.6.
* gnu/packages/llvm.scm (clang-runtime-3.6, clang-3.6): Remove variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-04-10 14:34:56 -04:00
Efraim Flashner 2aab587f84
Merge remote-tracking branch 'origin/master' into core-updates 2021-03-24 20:50:44 +02:00
Mark H Weaver 1a265842e6
gnu: Use PACKAGE/INHERIT in more places.
* gnu/packages/algebra.scm (fftwf, fftw-openmpi),
gnu/packages/audio.scm (ztoolkit-rsvg),
gnu/packages/bioinformatics.scm (python2-dendropy),
gnu/packages/boost.scm (boost-with-python2),
gnu/packages/check.scm (python2-mock, python2-pytest-mock),
gnu/packages/cups.scm (hplip-minimal),
gnu/packages/freedesktop.scm (libinput-minimal),
gnu/packages/gettext.scm (gnu-gettext),
gnu/packages/glib.scm (python2-pygobject),
gnu/packages/gnome.scm (gdl-minimal, libsoup-minimal, python2-pyatspi),
gnu/packages/groff.scm (groff-minimal),
gnu/packages/jami.scm (ffmpeg-jami),
gnu/packages/libcanberra.scm (libcanberra/gtk+-2),
gnu/packages/lirc.scm (python2-lirc),
gnu/packages/llvm.scm (clang-runtime-3.5),
gnu/packages/mpi.scm (java-openmpi, openmpi-thread-multiple),
gnu/packages/node.scm (libnode),
gnu/packages/onc-rpc.scm (libtirpc/hurd),
gnu/packages/python-compression.scm (bitshuffle-for-snappy),
gnu/packages/python-crypto.scm (python2-pycrypto, python2-cryptography)
(python2-cryptography, python2-m2crypto),
gnu/packages/python-web.scm (python2-html2text, python2-tornado)
(python2-terminado, python2-ndg-httpsclient, python2-websocket-client)
(python2-rauth, python2-url, python2-s3transfer),
gnu/packages/python-xyz.scm (python2-psutil, python2-serpent)
(python2-humanfriendly, python2-empy, python2-parse-type, python2-polib)
(python2-jsonschema, python2-pystache, python2-cython, python2-numpydoc)
(python2-ipyparallel, python2-traitlets, python2-dbus)
(python2-beautifulsoup4, python2-pep517, python2-flake8, python2-llfuse)
(python2-tlsh, python-file, python2-notebook, python-jupyter-console-minimal)
(python2-contextlib2, python2-promise, python2-anyjson, python2-amqp)
(python2-kombu, python2-billiard, python2-celery, python2-whoosh)
(python2-jellyfish, python-rope, ptpython-2, python2-binaryornot)
(python2-setproctitle, python2-argcomplete, python2-xopen, python2-isort)
(python2-radon, python2-rfc6555, python2-activepapers, python2-send2trash)
(python2-cloudpickle, python2-reparser),
gnu/packages/python.scm (python2-called-python),
gnu/packages/qt.scm (python2-sip, python-pyqt-without-qtwebkit, python2-pyqt)
(python-qscintilla, python-pyqt+qscintilla),
gnu/packages/scanner.scm (sane-backends),
gnu/packages/sdl.scm (guile3.0-sdl2),
gnu/packages/selinux.scm (checkpolicy, libselinux, libsemanage, secilc)
(python-sepolgen, policycoreutils),
gnu/packages/serialization.scm (lua5.1-libmpack, lua5.2-libmpack),
gnu/packages/simulation.scm (fenics),
gnu/packages/statistics.scm (python2-statsmodels),
gnu/packages/texinfo.scm (info-reader),
gnu/packages/wxwidgets.scm (wxwidgets-gtk2, wxwidgets-gtk2-3.1),
gnu/packages/xml.scm (xmlsec-nss),
gnu/packages/xorg.scm (uim-gtk, uim-qt),
guix/build-system/python.scm (package-with-explicit-python)
(strip-python2-variant): Use PACKAGE/INHERIT.
2021-03-17 03:58:10 -04:00
Christopher Baines a8448da0f4
Merge branch 'master' into core-updates 2021-03-06 00:18:30 +00:00
Ludovic Courtès 97f8b22f6d
gnu: ocaml-llvm: Move to (gnu packages llvm).
Commit 8f710cc598 introduced a circular
dependency between ocaml.scm and llvm.scm by referring to 'llvm' from
the top level of ocaml.scm.  This fixes it.

* gnu/packages/ocaml.scm (make-ocaml-llvm, ocaml-llvm)
(ocaml-llvm-9, ocaml-llvm-10, ocaml-llvm-11): Move to...
* gnu/packages/llvm.scm: ... here.
2021-03-02 23:12:36 +01:00
Tobias Geerinckx-Rice 225c5ea014
Revert "gnu: llvm: Update to 11.0.1."
This reverts commit 9b415c0b36, which
reportedly breaks[0] rust@1.47.0, rust-1.48.0 and rust-1.49.0.

[0]: http://issues.guix.gnu.org/45909
2021-01-16 21:24:09 +01:00
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