Commit Graph

30 Commits

Author SHA1 Message Date
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
Fredrik Fornwall b39b311462 Cleanup scripts/buildorder.py 2017-11-19 14:29:49 +01:00
Fredrik Fornwall 41cc3653aa Enable dependency checks for out-of-tree packages
When building an out-of-tree package, as in
	./build-package.sh path/to/my-package.sh
dependency checks now works.
2017-11-04 01:18:32 +01:00
Vladimir Oltean f579fc2f75 buildorder.py: handle the case when more than one dependency type is set (#1555) 2017-09-23 02:55:06 +02:00
Fredrik Fornwall 6980dd1851 Add basic TERMUX_PKG_BUILD_DEPENDS support 2017-08-08 13:28:52 +02:00
Fredrik Fornwall 4e8d7d1e42 buildorder.py: Open files with encoding=utf-8
This makes us not depend on the current environment. Fixes #665.
2017-01-09 05:26:31 -05:00
Fredrik Fornwall e65ab762d3 buildorder.py: Better error message 2017-01-08 07:37:43 -05:00
Fredrik Fornwall 74b5c53c18 valac: Depend on clang, glib-dev, pkg-config
As mentioned in #644.
2017-01-03 17:46:59 -05:00
Fredrik Fornwall 539d9e6ab2 buildorder.py: Handle also ' in TERMUX_PKG_DEPENDS 2017-01-03 04:26:10 -05:00
Fredrik Fornwall 1858fd1b1d buildorder.py: Always depend on libandroid-support 2016-09-16 05:48:02 -04:00
Fredrik Fornwall af8dfb4559 buildorder.py: Show package if lacking build.sh 2016-06-02 11:13:53 -04:00
Fredrik Fornwall 00875c034b buildorder.py: Handle version qualifiers 2016-04-29 14:14:28 +02:00
Fredrik Fornwall 658bba67c0 Introduce a scripts/ folder 2016-01-14 22:45:50 -05:00