* gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: When
building clang-runtime-18 or newer use gcc-13.
(%llvm-monorepo-hashes): Add entry for llvm-18.
(%llvm-patches): Add entry for llvm-18.
(llvm-18, clang-runtime-18, clang-18, libomp-18, clang-toolchain-18):
New variables.
* gnu/packages/patches/clang-18.0-libc-search-path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
Change-Id: I4027065398300104c6a310187007448f5b2780c1
* gnu/packages/llvm.scm (%llvm-patches): Add a patch for 17.0.6.
* gnu/packages/patches/clang-17.0-link-dsymutil-latomic.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
Change-Id: I9dfd23d2f0fb10620c4aa73a6480151d6e6daa9a
* gnu/packages/llvm.scm (clang-properties): Add entries on x86_64 for
versions 17, 16, 15, 13, 9 and remove entry for version 10.
Change-Id: I93149c30f011c6de8ff0cc2c2b6f0186540359cd
* gnu/packages/llvm.scm (lldb): Update to 17.0.6.
[inputs]: Change from LLVM-15 and CLANG-15 to LLVM-17 and CLANG-17.
Change-Id: Iad04ee722c81ecb223ea4d57d25ea57ca7df59a0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This is a follow-up to 15ba54d0e9.
* gnu/packages/llvm.scm (llvm-cling)[arguments]: Use gexps for phases.
Change-Id: I12f048b1a6a350838572832ad33357046610b18d
* gnu/packages/llvm.scm (llvm-14)[arguments]: When building for
powerpc-linux adjust the configure-flags to always link shared libraries
with -latomic.
Change-Id: If020528bf1717595b66e6e0826dbe7a0c1128322
* gnu/packages/llvm.scm (libclc): Update to 15.0.7.
[source]: Use the llvm-monorepo.
[arguments]: Remove configure-flag for python, add one for llvm-spirv.
Add a phase to skip 2 tests. Remove trailing #t from phases.
[propagated-inputs]: Add spirv-llvm-translator, spirv-tools.
[native-inputs]: Replace clang-9 with 15, llvm-9 with 15.
[properties]: Add release-monitoring-url.
Change-Id: I06e2e7be0dc5733a2cc17429928b1761ab987906
* gnu/packages/llvm.scm (clang-from-llvm)[arguments]: Include test runner in
CMakeLists.txt when version >= 17.
(clang-17): New variable.
Change-Id: Ia3cd8013d497b72522e95f6face5975bf79f93b3
* gnu/packages/llvm.scm (clang-python-bindings)[arguments]: Embed the version
string in the generated setup.py.
Change-Id: If8764a483dd1a3786d4b3cab1f21846a18f3b07d
* gnu/packages/llvm.scm (system->llvm-target-arch): New procedure.
(llvm-15,llvm-14,llvm-12): Use It.
(system->llvm-target): Rewrite in terms of 'system->llvm-target-arch'.
Co-authored-by: 宋文武 <iyzsong@member.fsf.org>
$ 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>
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.
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>
* 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>
* 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>
* 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>