3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00
Commit graph

105 commits

Author SHA1 Message Date
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
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