37 Commits

Author SHA1 Message Date
Tee KOBAYASHI
b8607907aa scripts: Introduce TERMUX_SUBPKG_EXCLUDED_ARCHES
for subpackage not to be created for specific arches.
2023-07-05 12:06:38 +09:00
Uchiha Kakashi
6089f25dad buildorder.py: strip on parse_build_file_excluded_arches 2023-05-01 04:16:08 +08:00
Tee KOBAYASHI
40c7b533db buildorder.py: Care for excluded arches
Fixes https://github.com/termux/termux-packages/issues/16427
2023-04-28 10:19:39 +09:00
Uchiha Kakashi
b098860f50 buildorder.py: assume aarch64 in TERMUX_ARCH 2023-04-07 09:04:09 +08:00
Butta
e93c1bb648 bump(swift): 5.7.3 to 5.8 and spin off runtime and sdk subpackages
Make it so that SDKs for other architectures can be easily installed and used
for cross-compilation.
2023-04-06 19:57:47 +05:30
Tee KOBAYASHI
a09a471d4a scripts: Add TERMUX_PKG_ANTI_BUILD_DEPENDS variable
to specify dependencies not needed when building a package.
2023-02-14 18:01:14 +00:00
Henrik Grimler
2c397ea894 scripts(buildorder.py): make it possible to ./build-all.sh again
Seems this broke when termux-root-packages and x11-packages was merged
with termux-packages.
2022-06-18 21:50:23 +02:00
Yaksh Bariya
52c383b4d1 chore: switch to monorepo 2022-04-18 13:57:13 +05:30
Leonid Pliushch
b7ace4093d build-package.sh: allow static packages to be in dependencies 2019-08-12 22:50:41 +03:00
Leonid Pliushch
c352216c63 packages: standardize values of several control variables for build.sh
Variables

 TERMUX_PKG_PLATFORM_INDEPENDENT
 TERMUX_DEBUG
 TERMUX_PKG_HAS_DEBUG
 TERMUX_PKG_ESSENTIAL
 TERMUX_SUBPKG_ESSENTIAL
 TERMUX_PKG_NO_STATICSPLIT
 TERMUX_PKG_BUILD_IN_SRC
 TERMUX_PKG_FORCE_CMAKE
 TERMUX_PKG_HOSTBUILD

should not accept arbitrary values for marking them "enabled". Instead
they should accept boolean values which makes them easier to handle and
also makes their meaning clear.

build-package.sh should make decision based on variable's value but not on
whether it is set or empty.

%ci:no-build
2019-08-12 18:49:13 +03:00
Leonid Pliushch
e303212ae5 enable on-device builds
Partial compatibility for on-device builds.

There is no guarantee that it will be possible to build all available
packages and built packages will have same reliability that cross-compiled
but should solve "self-hosting" problems as much as possible.
2019-08-08 16:58:34 +03:00
Leonid Pliushch
61dbc35394 scripts/buildorder.py: do not handle static library subpackages
* They are not used during normal build procedures.

* During "fast-builds" (option '-i') they just consume our bandwidth.
2019-07-29 16:09:26 +03:00
Leonid Pliushch
6e70277fb3 no more develsplit + provide static libraries as separate package
%ci:no-build
2019-07-28 21:17:12 +03:00
Tom Yan
52198eee5d buildorder.py: remove libandroid-support from always_deps
as libiconv is no longer a symlink of it
2019-05-07 22:16:36 +03:00
Tom Yan
4098976a2e buildorder.py: make subpackage pull its parent 2019-04-06 02:57:54 +03:00
Tom Yan
30f12fec65 buildorder.py: make fast build mode download all subpackages 2019-03-26 17:12:28 +02:00
Tom Yan
bc217587fb build-package: handle -dev package download from buildorder.py 2019-03-23 17:31:40 +02:00
Tom Yan
ca475bf2be buildorder.py: only omit target's subpackage for fast build 2019-03-20 19:23:51 +02:00
Tom Yan
befdca1749 buildorder.py: parse TERMUX_PKG_DEVPACKAGE_DEPENDS 2019-03-20 19:23:51 +02:00
Tom Yan
596c8c85da Simplify libc++ setup
As clang++ in the NDK defaults to libc++ since r17, we no longer
need to fake a libstdc++.so at build time (and omit it from the
libc++ package we ship).
2019-03-11 16:33:12 +08:00
Henrik Grimler
530eddf30a build-package: add new env. var. TERMUX_PACKAGES_DIRECTORIES
Can be set to the path to packages/ directories in other repos (like
unstable-package/packages/, termux-root-packages/packages/,
..). buildorder.py then searches these directories for packages and
dependencies
2019-03-03 01:40:22 +02:00
Henrik Grimler
10fdf172d5 build-package: download dependencies recursively when fast-building
Use scripts/buildorder.py with a new -i flag to get all dependencies
(including subpackages). The script now also spits out both package
name and package dir, to make it easier to build packages from another
repo.
2019-03-03 01:40:22 +02:00
Henrik Grimler
db54f7de89 buildorder.py: shorten code a bit 2019-01-13 18:55:40 +01:00
Fredrik Fornwall
11c80acb01 Handle dependencies like 'a | b' in buildorder.py 2018-06-16 22:50:06 +02:00
Fredrik Fornwall
2523abf65c Modify python formatting 2017-12-05 23:30:44 +01:00