Commit Graph

7 Commits

Author SHA1 Message Date
Henrik Grimler 1056bd014c
polyml: bump to rebuild with ndk-r25 2022-08-14 10:46:40 +02:00
Henrik Grimler 4affd5b7b9
Revert ndk-r25 bump of packages with build issues
These packages were bumped to be rebuilt with ndk-r25, but builds fail
for different reasons. Decrease TERMUX_PKG_REVISION again so package
version correspond to the version that can be found in the repository.

Reverts part of commit b281bc2145 ("rebuild(deps:libc++): bump
termux-main packages that depend on libc++") and commit 329d3b2266
("rebuild(deps:libc++): bump termux-x11 packages that depend on
libc++").

%ci:no-build
2022-08-14 10:03:42 +02:00
Henrik Grimler b281bc2145
rebuild(deps:libc++): bump termux-main packages that depend on libc++
All except libllvm, rust, rustc-nightly, openfoam and libdispatch,
those packages will be handled separately.
2022-08-13 12:21:20 +02:00
agnostic-apollo f743005751 fix(build-package.sh): Localize and do not use variables defined in `termux_step_host_build` in other functions
The `termux_step_host_build` runs only the first time package is built for its specific version, based on `TERMUX_HOSTBUILD_MARKER` in `termux_step_handle_hostbuild`. If `build-package.sh` is run twice, then second time, variables defined in `termux_step_host_build` won't be set in later functions since its not called, like `_PREFIX_FOR_BUILD` in `aapt/build.sh` would be unset inside `termux_step_pre_configure`, resulting in unbound variable error.

Even `termux_step_pre_configure` may not always run, depending on `$TERMUX_CONTINUE_BUILD`, so build scripts should not share variables between functions and redefine them again where necessary.

Also `_PREFIX_FOR_BUILD` should use a standard path `$TERMUX_PKG_HOSTBUILD_DIR/prefix` and not others like `$TERMUX_PKG_HOSTBUILD_DIR/_prefix`. Some build scripts use `$TERMUX_PKG_HOSTBUILD_DIR/src` for other stuff, so best use `prefix` sub directory.
2022-07-28 15:27:20 +05:00
Tee KOBAYASHI a74c0915c4 polyml: Link against compiler-rt builtins 2022-04-09 21:08:10 +09:00
Henrik Grimler 41462facba
polyml: depend on libandroid-posix-semaphore 2022-04-09 10:53:50 +02:00
Tee KOBAYASHI b1dd5c1e8b new package: polyml 2022-01-05 17:15:03 +02:00