Skip to content

Commit

Permalink
Dependency checks for cmake (req. by emsdk) and libtool (req. by libf…
Browse files Browse the repository at this point in the history
…fi) (#2423)

Earlier errors about these should make building smoother for new contributors.
  • Loading branch information
mdboom committed Apr 28, 2022
1 parent 0c30f4b commit 5700b86
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/project/changelog.md
Expand Up @@ -26,6 +26,8 @@ substitutions:
`pyodide.runPython(code, { globals : some_dict})`;
{pr}`2391`

- {{ Bugfix }} The build will error out earlier if `cmake` or `libtool` are not installed.

### Packages

- {{ Enhancement }} Pillow now supports WEBP image format {pr}`2407`.
Expand Down
8 changes: 8 additions & 0 deletions tools/dependency-check.sh
Expand Up @@ -36,6 +36,14 @@ check_shasum() {
check_binary_present "shasum"
}

check_cmake() {
check_binary_present "cmake"
}

check_libtool() {
check_binary_present "libtool"
}

check_fortran_dependencies() {
check_binary_present "gfortran"
check_binary_present "f2c"
Expand Down

0 comments on commit 5700b86

Please sign in to comment.