diff options
| author | Jan Tojnar <jtojnar@gmail.com> | 2023-06-06 14:51:09 +0200 |
|---|---|---|
| committer | Jan Tojnar <jtojnar@gmail.com> | 2023-06-06 22:02:36 +0200 |
| commit | 34711ba5cfbe6eb28bef5f53aca02d622880ba59 (patch) | |
| tree | 08028e8de710a23d47962ec12f9bf43f61c94883 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 4f53efe34b3a8877ac923b9350c874e3dcd5dc0a (diff) | |
kaldi: Fix build
It looks like after a bump, CMake started passing `--git-dir=.git` as the first argument of `git rev-parse`.
But we do not really need to spoof `git` program now that Kaldi uses CMake’s `FetchContent` module.
We can just pass the path using configure flag directly:
https://cmake.org/cmake/help/latest/module/FetchContent.html#variable:FETCHCONTENT_SOURCE_DIR_%3CuppercaseName%3E
Git was also inadvertently used for generating `KALDI_PATCH_NUMBER`
in `VersionHelper`, to be potentially appended to `KALDI_VERSION`
but it was not actually being done by default.
We can set the variable directly to skip `VersionHelper`.
Also remove redundant `enableParallelBuild` since CMake enables it.
And drop separate `dev` output since Kaldi currently hardcodes
the `include/` directory so consumers would not be able to find them.
Splitting it out only removes 7 out of 303 MB.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
