groonga.org (#3175)

* groonga.org

* linux/aarch64 without mecab
This commit is contained in:
Andrew 2023-08-31 20:25:29 +03:00 committed by GitHub
parent b8ba379f01
commit 2a6b247153
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,63 @@
distributable:
url: https://github.com/groonga/groonga/releases/download/v{{version}}/groonga-{{version}}.tar.gz
strip-components: 1
versions:
github: groonga/groonga
dependencies:
darwin:
taku910.github.io/mecab: '*'
taku910.github.io/mecab-ipadic: '*'
linux/x86-64:
taku910.github.io/mecab: '*'
taku910.github.io/mecab-ipadic: '*'
msgpack.org: '*'
openssl.org: '*'
pcre.org/v2: '*'
github.com/besser82/libxcrypt: '*'
linux:
gnome.org/glib: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
freedesktop.org/pkg-config: '*'
linux:
curl.se: '*'
script:
- run: |
../configure $CONFIGURE_ARGS
make --jobs {{hw.concurrency}} install
working-directory: builddir
- curl -L "$LINK" | tar zxf -
- run: |
export PATH={{prefix}}/bin:$PATH
export PKG_CONFIG_PATH={{prefix}}/lib/pkgconfig:$PKG_CONFIG_PATH
./configure --prefix={{prefix}}
make --jobs {{hw.concurrency}}
make --jobs {{hw.concurrency}} install
working-directory: groonga-normalizer-mysql-1.2.1
env:
CONFIGURE_ARGS:
- --disable-debug
- --disable-dependency-tracking
- --prefix="{{prefix}}"
- --libdir="{{prefix}}/lib"
- --disable-zeromq
- --disable-apache-arrow
- --with-luajit=no
- --with-ssl
- --with-zlib
- --without-libstemmer
LINK: https://packages.groonga.org/source/groonga-normalizer-mysql/groonga-normalizer-mysql-1.2.1.tar.gz
darwin:
CONFIGURE_ARGS:
- --with-mecab
linux/x86-64:
CONFIGURE_ARGS:
- --with-mecab
provides:
- bin/groonga
- bin/groonga-suggest-create-dataset
test:
script:
- groonga --version | grep {{version}}