Package Details: shogun 6.1.4-1

Git Clone URL: https://aur.archlinux.org/shogun.git (read-only, click to copy)
Package Base: shogun
Description: A Large Scale Machine Learning Toolbox
Upstream URL: http://shogun.ml/
Keywords: artifical_intelligence machine_learning neural_network
Licenses: GPL3
Submitter: None
Maintainer: ChrisTX
Last Packager: ChrisTX
Votes: 6
Popularity: 0.000000
First Submitted: 2012-06-11 12:54 (UTC)
Last Updated: 2019-07-15 15:00 (UTC)

Latest Comments

1 2 Next › Last »

redgroot commented on 2021-04-17 14:54 (UTC)

eigen3 is missing, seems its named as eigen in official repository.

ChrisTX commented on 2018-12-14 16:31 (UTC)

I've taken over maintenance of this package, and it's now up to date with Shogun 6.1.3. Most bindings are enabled (as far as they even build, I've submitted the broken ones as upstream bug reports), as are all open-source optional features.

Unfortunately, there will be some warnings during packaging regarding references to the srcdir. This is due to heavy usage of __FUNC__ macros throughout the codebase, which generate full paths. There isn't really a way to prevent that, short of grep'ping the entire codebase and using a trick like this.

vishalbelsare commented on 2017-11-29 19:11 (UTC)

# Maintainer: Vishal Belsare <vxxxxx.bxxxxxx@gmail.com> pkgname=shogun pkgver=6.0.0 pkgrel=1 pkgdesc="Shogun - A Large Scale Machine Learning Toolbox" arch=('i686' 'x86_64') url="http://shogun.ml/" license=('GPLv3') depends=('cblas' 'lapack' 'swig' 'python2' 'python2-numpy') source=(http://github.com/shogun-toolbox/shogun/archive/shogun_$pkgver.tar.gz) md5sums=('7a1757de1a68caad468d69f603f16a2a') build() { cd "${srcdir}/${pkgname}-${pkgname}_${pkgver}" mkdir build && cd build cmake -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_ARPREC=OFF \ -DBUILD_EXAMPLES=ON -DBUILD_META_EXAMPLES=ON \ -DENABLE_ARPACK=ON -DENABLE_COLPACK=OFF -DENABLE_VIENNACL=OFF \ -DENABLE_CPLEX=OFF -DENABLE_MOSEK=OFF \ -DENABLE_NLOPT=ON -DENABLE_GLPK=ON -DENABLE_LPSOLVE=ON \ -DENABLE_CURL=ON -DENABLE_HDF5=ON -DENABLE_JSON=ON \ -DENABLE_PROTOBUF=ON -DENABLE_LIBXML2=ON \ -DENABLE_BZIP2=ON -DENABLE_LIBLZMA=ON -DENABLE_LZO=ON \ -DENABLE_SNAPPY=ON -DENABLE_ZLIB=ON \ -DLIBSHOGUN=ON -DLIBSHOGUN_BUILD_STATIC=ON \ -DLICENSE_GPL_SHOGUN=ON \ -DLINALG_DEFAULT_BACKEND=EIGEN3 -DLINALG_EIGENSOLVER_LIB=EIGEN3 \ -DLINALG_LINEAR_SOLVER_LIB=EIGEN3 \ -DPythonModular=ON \ -DPYTHON_EXECUTABLE=/usr/bin/python2 \ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \ -DPYTHON_PACKAGES_PATH=/usr/lib/python2.7/site-packages \ -DUSE_EIGEN3_EIGSLV=ON -DUSE_EIGEN3_GLOBAL=ON -DUSE_EIGEN3_LINSLV=ON \ -DUSE_CPLEX=OFF -DUSE_MOSEK=OFF \ -DUSE_GLPK=ON -DUSE_LPSOLVE=ON -DUSE_BZIP2=ON \ -DUSE_GZIP=ON -DUSE_LZMA=ON -DUSE_LZO=ON -DUSE_SNAPPY=ON \ -DUSE_SVMLIGHT=ON -DUSE_ORIGINAL_LAPACK=OFF \ -DVIENNACL_WITH_OPENCL=OFF .. make -j2 } package() { cd "${srcdir}/${pkgname}-${pkgname}_${pkgver}/build" make DESTDIR="$pkgdir/" install }

qwertzdenek commented on 2015-12-08 12:38 (UTC)

Fixed in SWIG-git. Rebuild both.

qwertzdenek commented on 2015-11-10 12:53 (UTC)

No idea. Reported to upstream. https://github.com/shogun-toolbox/shogun/issues/2930

lan commented on 2015-11-10 09:12 (UTC)

Does not compile for me either. Any fix for this?

aexl commented on 2015-10-14 17:14 (UTC)

It does not compile for me, i get the following error: /home/aexl/builds/shogun/src/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:679604:1: error: too many initializers for ‘PyMappingMethods’ /home/aexl/builds/shogun/src/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:679604:1: error: invalid conversion from ‘binaryfunc {aka _object* (*)(_object*, _object*)}’ to ‘unaryfunc {aka _object* (*)(_object*)}’ [-fpermissive] /home/aexl/builds/shogun/src/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:679604:1: error: invalid conversion from ‘binaryfunc {aka _object* (*)(_object*, _object*)}’ to ‘unaryfunc {aka _object* (*)(_object*)}’ [-fpermissive] /home/aexl/builds/shogun/src/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:679604:1: error: invalid conversion from ‘binaryfunc {aka _object* (*)(_object*, _object*)}’ to ‘unaryfunc {aka _object* (*)(_object*)}’ [-fpermissive] /home/aexl/builds/shogun/src/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:679604:1: error: invalid conversion from ‘lenfunc {aka long int (*)(_object*)}’ to ‘binaryfunc {aka _object* (*)(_object*, _object*)}’ [-fpermissive] /home/aexl/builds/shogun/src/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:679604:1: error: invalid conversion from ‘objobjargproc {aka int (*)(_object*, _object*, _object*)}’ to ‘binaryfunc {aka _object* (*)(_object*, _object*)}’ [-fpermissive] /home/aexl/builds/shogun/src/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:679604:1: error: invalid conversion from ‘ssizeargfunc {aka _object* (*)(_object*, long int)}’ to ‘objobjargproc {aka int (*)(_object*, _object*, _object*)}’ [-fpermissive] /home/aexl/builds/shogun/src/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:679604:1: error: invalid conversion from ‘getbufferproc {aka int (*)(_object*, bufferinfo*, int)}’ to ‘lenfunc {aka long int (*)(_object*)}’ [-fpermissive] /home/aexl/builds/shogun/src/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:679604:1: error: invalid conversion from ‘releasebufferproc {aka void (*)(_object*, bufferinfo*)}’ to ‘binaryfunc {aka _object* (*)(_object*, _object*)}’ [-fpermissive] /home/aexl/builds/shogun/src/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:679604:1: error: cannot convert ‘PyObject* {aka _object*}’ to ‘getbufferproc {aka int (*)(_object*, bufferinfo*, int)}’ in initialization /home/aexl/builds/shogun/src/shogun-4.0.0/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:679604:1: error: cannot convert ‘PyObject* {aka _object*}’ to ‘releasebufferproc {aka void (*)(_object*, bufferinfo*)}’ in initialization cc1plus: warning: unrecognized command line option ‘-Wno-c++11-narrowing’ src/interfaces/python_modular/CMakeFiles/_python_modular.dir/build.make:322: recipe for target 'src/interfaces/python_modular/CMakeFiles/_python_modular.dir/modshogunPYTHON_wrap.cxx.o' failed make[2]: *** [src/interfaces/python_modular/CMakeFiles/_python_modular.dir/modshogunPYTHON_wrap.cxx.o] Error 1 CMakeFiles/Makefile2:87: recipe for target 'src/interfaces/python_modular/CMakeFiles/_python_modular.dir/all' failed make[1]: *** [src/interfaces/python_modular/CMakeFiles/_python_modular.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in package(). Aborting... Is is possible, that something must be changed to be able to compile it with gcc 5?

qwertzdenek commented on 2015-02-12 17:20 (UTC)

Updated PKGBUILD for the new version. I added just python interface for start.

aurelien commented on 2014-06-05 15:26 (UTC)

And modify: package() { cd "${srcdir}/${pkgname}-${pkgver}/src" make DESTDIR="$pkgdir/" .r-install.sh