Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tools] Prefer tarballs from GitHub for reliability #4336

Merged
merged 1 commit into from
Nov 16, 2020

Conversation

kkm000
Copy link
Contributor

@kkm000 kkm000 commented Nov 15, 2020

  • Software distributed on GitHub is downloaded from GitHub:

    • cub (official): rework rules to avoid excessive re-downloads, and change tarball format to .tar.gz to match other software.
    • SCTK (official)
    • sph2pipe (mirror at burrmill, stable)
  • Fix build of sph2pipe. Some tarballs of the very same version 2.5 did not accept the patch from extras/ cleanly, and make -j N for large N stopped on a prompt from patch(1) that has scrolled far up, creating an impression that make had hung. The currently used mirror does not require a patch, and cleanly builds with its own Makefile. Rework build rules to use the Makefile, and remove the patch.

  • Retire openblas rule: it no longer invokes install_openblas.sh, and directs the user to use the script instead. The rule was incorrect because it ignored OPENBLAS_VERSION manifestly set in the Makefile

  • Remove a patch for SCTK: its only purpose had been to add missing #include's and declarations, which generated warnings in C code. Instead, suppress all compilation warnings during build.

Fixes: #4311
Fixes: #4323

* Software distributed on GitHub is downloaded from GitHub:
  - cub (official): rework rules to avoid excessive re-downloads,
    and change tarball format to .tar.gz to match other software.
  - SCTK (official)
  - sph2pipe (mirror at burrmill, stable)

* Fix build of sph2pipe. Some tarballs of the same version 2.5
  did not accept the patch from extras/, and make -j N for large N
  stopped on a prompt from patch(1) that has scrolled far up,
  creating an impression that make had hung. The currently used
  mirror does not require a patch, and cleanly builds with its own
  Makefile. Rework build rules to use the Makefile, and remove
  the patch.

* Retire 'openblas' rule: it no longer invokes install_openblas.sh
  and directs the user to use the script instead. The rule was
  incorrect, because it ignored OPENBLAS_VERSION manifestly set in
  the Makefile

* Remove a patch for SCTK: its only purpose had been to add missing
  #include's and declarations, which generated warnings in C code.
  Instead, suppress all compilation warnings during build.

Fixes: kaldi-asr#4311
Fixes: kaldi-asr#4323
@danpovey
Copy link
Contributor

OK with me! You can merge if you think it's OK..

@jtrmal
Copy link
Contributor

jtrmal commented Nov 16, 2020

LGTM

@kkm000 kkm000 merged commit aea6442 into kaldi-asr:master Nov 16, 2020
@kkm000 kkm000 deleted the 2011-tools-source-from-github branch November 19, 2020 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stuck after running make -j 4 command in tools Sporadic timeouts when downloading sctk tools
3 participants