Package Details: libggml-git r1410.8a3d799-2

Git Clone URL: https://aur.archlinux.org/libggml-git.git (read-only, click to copy)
Package Base: libggml-git
Description: Tensor library for machine learning
Upstream URL: https://github.com/ggerganov/ggml
Licenses: MIT
Conflicts: libggml
Provides: libggml
Submitter: dreieck
Maintainer: txtsd
Last Packager: txtsd
Votes: 2
Popularity: 1.64
First Submitted: 2024-03-27 09:31 (UTC)
Last Updated: 2024-11-25 06:58 (UTC)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2024-11-24 11:39 (UTC)

Ahoj @txtsd,

I see you have adopted this package. Great!

I think you should fill in the # Maintaner:-line in the PKGBUILD.

Regards!

txtsd commented on 2024-11-24 05:10 (UTC)

@kaslusimoes Thanks for reporting. It's just a warning. Nothing to worry about.

kaslusimoes commented on 2024-11-23 22:34 (UTC)

Not entirely clear to me how to fix this, but the output of makepkg tells me that

==> WARNING: Package contains reference to $srcdir
usr/lib/libggml-cpu.so
usr/lib/libggml-rpc.so
usr/lib/libggml.so
usr/lib/libggml-base.so

and that is confirmed by namcap libggml-etc.pkg.tar.xz

dreieck commented on 2024-11-10 21:18 (UTC)

Disowning. Not using it.

alexmurkoff commented on 2024-07-03 07:45 (UTC)

Nah, sorry @dreieck, I don't think I should be trusted with maintaining library packages. Although I'll try to help as much as possible in cases when a PKGBUILD doesn't work or errors out.

Best, Alex

dreieck commented on 2024-07-02 17:14 (UTC) (edited on 2024-07-02 17:14 (UTC) by dreieck)

Ahoj,

Latest PKGBUILD doesn't specify math library for linking, for some reason? Adding -lm to the CFLAGS and CXXFLAGS fixes build problems that state something among the lines of Unable to find symbol: sqrt@@GLIBC

I am not familiar with linking stuff, but I just added -lm.

Do you want to take over maintanance of this package?

Regards!

alexmurkoff commented on 2024-07-02 16:30 (UTC)

Latest PKGBUILD doesn't specify math library for linking, for some reason? Adding -lm to the CFLAGS and CXXFLAGS fixes build problems that state something among the lines of Unable to find symbol: sqrt@@GLIBC

alexmurkoff commented on 2024-05-13 23:02 (UTC)

Hey, @dreieck ! Thanks for responding so quickly, it does indeed build now! Regarding your question about GCC version, mine is gcc 14.1.1+r1+g43b730b9134-1

dreieck commented on 2024-05-13 08:23 (UTC) (edited on 2024-05-13 08:24 (UTC) by dreieck)

Ahoj @alexmurkoff,

Doesn't build as of 13.05.24, neither in normal chroot nor clean chroot. Log:

I added

  CFLAGS+=" -Wno-error=implicit-function-declaration"
  CXXFLAGS+=" -Wno-error=implicit-function-declaration"
  export CFLAGS
  export CXXFLAGS

Can you try again?

Are you already at GCC version 14.x, or still at 13.x?

And: It is an upstream issue. Can you report this to upstream?

Regards!

alexmurkoff commented on 2024-05-13 08:11 (UTC)

Doesn't build as of 13.05.24, neither in normal chroot nor clean chroot. Log:

[  1%] Building C object src/CMakeFiles/ggml.dir/ggml.c.o
/home/alex/Desktop/fuck/src/libggml/src/ggml.c: In function ‘ggml_init’:
/home/alex/Desktop/fuck/src/libggml/src/ggml.c:2915:9: error: implicit declaration of function ‘ggml_cl_init’; did you mean ‘ggml_opt_init’? [-Wimplicit-function-declaration]
 2915 |         ggml_cl_init();
      |         ^~~~~~~~~~~~
      |         ggml_opt_init
/home/alex/Desktop/fuck/src/libggml/src/ggml.c: In function ‘ggml_compute_forward_add_f32’:
/home/alex/Desktop/fuck/src/libggml/src/ggml.c:8551:13: error: implicit declaration of function ‘ggml_cl_add’; did you mean ‘ggml_clamp’? [-Wimplicit-function-declaration]
 8551 |             ggml_cl_add(src0, src1, dst);
      |             ^~~~~~~~~~~
      |             ggml_clamp
/home/alex/Desktop/fuck/src/libggml/src/ggml.c: In function ‘ggml_compute_forward_mul_f32’:
/home/alex/Desktop/fuck/src/libggml/src/ggml.c:9669:13: error: implicit declaration of function ‘ggml_cl_mul’; did you mean ‘ggml_clamp’? [-Wimplicit-function-declaration]
 9669 |             ggml_cl_mul(src0, src1, dst);
      |             ^~~~~~~~~~~
      |             ggml_clamp
/home/alex/Desktop/fuck/src/libggml/src/ggml.c: In function ‘ggml_compute_forward_mul_mat’:
/home/alex/Desktop/fuck/src/libggml/src/ggml.c:11817:9: error: implicit declaration of function ‘ggml_cl_can_mul_mat’; did you mean ‘ggml_can_mul_mat’? [-Wimplicit-function-declaration]
11817 |     if (ggml_cl_can_mul_mat(src0, src1, dst)) {
      |         ^~~~~~~~~~~~~~~~~~~
      |         ggml_can_mul_mat
/home/alex/Desktop/fuck/src/libggml/src/ggml.c:11819:13: error: implicit declaration of function ‘ggml_cl_mul_mat’; did you mean ‘ggml_can_mul_mat’? [-Wimplicit-function-declaration]
11819 |             ggml_cl_mul_mat(src0, src1, dst, params->wdata, params->wsize);
      |             ^~~~~~~~~~~~~~~
      |             ggml_can_mul_mat
/home/alex/Desktop/fuck/src/libggml/src/ggml.c: In function ‘ggml_graph_plan’:
/home/alex/Desktop/fuck/src/libggml/src/ggml.c:19639:31: error: implicit declaration of function ‘ggml_cl_mul_mat_get_wsize’; did you mean ‘ggml_mul_mat_set_prec’? [-Wimplicit-function-declaration]
19639 |                         cur = ggml_cl_mul_mat_get_wsize(node->src[0], node->src[1], node);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                               ggml_mul_mat_set_prec
make[2]: *** [src/CMakeFiles/ggml.dir/build.make:76: src/CMakeFiles/ggml.dir/ggml.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:351: src/CMakeFiles/ggml.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
make: Leaving directory '/home/alex/Desktop/fuck/src/build'
==> ERROR: A failure occurred in build().
    Aborting...