gnu: re2-next: Fix tests.
* gnu/packages/regex.scm (re2-next)[arguments]: Add #:tests?.
<#:configure-flags>: Build tests for native builds.
[native-inputs]: Add googlebenchmark.
Change-Id: I565fdd236d0c37b84c5bacc64a8c27aa17ddd8e0
gnu: llvm: Fix tests.
* gnu/packages/llvm.scm (clang-from-llvm)[arguments]: Set #:tests? to
disabled.
(make-llvm, llvm-14)[arguments]
<#:tests?>: Disable for target-x86-32.
<#:phases>: Replace 'check phase to run tests.
(llvm-14)[native-inputs]: Add which.
(llvm-13)[arguments]<#:tests?>: Disable for target-x86-32.
(llvm-12)[arguments]<#:tests>: Disable tests.
<#:phases>: Add 'remove-failing-tests phase.
(llvm-6)[arguments]<#:phases>: ... and remove it.
* gnu/packages/patches/llvm-13-gcc-14.patch: Patch test file.
(llvm-3.9.1)[arguments]: Substitute from inherited package.
Change-Id: Ibf0e4a4b535838ff4ffd60d66bc0bee4314abde6
gnu: kirigami: Fix tests.
* gnu/packages/kde-frameworks.scm (kirigami)[arguments]
<#:phases>: Add 'set-offscreen-display.
Change-Id: I054c0a2301e1e342f12ef4aa9e9b542c1339f712
gnu: inkscape/pinned: Fix tests.
* gnu/packages/inkscape.scm (inkscape/pinned)[arguments]<#:phases>:
Fix argument to test command in 'check.
Change-Id: Ie89a7026f63256afabba038e0fc30e6ab0d8f3a6
gnu: csound: Fix tests.
* gnu/packages/audio.scm (csound)
[arguments]<#:configure-flags>: Build static library for testing.
[inputs]: Add cunit.
Change-Id: I1c7b451b3816dc75fae6990735584ab9255be89a
gnu: bpftrace: Fix tests.
* gnu/packages/linux.scm (bpftrace)
[arguments]: Replace #:test-target with #:test-exclude.
<#:phases>: Add 'fix-paths and 'set-test-filter.
[native-inputs]: Add coreutils.
Change-Id: I66e2f616ae6ff2a133eca2d96a1aae15a88d6c93
gnu: rdma-core: Remove custom phases.
* gnu/packages/linux.scm (rdma-core)
<#:configure-flags>: Remove generator.
<#:generator>: Add.
<#:phases>: Delete.
[native-inputs]: Remove ninja.
Change-Id: Ic0c2b60203df8a1e79ad1f7a51770c9c5aeaf3fc
gnu: astroid: Remove custom phases.
* gnu/packages/mail.scm (astroid):
[origin]: Remove bugfix resolved upstream.
[arguments]<#:parallel-tests?>: Disable.
<#:test-exclude>: Move exclusions from 'skip-markdown-test phase to here
and delete 'skip-markdown-test phase.
<#:generator>: Add.
<#:phases>: Remove custom 'build, 'check, and 'install.
[native-inputs]: Remove ninja.
Change-Id: If279a459232bb0c3f8e440df2d251c737d8ec5de
build-system/cmake: Use CMake.
* guix/build/cmake-build-system.scm (configure): Add and use generator
field to configure the build system. Create and use CMake variable cache
file. Set the CMake variable BUILD_TESTING to the value of TESTS? so
that a package can optionally build tests. Set CMAKE_COLOR_DIAGNOSTICS
to ON. Set max load for parallel builds.
(build, install): New function.
(check): Replace call to gnu-build's non-parallelizable check with
function using cmake's ctest.
(%standard-phase): Add new build and install functions as phases.
* guix/build-system/cmake.scm (cmake-build, cmake-cross-build),
* guix/build-system/qt.scm (qt-build, qt-cross-build): Add generator
and test-exclude fields and remove unused test-target field.
* doc/guix.texi: Document new parameters.
* guix/build-system/cmake.scm (cmake-build),
* guix/build-system/qt.scm (qt-build): Add ninja to build-inputs.
Change-Id: Ifa8174c91f0fdc030ac5813e98f7c21cba1a7725
gnu: Add python-wheel-filename.
* gnu/packages/python-xyz.scm (python-wheel-filename): New variable.
Change-Id: I7e4712f728f5e416bfb8cb0ab1fc023b1c1ac123
Signed-off-by: Vinicius Monego <monego@posteo.net>
gnu: Add pythonscad.
* gnu/packages/engineering.scm (pythonscad): New variable.
Change-Id: Ib559ba4f10c0db685520ce1fa3417975c85ba0a6
Signed-off-by: Andreas Enge <andreas@enge.fr>
gnu: whisper.ccp: Update home-page.
* gnu/packages/machine-learning.scm (whisper.ccp): Update home-page.
Change-Id: Id580ca4c63cd547edbd596a6258d0b95de0275b3
Signed-off-by: Andreas Enge <andreas@enge.fr>
gnu: cflow: Update to 1.8.
* gnu/packages/code.scm (cflow): Update to 1.8.
Change-Id: I4846415b4bbd8a16abd48be7c04bd6d62e1a2c78
Signed-off-by: Andreas Enge <andreas@enge.fr>
gnu: whisper-cpp: Build with vulkan support.
* gnu/packages/machine-learning.scm (whisper-cpp)<#:configure-flags>: Add
"-DGGML_VULKAN=ON".
[arguments]<#:phases>[patch-paths]: New phase.
[native-inputs]: Add shaderc.
[inputs]: Add spirv-headers, spirv-tools, vulkan-headers, vulkan-loader.
Change-Id: I8d5570b8a2b7e9b6d19bd5a0258ea672baf50d35
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
gnu: rocm: Update to 6.4.2.
This commit updates all of the ROCm packages, including llvm-for-rocm, to the
latest version, 6.4.2. An exception is roct-thunk-interface which is
deprecated upstream, but unclear what the replacement is. It does build from
the last version, 6.2.4, which is what it is updated to here.
Several packages are now in the same repository as the ROCm LLVM fork, so they
share the same origin (repeated in (gnu packages rocm) from llvm-for-rocm
in (gnu packages llvm) as using package-source did not resolve).
* gnu/packages/llvm.scm (llvm-for-rocm): Update to 6.4.2. Inherit from
llvm-19.
[source]: Update URL.
[arguments]: Correct spacing of configure-flags.
* gnu/packages/patches/rocclr-5.6.0-enable-gfx800.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch: Update.
* gnu/packages/patches/rocm-bandwidth-test-5.5.0-fix-includes.patch,
gnu/packages/patches/rocm-comgr-3.1.0-dependencies.patch: Remove files.
* gnu/packages/rocm.scm (%rocm-version): Update to 6.4.2.
(%rocm-llvm-origin): New variable.
(rocm-cmake)[home-page]: Update.
(rocm-device-libs)[source]: Use %rocm-llvm-origin.
[arguments]: Add build-type. Add chdir phase.
[home-page]: Update.
(rocm-comgr)[source]: Use %rocm-llvm-origin. Remove patch.
[arguments]: Add build-type. Rename chdir phase to prepare-to build, setting
ROCM_PATH.
[inputs]: Move llvm-for-rocm from here ...
[native-inputs]: ... to here. Add python.
[home-page]: Update.
(roct-thunk-interface): Update to 6.2.4.
[source, home-page]: Update URL.
(rocr-runtime)[source]: Update URL.
[arguments]: Add build-type. Update and simplify add-rocm-device-lib-path
phase.
[inputs]: Change libelf to libelf-shared.
[home-page]: Update.
(rocclr-src): Remove variable.
(rocm-opencl-runtime)[home-page]: Update.
[source]{patches}: Add patch (that was in rocclr-src before).
[arguments]: Add build-type. Update configure-flags. Add no-os-release
phase.
(rocminfo)[source, home-page]: Update URL.
(rocm-bandwidth-test)[source]: Update URL. Remove patch.
[home-page]: Update.
* gnu/local.mk (dist_patch_DATA): Remove patches.
Change-Id: I2157255a9546110ac683c12c131a330402e2fd93
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
gnu: Add libelf-shared.
* gnu/packages/elf.scm (libelf-shared): New variable.
Change-Id: Ie77583d46e674ffb97b0f2f0bd54579a2d7b49fe
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
gnu: diffutils: Skip some tests on powerpc64le-linux.
Fixes #1681.
* gnu/packages/base.scm (diffutils)[arguments]: When building for
powerpc64le-linux add make-flags to mark 2 tests as failed.
Change-Id: Ia26950d0ec9d5631f556d7dc2c36ceff03916dbb
gnu: glib-networking: Skip tests on aarch64-linux.
* gnu/packages/gnome.scm (glib-networking)[arguments]: Skip tests when
building on aarch64-linux.
Change-Id: Iad9a844b26416b7efd8e5f7a70d56da23e4997ce
gnu: llama-cpp: Update to 0.0.0-b6056.
* gnu/packages/machine-learning.scm (llama-cpp): Update to 0.0.0-b6056.
[arguments]<#:phases>{patch-paths}: Fix max column.
[arguments]<#:phases>{fix-tests}: Avoid test-{thread-safety,arg-parser} tests.
Change-Id: Ibcec7e93d951b0ef4735560a1a325d363b46943d
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
teams: Add entry for fishinthecalculator.
* etc/teams.scm ("fishinthecalculator"): New member.
Change-Id: I88c1803455c0cd2126d15d31d45a32572cdee5c2