Commit Graph

79 Commits

Author SHA1 Message Date
Leonid Pliushch
2f9d04e2d5 libllvm: do not delete utilities like clang-import-test
https://github.com/termux/termux-packages/issues/5382#issuecomment-641155664
2020-06-09 12:31:00 +03:00
Andrzej Raczkowski
b466b6e9d4 libllvm: fix build.sh (#5376) 2020-06-07 22:31:19 +03:00
Leonid Pliushch
c66d79b207 libllvm: rebuild package
Build test for https://github.com/termux/termux-packages/issues/5363.
2020-06-03 23:34:47 +03:00
Leonid Pliushch
21e39c92d4 libllvm: bump revision 2020-04-13 16:55:05 +03:00
Butta
006872bdbd libllvm: fix multilib regression that added host linker path 2020-04-13 16:54:15 +03:00
Butta
d3f8fea119 libllvm: set default sysroot to TERMUX_PREFIX
The previous approach appended TERMUX_PREFIX to the empty default sysroot, which would
render those paths useless if the --sysroot command-line flag was ever set. With this
approach, clang reuses much more of the existing sysroot logic and makes it more
likely that a passed-in sysroot will work.

Also, remove the rpath for alternate architectures, as it wasn't working.
2020-03-29 23:06:18 +03:00
buttaface
3daf83feb3 libllvm: fix Android versioning regression that broke setting PIE on ARM (#5078) 2020-03-26 13:53:28 +01:00
Leonid Pliushch
496a4a290d libllvm: bump revision 2020-03-25 01:21:31 +02:00
Butta
a1e1440c9d libllvm: check usr/include instead of usr/local/include for headers 2020-03-25 01:19:42 +02:00
Leonid Pliushch
b4ba5fad47 libllvm: rebuild
See https://github.com/termux/termux-packages/issues/4987.
2020-03-01 01:56:21 +02:00
Butta
3af25bc2a9 Introduce TERMUX_PKG_QUICK_REBUILD
This new variable is extremely useful when iterating on creating a large package,
as otherwise you have to wipe the source and rebuild each time you make a mistake
with the patches or build.sh script.

Simply set TERMUX_PKG_QUICK_REBUILD=true in build.sh if a build fails and then the
TERMUX_PKG_SRCDIR and TERMUX_PKG_BUILDDIR will not be touched when you rebuild,
including that the patches will not be applied again. When you're done iterating,
diff for any new patches, save them, and remove this variable before rebuilding
from scratch, hopefully for the last time. ;)

An example is shown for the giant libllvm package, where other modifications are
also excluded if this variable is set.
2020-02-15 13:38:30 +05:30
its-pointless
0379a2e8fc llvm-9.0.1 2019-12-23 09:26:20 +11:00
Leonid Pliushch
b436e0de81 libllvm: rebuild package 2019-12-04 14:24:21 +02:00
Henrik Grimler
e3db425e59 libllvm: add experimental target avr
Works on aarch64, at least
2019-11-17 14:44:46 +01:00
its-pointless
8e72ae8a1d update to llvm9 and fix tools in rust 2019-10-22 23:47:58 +02:00
Leonid Pliushch
5c4cd6b448 Revert "libllvm: use armv7a-linux-androideabi as default target triple"
Reverting because it introduces libunwind-related issues.

This reverts commit 24f1a9a07c33abfee162f8e4fe4002d320abc908.
2019-09-23 10:42:36 +03:00
Leonid Pliushch
48af93849f libllvm: use armv7a-linux-androideabi as default target triple
Because it defaults to armv4t on ARM otherwise.
2019-09-23 00:32:57 +03:00
Butta
f82e5d7244 libllvm: don't add arch-specific rpath when natively compiling 2019-09-06 19:19:20 +03:00
Leonid Pliushch
e48948922b libllvm: bump revision 2019-09-06 00:49:54 +03:00
its-pointless
35715dae0f don't search multilib dir for native 2019-09-06 00:49:11 +03:00
its-pointless
5a467757d4 get search path order correct 2019-09-06 00:49:11 +03:00
its-pointless
d1fcb29c6e fix ndk-multilib 2019-09-06 00:49:11 +03:00
Fredrik Fornwall
73c9a3b2b6 libllvm: Update from 8.0.0 to 8.0.1 2019-08-21 10:03:58 +02:00
Leonid Pliushch
52ceb56d3f build-package.sh: more fixes 2019-08-13 02:03:52 +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
Leonid Pliushch
a9b08c2cc8 libffi: disable versioning + rebuild dependent packages 2019-06-28 20:34:04 +03:00
Leonid Pliushch
3fa55cde24 libllvm & lldb: bump revision
%ci:reset-backlog
2019-06-19 21:46:11 +03:00
Henrik Grimler
940ed9d180 libllvm: add note about debug build status 2019-06-01 11:17:01 +02:00
Tom Yan
1e1167bc1f libllvm: make clang++ order -lm after -lgcc
Without this patch, libm will be linked before libgcc (which is a linker script that links to both libunwind and libgcc_real); as libm.so in our system exports unwind symbols, it prevents the built objects from being linked to the unwinders properly.

Since libm is a part of bionic, we can't ship it like we do for libc++_shared or zlib. Therefore, patching clang++ is probably the only way.
2019-05-16 20:18:48 +03:00
Leonid Pliushch
383dd9a59c libllvm: bump revision after 0d1170cc 2019-05-06 20:17:59 +03:00
Leonid Pliushch
11200afa32 add zlib to dependencies where needed 2019-04-14 16:00:23 +03:00
Leonid Pliushch
f74c1c33e0 libllvm: bump revision after fixes 2019-04-06 22:53:25 +03:00
its-pointless
84abb50258 libomp x86_64 fix 2019-04-06 02:59:28 +03:00
its-pointless
99341f1f69 clang-tblgen and llvm-tblgen 2019-03-29 01:28:49 +02:00
its-pointless
59625ccecd llvm-8 and rust with back ports for llvm-8 2019-03-29 01:28:11 +02:00
its-pointless
a4a2aa589a add rpath for clang as default 2019-03-16 02:06:26 +02:00
its-pointless
857cc35f35 make sysroot works properly 2019-02-27 01:49:43 +02:00
Fredrik Fornwall
6f8d64a790 Merge branch 'master' into readline 2019-02-24 20:41:00 +02:00
its-pointless
3a7767de4d fix lib search paths for x86_64 and compatiblity 2019-02-24 20:39:35 +02:00
its-pointless
50decd816b r19b update 2019-02-24 20:39:35 +02:00
Leonid Pliushch
2c16db52fc bump C++ packages for NDK-19 2019-02-23 13:57:09 +02:00
Wetitpig
7ddcce5701 No backticks 2019-02-15 18:01:09 +02:00
Wetitpig
13cec16263 Spaces to tabs 2019-02-09 21:06:31 +02:00
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch
46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall
29fbd63e62 llvm: Update from 7.0.0 to 7.0.1 2018-12-28 00:58:45 +01:00
Fredrik Fornwall
e5805d0d19 Use python3 when building llvm 2018-10-14 23:12:36 +02:00
Fredrik Fornwall
64fb69a9c8 llvm: Update from 6.0.1 to 7.0.0 2018-09-20 02:22:52 +02:00
Fredrik Fornwall
f1bad037d2 libllvm: Support building with ninja 2018-08-22 07:56:49 +02:00