Greg Hogan
07746c2b15
gnu: libcxx: Update to 15.0.5.
...
* gnu/packages/llvm.scm (libcxx): Update to 15.0.5.
[version]: Use version from LLVM-15.
Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-22 09:24:15 +00:00
Greg Hogan
8952a94086
gnu: lldb: Update to 15.0.5.
...
* gnu/packages/llvm.scm (lldb): Update to 15.0.5.
[version]: Use version from LLVM-15.
[inputs]: Change from LLVM-14 and CLANG-14 to LLVM-15 and CLANG-15.
Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-22 09:24:15 +00:00
Greg Hogan
15b08918e9
gnu: LLVM, Clang, libomp, lld: Update to 15.0.5.
...
* gnu/packages/llvm.scm (llvm-15, clang-15, libomp-15, lld-15):
Update to 15.0.5.
(lld)[version]: Use version from LLVM-15.
(%llvm-monorepo-hashes, %llvm-patches): Adjust accordingly.
Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-22 09:24:15 +00:00
Marius Bakke
cd9161372a
gnu: make-lld-wrapper: Inherit version, license and home-page from LLD.
...
* gnu/packages/llvm.scm (make-lld-wrapper): Inherit from the provided LLD.
2022-11-19 22:07:33 +01:00
Marius Bakke
65976a8382
gnu: lld-as-ld-wrapper: Add version 15.
...
* gnu/packages/llvm.scm (lld-as-ld-wrapper-15): New variable.
2022-11-17 19:11:33 +01:00
Efraim Flashner
08b6a17de9
gnu: Add lld-15.
...
* gnu/packages/llvm.scm (lld-15): New variable.
(lld-14): Inherit from lld-15.
2022-11-17 13:05:52 +02:00
Maxim Cournoyer
83fb681658
gnu: Add clang-toolchain-15.
...
* gnu/packages/llvm.scm (clang-toolchain-15): New variable.
2022-11-16 14:08:03 -05:00
Maxim Cournoyer
68cb4f0760
gnu: Add libomp-15.
...
* gnu/packages/llvm.scm (libomp-15): New variable.
(libomp-14): Inherit from it.
[arguments]: Use substitute-keyword-arguments and override the
chdir-to-source-and-install-license phase. Remove redundant fields.
2022-11-16 14:08:03 -05:00
Maxim Cournoyer
ac99ead663
gnu: Add clang-15.
...
* gnu/packages/llvm.scm (clang-from-llvm): Add LEGACY-BUILD-SHARED-LIBS?
argument and update doc.
[configure-flags]: Conditionally add -DCLANG_LINK_CLANG_DYLIB=ON.
[phases]{change-directory}: Conditionally add phase.
{add-tools-extra}: Conditionally patch AddClang.cmake file.
(clang-15): New variable.
(clang-14): Streamline.
(clang-13, clang-12, clang-11, clang-10, clang-9, clang-8, clang-7, clang-6)
(clang-3.9.1, clang-3.8, clang-3.7, clang-3.5): Set LEGACY-BUILD-SHARED-LIBS?
argument to #t.
2022-11-16 14:08:03 -05:00
Maxim Cournoyer
52c1f5c825
gnu: Add clang-runtime-15.
...
* gnu/packages/llvm.scm (clang-runtime-15): New variable.
2022-11-16 14:08:02 -05:00
Maxim Cournoyer
bf741cdd27
gnu: Add llvm-15.
...
* gnu/packages/llvm.scm (llvm-15): New variable.
(llvm-14): Inherit from it, removing duplicated fields.
* gnu/packages/patches/clang-15.0-libc-search-path.patch: New file.
* gnu/local.mk: Register it.
2022-11-16 14:08:02 -05:00
Zhu Zihao
a60dc46c2b
gnu: libcxx+libcxxabi: Use G-expressions.
...
* gnu/packages/llvm.scm (libcxx+libcxxabi-6)[arguments]: Use G-expressions.
<#:configure-flags>: Use "this-package-native-input".
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-06 00:37:06 +01:00
Zhu Zihao
1bb3a3ea4e
gnu: libcxxabi: Use G-expressions.
...
* gnu/packages/llvm.scm (libcxxabi-6)[arguments]: Use G-expressions.
<#:configure-flags>: Use "this-package-native-input".
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-06 00:37:06 +01:00
Zhu Zihao
8501932f36
gnu: libcxx: Update to 14.0.6.
...
* gnu/packages/llvm.scm(libcxx)[source]: Use "llvm-monorepo".
[arguments]<#:configure-flags>: Use clang & clang++, skip RPATH_CHANGE in CMake.
<#:phases>: Add phase "enter-subdirectory".
[native-inputs]: Add Python 3 for lit.
(libcxx-6)[arguments]: Don't inherit from libcxx.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-06 00:37:06 +01:00
Zhu Zihao
86af794215
gnu: libcxx: Use G-expressions.
...
* gnu/packages/llvm.scm (libcxx)[arguments]: Use G-expressions.
(libcxx-6)[arguments]: Use G-expressions.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-06 00:37:06 +01:00
Maxim Cournoyer
ccba460ffd
gnu: cling: Use gexps.
...
* gnu/packages/llvm.scm (cling)[configure-flags]: Use gexps and search-input-file.
[phases]: Likewise.
{patch-paths}: Use search-input-file and this-package-input.
{delete-static-libraries}: Adjust for gexps.
2022-09-03 00:26:13 -04:00
Clément Lassieur
6e83d294ce
gnu: emacs-clang-format: Remove inherited propagated inputs.
...
* gnu/packages/llvm.scm (emacs-clang-format)[propagated-inputs]: Remove them.
2022-08-29 18:05:39 +02:00
Greg Hogan
c3c65ad1f9
gnu: make-clang-toolchain: Require explicit libomp.
...
* gnu/packages/llvm.scm (make-clang-toolchain): Remove default libomp
parameter since each clang-toolchain has a matching libomp package.
(clang-toolchain-13): Explicitly refer to libomp-13.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:49 +02:00
Greg Hogan
7172537718
gnu: clang-toolchain-6: Use libomp-6.
...
* gnu/packages/llvm.scm (clang-toolchain-6): Switch dependency from the
default libomp-13 to libomp-6.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:49 +02:00
Greg Hogan
d8ab469e95
gnu: Add libomp-6.
...
* gnu/packages/llvm.scm (libomp-6): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:49 +02:00
Greg Hogan
d711e3922f
gnu: clang-toolchain-7: Use libomp-7.
...
* gnu/packages/llvm.scm (clang-toolchain-7): Switch dependency from the
default libomp-13 to libomp-7.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:49 +02:00
Greg Hogan
93c71314d3
gnu: Add libomp-7.
...
* gnu/packages/llvm.scm (libomp-7): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:49 +02:00
Greg Hogan
79e9139478
gnu: clang-toolchain-8: Use libomp-8.
...
* gnu/packages/llvm.scm (clang-toolchain-8): Switch dependency from the
default libomp-13 to libomp-8.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:48 +02:00
Greg Hogan
fe4683b2cf
gnu: Add libomp-8.
...
* gnu/packages/llvm.scm (libomp-8): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:48 +02:00
Greg Hogan
cd5557e818
gnu: clang-toolchain-9: Use libomp-9.
...
* gnu/packages/llvm.scm (clang-toolchain-9): Switch dependency from the
default libomp-13 to libomp-9.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:48 +02:00
Greg Hogan
16d6a618fa
gnu: Add libomp-9.
...
* gnu/packages/llvm.scm (libomp-9): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:48 +02:00
Greg Hogan
a72bebf8f5
gnu: clang-toolchain-10: Use libomp-10.
...
* gnu/packages/llvm.scm (clang-toolchain-10): Switch dependency from the
default libomp-13 to libomp-10.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:48 +02:00
Greg Hogan
09d9b1ddae
gnu: Add libomp-10.
...
* gnu/packages/llvm.scm (libomp-10): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:48 +02:00
Greg Hogan
ae8de60351
gnu: clang-toolchain-11: Use libomp-11.
...
* gnu/packages/llvm.scm (clang-toolchain-11): Switch dependency from the
default libomp-13 to libomp-11.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-04 12:05:48 +02:00
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