me
/
guix
Archived
1
0
Fork 0
Commit Graph

265 Commits (15fea85d1c15c314ac444d12ad739a3bba6f0eaa)

Author SHA1 Message Date
Tobias Kortkamp ae92d98b93
gnu: clang-runtime-15: Fix address sanitizer support
$ guix shell clang-toolchain@15 -- clang -o test -fsanitize=address test.c
ld: cannot find /gnu/store/i429h17s15g48ir9vl1bzp3cv39l5pib-clang-runtime-15.0.7/lib/linux/libclang_rt.asan_static-x86_64.a: No such file or directory
ld: cannot find /gnu/store/i429h17s15g48ir9vl1bzp3cv39l5pib-clang-runtime-15.0.7/lib/linux/libclang_rt.asan-x86_64.a: No such file or directory
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)

* gnu/packages/llvm.scm (clang-runtime-15): Fix address sanitizer
support by bringing back the static libraries.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-07-13 17:20:02 +02:00
John Kehayias 15f9870eb3
gnu: rocm: Update to 5.6.0.
Update all of the ROCm packages at the same time as they share a version
number and should be upgraded together, including llvm-for-rocm.

* gnu/packages/llvm.scm (llvm-for-rocm): Update to 5.6.0.
[source]{patches}: Remove unneeded patches (linkdl and remove-isystem-usr-include).
* gnu/packages/rocm.scm (rocm-cmake, roct-thunk-interface): Update
to 5.6.0.
(rocclr-src): Update to 5.6.0.
[source]{patches}: Add enable-gfx800 patch.
(rocm-device-libs):  Update to 5.6.0.
[inputs]: Update style.
(rocm-comgr): Update to 5.6.0.
[inputs]: Remove lld.  Update style.
(rocr-runtime): Update to 5.6.0.
[arguments]: Use gexps.  Remove configure-flags.  Add add-rocm-device-lib-path
phase.
[inputs]: Add libdrm.  Update style.
[native-inputs]: Add pkg-config.  Update style.
(rocm-opencl-runtime): Update to 5.6.0.
[source]{patches}: Remove noopencl patch.
[arguments]{configure-flags}: Add BUILD_ICD=OFF and
FILE_REORG_BACKWARD_COMPATIBILITY=OFF flags.
[inputs]: Add opencl-headers.
(rocminfo): Update to 5.6.0.
[arguments]: Use gexps.  Use search-input-file instead of assoc-ref and which.
(rocm-bandwidth-test): Update to 5.6.0.
[source]{patches}: Add fix-includes patch.
* gnu/packages/patches/rocm-comgr-3.1.0-dependencies.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch: Update patches.
* gnu/packages/patches/llvm-roc-4.0.0-remove-isystem-usr-include.patch,
gnu/packages/patches/llvm-roc-5.0.0-linkdl.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noopencl.patch: Delete files.
* gnu/packages/patches/rocm-bandwidth-test-5.5.0-fix-includes.patch,
gnu/packages/patches/rocclr-5.6.0-enable-gfx800.patch: New files.
* gnu/local.mk (dist_patch_DATA): Update patches.
2023-07-11 12:21:00 -04:00
Cory Fields 39a3251feb
gnu: llvm: make clang-make-toolchain public
Matches gcc-make-toolchain. Allow for llvm build to be patched.

* gnu/packages/llvm.scm: make clang-make-toolchain public

Signed-off-by: Carl Dong <contact@carldong.me>
2023-07-02 13:12:02 -04:00
John Kehayias b2a5cb346e
gnu: python-llvmlite: Update to 0.39.1.
* gnu/packages/llvm.scm (python-llvmlite): Update to 0.39.1.
[phases]: Remove patch-reference-to-llvmlite.so and skip-failing-tests phases.
2023-04-21 01:21:46 -04:00
Maxim Cournoyer 3bacd3c76a
Merge branch 'master' into core-updates.
Conflicts:
	gnu/local.mk
	gnu/packages/build-tools.scm
	gnu/packages/certs.scm
	gnu/packages/check.scm
	gnu/packages/compression.scm
	gnu/packages/cups.scm
	gnu/packages/fontutils.scm
	gnu/packages/gnuzilla.scm
	gnu/packages/guile.scm
	gnu/packages/ibus.scm
	gnu/packages/image-processing.scm
	gnu/packages/linux.scm
	gnu/packages/music.scm
	gnu/packages/nss.scm
	gnu/packages/pdf.scm
	gnu/packages/python-xyz.scm
	gnu/packages/qt.scm
	gnu/packages/ruby.scm
	gnu/packages/shells.scm
	gnu/packages/tex.scm
	gnu/packages/video.scm
	gnu/packages/vulkan.scm
	gnu/packages/web.scm
	gnu/packages/webkit.scm
	gnu/packages/wm.scm
