Commit Graph

4 Commits

Author SHA1 Message Date
Aditya Alok 33b1397f36
haskell-packaging: End support for library packages
- Now we use cabal (comparable to rust's cargo) to build binary packages.

Reason:
- Haskell's cabal packaging system is like rust's cargo. Every packages
  depends upon some specific version of other library. Hence, it is
  hard to maintain each and every version.
- Patching packages so that they use latest of dependencies breaks
  compatibility.

Benefits:
- Enables building very large packages like `pandoc`.
- Reduces disk space used.
- Lesser packages to maintain.

Signed-off-by: Aditya Alok <alok@termux.dev>
2023-02-21 10:08:12 +05:30
Henrik Grimler 9063e5919f
scripts: move libutil.so creation to termux_step_start_build
Instead of in termux_setup_toolchain_XX.  This helper lib does really
not have anything to do with our toolchain so it does not belong in
termux_setup_toolchain.

It is also good to only modify $TERMUX_PREFIX (for other things than
make install) before termux_step_create_timestamp_file has been run,
and termux_step_start_build fits that criteria.
2023-02-10 13:52:28 +01:00
Henrik Grimler 6c5c752173
scripts: toolchain: define CXXFILT var as well
Some packages require it during build (for example openjdk), so let's
make sure the correct one is found.
2023-02-10 13:52:25 +01:00
Tee KOBAYASHI 9c2e9d9ca5 scripts: Bump NDK to r25c 2023-02-02 16:38:20 +05:30