* gnu/packages/ebook.scm (calibre): Update to 8.16.2.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:use-setuptools?>: Drop it.
<#:phases>: Replace phases 'build, 'install and 'check with former
variants.
[native-inputs]: Add python-setuptools, python-tzdata, python-tzlocal.
Change-Id: Ia4b4688af55aa88bae41b959a66ad2224093071a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
* gnu/packages/llvm.scm (%rocm-llvm-version): New variable.
(make-llvm-rocm): New procedure.
(llvm-rocm): New variable.
(make-clang-runtime-rocm): New procedure.
(clang-runtime-rocm): New variable.
(make-clang-rocm): New procedure.
(clang-rocm): New variable.
(rocm-device-libs): New variable.
(rocm-comgr): New variable.
(rocm-hipcc): New variable.
(make-lld-rocm): New procedure.
(lld-rocm): New variable.
* gnu/packages/rocm.scm: Add perl to imports.
(%rocm-version): Update to 7.1.0.
(%rocm-systems-url, %rocm-systems-origin): New variables.
(rocr-runtime): Use %rocm-systems-origin and update build.
(rocm-opencl-runtime): Use %rocm-systems-origin and update build.
(rocm-hip-runtime): New variable.
(rocminfo): Use %rocm-systems-origin and update build.
(%default-amdgpu-targets, %default-amdgpu-targets-property): New variables.
(%amdgpu-targets): New syntax.
(rocm-bandwidth-test): Update and add comprehensive build support.
* gnu/local.mk: Add rocm-bandwidth-test patches.
* gnu/packages/patches/rocm-bandwidth-test-fix-external-packages-search.patch,
gnu/packages/patches/rocm-bandwidth-test-fix-hsa-include-file-lookup.patch,
gnu/packages/patches/rocm-bandwidth-test-take-default-gpus-from-environment.patch:
New files.
* gnu/packages/patches/rocclr-5.6.0-enable-gfx800.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch: Update patch paths.
Change-Id: I43f162b9f8ab898e25d8ecbe4ea30be84a29eb0d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This reinstates 2b3782eb6e, which was reverted
in f54a032cec760ff2c3af87e5a45dd305a84dfa48; see
<https://codeberg.org/guix/guix/pulls/4747>.
* gnu/packages/guile.scm (guile-3.0.11): New variable.
(guile-3.0-latest): Add comment.
* gnu/packages/patches/guile-3.0.11-cross-compilation.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
Change-Id: Id8ec934bb504750a5cefb5d417eab84175c47d01
Co-authored-by: Yelninei <yelninei@tutamail.com>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #5360
Guile 3.0.11 introduced a new implementation of (srfi srfi-34) with subtle
changes wrt. exceptionm handling. This adjusts to these changes.
Changes in ‘tests/style.scm’ are due to the new output of (ice-9 pretty-print)
in 3.0.10.
* tests/file-systems.scm ("btrfs-store-subvolume-file-name (subvolid)"):
Specify the exception type.
* tests/services/file-sharing.scm ("transmission-password-hash, salt value too short")
("transmission-password-hash, salt value too long"): Likewise.
* tests/store.scm ("store-path-package-name #f"): Change to ‘test-error’
with #t as the exception type.
* tests/style.scm: Skip all the tests on Guile > 3.0.9.
* tests/toml.scm <top level>: Set ‘raise’ in (guix build toml).
("parse-toml: No key"): Use ‘test-error’ instead of ‘test-equal’.
("parse-toml: Assignment to non-table"): Likewise.
("parse-toml: Invalid assignment to implicit table"): Change exception type
to #t
("parse-toml: Assignment to statically defined array"): Likewise.
Change-Id: I54ea77f22d3e95f72dad90690631876e7f013054
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This Python package can be used both as a library and as a standalone
command line application. It does so by adding a shebang to the library
code. Dropping this shebang prevents the build system from adding
python-wrapper as an input, reducing package closure size from
~200 MiB to ~0.2 MiB. A new python-pyinotify-cli package is added to
allow users who desire so to use the CLI application.
* gnu/packages/python-xyz.scm (python-pyinotify)[phases]{drop-shebang}:
New phase.
(python-pyinotify-cli): New variable.
Change-Id: Ifb796d26fc6a7bedec69093f7c9bd43ada8bebac
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
* gnu/packages/python-xyz.scm
(python-dbusmock-check-phase): New variable, to reduce redundancy;
(python-dbusmock): Update to 0.37.2.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Migrate them to pyproject-build-system.
<#:phases>: In phase 'patch-path, remove unecessary substitution. Use
python-dbusmock-check-phase.
[native-inputs]: Add python-setuptools.
(python-dbusmock-minimal)[source, arguments, build-system, inputs]:
Adapt fields to keep the same derivation and avoid rebuilds.
Change-Id: I6db0afffc74388fe19025457d7699993e2218666
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
* gnu/packages/maths.scm (z3):
[arguments]<#:imported-modules, #:modules, #:phases>: Switch to
pyproject-build-system.
<#:phases>: Replace phase 'compile-python-modules by the one in
pyproject-build-system.
Change-Id: Ie74daad5cd152bd80447219a9c82fa7d0827ac9b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
* gnu/packages/jupyter.scm (python-ipydatawidgets):
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve style.
<#:phases>: Migrate 'check phase replacement to <#:test-flags>.
Use 'build and 'install phases from the python-build-system, as it
currently fails for the pyproject-build-system.
[native-inputs]: Add python-setuptools.
Fixes: guix/guix#5524
Change-Id: I410c5fa6ba4cc95bae2e5ace227a4ad07ebc118b
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>