2023-04-14 17:15:08 -04:00
Maxim Cournoyer cb2e7efa6c
gnu: cling: Correct erroneous substitute pattern.
* gnu/packages/llvm.scm (cling) [arguments]: Properly escape '\b' in the
regexp pattern of the patch-paths phase.
2023-03-22 21:45:29 -04:00
Christopher Baines 7df09ee0ab
Merge remote-tracking branch 'savannah/master' into core-updates
Conflicts:
	gnu/local.mk
	gnu/packages/autotools.scm
	gnu/packages/cmake.scm
	gnu/packages/gnuzilla.scm
	gnu/packages/haskell.scm
	gnu/packages/pdf.scm
	gnu/packages/python-xyz.scm
	gnu/packages/samba.scm
	gnu/packages/tex.scm
	gnu/packages/tls.scm
	gnu/packages/wxwidgets.scm
2023-03-02 10:55:08 +00:00
Efraim Flashner 672036c6df
gnu: Remove unneeded module imports.
* gnu/packages/abiword.scm,
* gnu/packages/ada.scm,
* gnu/packages/agda.scm,
* gnu/packages/backup.scm,
* gnu/packages/barrier.scm,
* gnu/packages/bioinformatics.scm,
* gnu/packages/bootstrap.scm,
* gnu/packages/bqn.scm,
* gnu/packages/c.scm,
* gnu/packages/chemistry.scm,
* gnu/packages/coq.scm,
* gnu/packages/cross-base.scm,
* gnu/packages/databases.scm,
* gnu/packages/emacs-xyz.scm,
* gnu/packages/enlightenment.scm,
* gnu/packages/games.scm,
* gnu/packages/geo.scm,
* gnu/packages/ghostscript.scm,
* gnu/packages/gl.scm,
* gnu/packages/golang.scm,
* gnu/packages/jami.scm,
* gnu/packages/java-maths.scm,
* gnu/packages/kde-frameworks.scm,
* gnu/packages/kde-plasma.scm,
* gnu/packages/language.scm,
* gnu/packages/libreoffice.scm,
* gnu/packages/linphone.scm,
* gnu/packages/lisp.scm,
* gnu/packages/llvm.scm,
* gnu/packages/machine-learning.scm,
* gnu/packages/minetest.scm,
* gnu/packages/monitoring.scm,
* gnu/packages/nfs.scm,
* gnu/packages/ocr.scm,
* gnu/packages/opencl.scm,
* gnu/packages/pdf.scm,
* gnu/packages/python-xyz.scm,
* gnu/packages/racket.scm,
* gnu/packages/rust.scm,
* gnu/packages/syncthing.scm,
* gnu/packages/syndication.scm,
* gnu/packages/telegram.scm,
* gnu/packages/vulkan.scm,
* gnu/packages/web-browsers.scm,
* gnu/packages/web.scm,
* gnu/packages/webkit.scm: Remove some unecessary module imports.
2023-02-16 22:41:03 +02:00
Greg Hogan 7696206ce8
gnu: LLVM, Clang, libomp, lld: Update to 15.0.7.
* gnu/packages/llvm.scm (llvm-15, clang-15, libomp-15, lld-15):
Update to 15.0.7.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-02-13 18:18:08 +00:00
Efraim Flashner 572d7e6ce5
gnu: Add llvm-for-mesa.
* gnu/packages/llvm.scm (llvm-for-mesa): New variable.
2023-01-30 20:07:50 +02:00
Efraim Flashner 4cf1acc7f3
Merge remote-tracking branch 'origin/master' into core-updates
Conflicts:
	doc/guix.texi
	gnu/local.mk
	gnu/packages/admin.scm
	gnu/packages/base.scm
	gnu/packages/chromium.scm
	gnu/packages/compression.scm
	gnu/packages/databases.scm
	gnu/packages/diffoscope.scm
	gnu/packages/freedesktop.scm
	gnu/packages/gnome.scm
	gnu/packages/gnupg.scm
	gnu/packages/guile.scm
	gnu/packages/inkscape.scm
	gnu/packages/llvm.scm
	gnu/packages/openldap.scm
	gnu/packages/pciutils.scm
	gnu/packages/ruby.scm
	gnu/packages/samba.scm
	gnu/packages/sqlite.scm
	gnu/packages/statistics.scm
	gnu/packages/syndication.scm
	gnu/packages/tex.scm
	gnu/packages/tls.scm
	gnu/packages/version-control.scm
	gnu/packages/xml.scm
	guix/build-system/copy.scm
	guix/scripts/home.scm
