Commit Graph

18 Commits

Author SHA1 Message Date
Leonid Pliushch d349eeabb6 ndk-multilib: fix arch for libc++ 2019-09-11 01:43:58 +03:00
Leonid Pliushch 2426471695 ndk-multilib: add static libc++
Note: we patched clang to look for libc++_shared instead of libc++. So to have
static link mode working properly, we need libc++_shared.a linker script which
will link with libc++_static.a and libc++abi.a.
2019-09-11 00:27:29 +03:00
Leonid Pliushch 338c4c8d18 ndk-multilib: provide some basic libraries 2019-09-11 00:11:23 +03:00
Leonid Pliushch 8701462951 add new linter script & fix packages where needed
Linter will check packages submitted for CI build. If error was found,
build will not be allowed.

To ensure that all build.sh scripts are consistent and have at least
minimal allowed quality, linter is permanently enabled for all branches
and pull requests.
2019-08-14 14:27:55 +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 6e70277fb3 no more develsplit + provide static libraries as separate package
%ci:no-build
2019-07-28 21:17:12 +03:00
its-pointless 256f9d2c3c these aren't rebuilt? 2019-06-20 03:50:11 +03:00
its-pointless c1b65a538e version names change 2019-02-24 20:39:35 +02:00
Wetitpig 5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch 6a3865aa08 fix licenses where possible
Some packages have license set to "custom" and this
should be fixed.
2019-01-21 17:17:53 +02:00
Leonid Pliushch 46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall 02c0668a9b Update to NDK r18 (#2827) 2018-09-19 23:29:39 +02:00
tomty89 7072d99dd7 Ship libgcc in ndk-sysroot and ndk-multilib (#2146) 2018-02-15 17:57:03 +01:00
Fredrik Fornwall e87d81b81d ndk-multilib: Use $ARCH, not $TERMUX_ARCH 2018-02-15 02:02:13 +01:00
Tom Yan 4689150338 ndk-multilib: use libatomic from armv7-a/ for arm 2018-02-15 01:55:39 +01:00
Fredrik Fornwall 0ee3edf5f7 Improve various package descriptions 2017-12-05 22:33:04 +01:00
Fredrik Fornwall 49906e78de ndk-multilib: Remove mips
Mips is being dropped from the Android NDK.
2017-11-18 22:10:23 +01:00
Vladimir Serbinenko 8804436bcb ndk-multilib: Supply crt* files for all platforms.
It allows compiling binaries for another android variant on termux.

E.g. to compile for arm on aarch64 do:

clang -m32 -o 1 1.c -fuse-ld=lld -L/system/lib -B$PREFIX/arm-linux-androideabi/lib

Hopefully with the time -L and -B will be eliminated
2017-11-16 23:36:10 +01:00