Is openblas-lapack maybe optional?
From the projects page:
"OpenBLAS: this is an alernative to ATLAS or CLAPACK. The scripts don't use it by default but we provide installation scripts so you can install it if you want to compare it against ATLAS (it's more actively maintained than ATLAS)."
Search Criteria
Package Details: kaldi 5.5.r9264.9af2c5c16-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/kaldi.git (read-only, click to copy) |
---|---|
Package Base: | kaldi |
Description: | Speech recognition research toolkit |
Upstream URL: | https://github.com/kaldi-asr/kaldi |
Licenses: | Apache |
Submitter: | petronny |
Maintainer: | petronny |
Last Packager: | petronny |
Votes: | 4 |
Popularity: | 0.000000 |
First Submitted: | 2016-11-01 10:54 (UTC) |
Last Updated: | 2022-07-23 11:36 (UTC) |
Dependencies (12)
- cblas (blis-cblas-openmpAUR, blis-cblasAUR, aocl-blis-aoccAUR, blas-gitAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, blis-gitAUR, blisAUR, blas-mklAUR, aocl-blisAUR, openblas-lapackAUR, blas-openblas)
- kaldi-openfstAUR
- lapack (aocl-libflame-aoccAUR, lapack-gitAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, blas-mklAUR, aocl-libflameAUR, openblas-lapackAUR, blas-openblas)
- python (python37AUR, python311AUR, python310AUR)
- git (git-gitAUR, git-glAUR) (make)
- wget (wget-gitAUR, wurlAUR) (make)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda11.4-versionedAUR, cuda12.0-versionedAUR) (optional)
- kaldi-irstlm (optional)
- kaldi-kaldi_lm (optional)
- kaldi-sctk (optional)
- kaldi-sph2pipe (optional)
- kaldi-srilm (optional)
Required by (0)
Sources (1)
AnySomebody commented on 2017-11-24 16:19 (UTC)
petronny commented on 2017-11-01 05:11 (UTC)
@jprobichaud This package should work now.
jprobichaud commented on 2017-10-31 14:46 (UTC) (edited on 2017-10-31 14:47 (UTC) by jprobichaud)
I just tried to build with yaourt and I'm getting an error while openfst gets built (note that I already installed the aur/openfst package, could that be it?)
/bin/sh ../../libtool --tag=CXX --mode=compile g++-5 -DHAVE_CONFIG_H -I./../include -D_FORTIFY_SOURCE=2 -fno-exceptions -funsigned-char -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=c++11 -MT symbol-table-ops.lo -MD -MP -MF $depbase.Tpo -c -o symbol-table-ops.lo symbol-table-ops.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++-5 -DHAVE_CONFIG_H -I./../include -D_FORTIFY_SOURCE=2 -fno-exceptions -funsigned-char -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=c++11 -MT symbol-table-ops.lo -MD -MP -MF .deps/symbol-table-ops.Tpo -c symbol-table-ops.cc -fPIC -DPIC -o .libs/symbol-table-ops.o
symbol-table-ops.cc: In function 'bool fst::AddAuxiliarySymbols(const string&, int64, int64, fst::SymbolTable*)':
symbol-table-ops.cc:114:43: error: 'to_string' is not a member of 'std'
if (index != syms->AddSymbol(prefix + std::to_string(i), index)) {
^
imriss commented on 2017-08-08 10:58 (UTC) (edited on 2017-08-08 11:04 (UTC) by imriss)
@petronny thanks, however that is for all the compilers (not just for gcc5).
Is it possible to add something like this to the build() part of the PKGBUILD?
build () {
export CXXFLAGS="$(printf '%s' "$CXXFLAGS" | sed 's/-fno-plt//')"
petronny commented on 2017-08-08 05:24 (UTC)
@imriss this flag is in your /etc/makepkg.conf
remove it yourself
imriss commented on 2017-08-08 02:08 (UTC) (edited on 2017-08-08 02:21 (UTC) by imriss)
Any advise:
g++-5: error: unrecognized command line option '-fno-plt'
Thanks
PS. It needs to be removed from CXXFLAGS (https://bugs.archlinux.org/task/54855)
PS2. An example for cmake build: -DCMAKE_CXX_FLAGS:STRING="$(printf '%s' "$CXXFLAGS" | sed 's/-fno-plt//')"
PS3. It seems the flag is used in openfst build.
johncf commented on 2017-03-25 07:29 (UTC)
@petronny Thanks. I just made a minor change in sed regex to make it slightly simpler. I tested a clean build using this without cuda support. So I wouldn't expect any errors with it either, but to be completely sure I'd suggest doing a cuda build with it before updating it.
Pinned Comments
petronny commented on 2020-09-03 08:21 (UTC)
Prebuilt binaries of this package and its dependencies can be found in the arch4edu repository.