2023-01-30 12:39:40 +02:00
Greg Hogan 84f117f495
gnu: LLVM, Clang, libomp, lld: Update to 15.0.6.
* gnu/packages/llvm.scm (llvm-15, clang-15, libomp-15, lld-15):
Update to 15.0.6.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-09 17:40:54 +01:00
Efraim Flashner d46d958ae7
gnu: Add lld-11.
* gnu/packages/llvm.scm (lld-11): New variable.
2023-01-02 15:04:51 +02:00
Efraim Flashner 02d5912062
gnu: julia: Update to 1.8.3.
* gnu/packages/julia.scm (julia): Update to 1.8.3.
[source]: Remove one patch.
[arguments]: Adjust 'prepare-deps phase to changes in inputs. Remove
custom 'use-system-libwhich, 'change-number-of-precompiled-statements,
'symlink-libraries phases. In 'fix-include-and-link-paths phase remove
substitution for utf8proc linking and adjust libuv linking. Fix
reference to shell in 'replace-default-shell phase. Adjust the
'shared-objects-path phase to changes in the source. Change the
'enable-parallel-tests phase for upstream changes. Adjust the
'adjust-test-suite phase to be more robust. Change the
'disable-broken-tests phase to help the test suite pass. Rename
'symlink-llvm-utf8proc phase to 'symlink-missing-libraries and add two
more. Adjust make-flags for changes in shared system libraries. Reorder
make-flags to changes in the source. Except for aarch64, use the
defaults for choosing to use 64-bit blas.
[inputs]: Add libblastrampoline. Replace libgit-1.1 with libgit-1.3,
utf8proc-2.7.1 with utf8proc-2.8.0.
[native-inputs]: Replace python-2 with python.
(libunwind-julia): Update to 1.5.0.
[source]: Update patches.
* gnu/packages/libevent.scm (libuv-julia): Update to 2.0.0-4.e6f0e49.
[arguments]: Also build static library, build position-independent-code.
* gnu/packages/llvm.scm (llvm-julia): Update to llvm-13, following
upstream's build instructions.
* gnu/packages/maths.scm (openlibm): Update to 0.8.1.
* gnu/packages/textutils.scm (utf8proc-2.7.1): Update and rename to
utf8proc-2.8.0.
[native-inputs]: Update unicode to 14.0.0.
* gnu/packages/tls.scm (mbedtls-apache): Update to 2.28.0.
[source]: Remove snippet.
[arguments]: Remove trailing #t from phases.
* gnu/packages/patches/julia-allow-parallel-build.patch,
(julia-patch): Update version string to 1.8.2.
gnu/packages/patches/libunwind-julia-fix-GCC10-fno-common.patch: Remove
files.
* gnu/local.mk (dist_patch_DATA): Remove them.

Co-authored-by: Akira Kyle <akira@akirakyle.com>
2022-12-08 19:53:16 +02:00
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
Marius Bakke 8ea970a945
gnu: clang-runtime: Remove obsolete workaround.
* gnu/packages/llvm.scm (clang-runtime-14)[native-inputs]: Remove.
2022-09-08 21:40:00 +02:00
Marius Bakke 884548b476
Merge branch 'staging' into core-updates 2022-09-08 21:12:52 +02: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
Greg Hogan 6f8083e6ec
gnu: llvm-14, llvm-12: Enable RTTI.
* gnu/packages/llvm.scm (llvm-14, llvm-12): Enable RTTI.
[arguments]<#:configure-flags>: Switch to proper CMake flag.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-01 23:37:12 +02:00
Marius Bakke 59c136ef61
Merge branch 'staging' into core-updates 2022-08-30 20:18:55 +02: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 873d7730c5
gnu: llvm-11: Update to 11.1.0.
* gnu/packages/llvm.scm (llvm-11, clang-runtime-11, clang-11,
libomp-11): Update to 11.1.0.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-27 23:59:57 +02:00
Marius Bakke 77eb3008e3
Merge branch 'staging' into core-updates 2022-08-11 23:36:10 +02:00
Marius Bakke e9afd8a005
gnu: LLVM: Add missing include statement for compatibility with GCC 11.
* gnu/packages/patches/llvm-8-missing-include.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/llvm.scm (llvm-11, llvm-10, llvm-9, llvm-8)[source](patches):
Add it.
2022-08-11 22:39:14 +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