aboutsummaryrefslogtreecommitdiff
path: root/lang/maturin/Makefile
Commit message (Collapse)AuthorAge
* maturin: Update to 1.3.0, build as Python (host-only) packageJeffery To2023-10-14
| | | | | | | | | | | | | | | | | Python packages that use maturin to build do not call the maturin program directly; they use the maturin build backend[1]. This build backend is a Python library provided with maturin that interfaces with the maturin program. This changes the maturin package to use the Python build process so that the build backend is installed correctly. This also renames the source package to python-maturin and moves it into the lang/python directory. [1]: https://www.maturin.rs/#source-distribution Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* rust: Use make's jobserver when building packagesJeffery To2023-10-11
| | | | | | | | | | | | | | | | | | This allows cargo to use make's jobserver when building packages, by marking the cargo command as recursive (with the + prefix[1]) and setting MAKEFLAGS. This also: * Give cargo/x.py the build directory instead of having to change the current directory (and opening subshells) * Set PKG_BUILD_PARALLEL/HOST_BUILD_PARALLEL for Rust packages to enable the use of make's jobserver [1]: https://www.gnu.org/software/make/manual/html_node/POSIX-Jobserver.html Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* maturin: Update to 0.14.15Tianling Shen2023-03-24
| | | | | | | Fixed a build error: > unresolved import `time::macros` Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* maturin: adapt new rust build standardTianling Shen2023-03-24
While at it, move maturin out of rust directory. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>