Commit Graph

107 Commits

Author SHA1 Message Date
Henrik Grimler
a2187e62df Bump all packages depending on libc++
As part of ndk-r23 upgrade.
2021-10-22 23:05:45 +02:00
Ivan Max
7882de88b9
pacman packages format: add clang to base-devel (#7615)
%ci:no-build
2021-09-29 11:55:21 +03:00
Ivan Max
04469d9137
create packages group base-devel for pacman format (#7612)
%ci:no-build
2021-09-28 18:21:42 +03:00
Henrik Grimler
ecd214881a build-package: add new arg -c for "continue build"
As replacement for TERMUX_PKG_QUICK_REBUILD. Running
./build-package.sh -c <package> starts a build for <package>, but does
not extract and patch the source from scratch. Instead it sets up the
build variables and starts from termux_step_make.

When working on a big package that can take hours to build it is
convenient to be able to build until there is an error, then apply
some new patch (manually) to the source, and then continue from where
the build failed.
2021-08-24 21:40:46 +02:00
Butta
bc115c2a31 libllvm: update from 12.0.0 to 12.0.1 2021-08-05 11:50:28 +05:30
Yaksh Bariya
b6d13f2b55 libllvm: bump revision 2021-08-01 18:46:01 +03:00
Henrik Grimler
5cd3d276ec libllvm: depend on libxml2
libxml2 is downloaded/compiled during the build thanks to lldb
depending on it.  However, libLLVM.so also links to it, and should
therefore also depend on the library.
2021-05-30 16:34:53 +02:00
Butta
c0a457e6b9 libllvm: update from 11.1.0 to 12.0.0 2021-04-30 13:19:20 +05:30
Lucy Phipps
c9ba600541
lldb had a double dependency on libllvm 2021-02-27 00:28:06 +00:00
Lucy Phipps
07320e6ed6
libllvm: update to 11.1.0 (#6438) 2021-02-22 12:19:19 +00:00
Henrik Grimler
39dec01e59 libllvm: fix file conflicts
Unpacking llvm (11.0.0) over (10.0.1-4) ...
dpkg: error processing archive /data/data/com.termux/files/usr/tmp/apt-dpkg-install-3GHYjz/0-llvm_11.0.0_aarch64.deb (--unpack):
 trying to overwrite '/data/data/com.termux/files/usr/bin/dsymutil', which is also in package libllvm 10.0.1-4
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)

and

Preparing to unpack .../5-clang_11.0.0_aarch64.deb ...
Unpacking clang (11.0.0) over (10.0.1-4) ...
dpkg: error processing archive /data/data/com.termux/files/usr/tmp/apt-dpkg-install-3GHYjz/5-clang_11.0.0_aarch64.deb (--unpack):
 trying to overwrite '/data/data/com.termux/files/usr/bin/diagtool', which is also in package libllvm 10.0.1-4
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
2020-12-24 22:46:43 +01:00
Butta
206246fc9d libllvm: update from 10.0.1 to 11.0.0 and merge lldb 2020-12-24 12:09:16 +05:30
Leonid Pliushch
37375312b9
explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00
Henrik Grimler
fcaf3b64db libllvm: bump to try build again
Looks like previous attempt pulled in more packages than just libllvm (probably because the libllvm branch was not up to date with master)
2020-09-27 08:28:31 +02:00
Henrik Grimler
d048500dad libllvm: fixes following @buttaface's review 2020-09-24 16:36:37 +02:00
Henrik Grimler
10f4528e37 libllvm: fix compiler-rt build error for 32bit arches
Really not sure if this is safe or has side effects, needs to be
tested.
2020-09-23 21:55:12 +02:00
Henrik Grimler
a6b8a957d7 libllvm: add libpolly subpackage
Fixes https://github.com/termux/termux-packages/issues/5829.
2020-09-23 16:51:50 +02:00
Henrik Grimler
675f40c259 libllvm: add libcompiler-rt subpackage
Fixes https://github.com/termux/termux-packages/issues/2403.
2020-09-23 16:51:50 +02:00
Lucy Phipps
c1ee68c6ad libllvm: don't rm clang-offload-wrapper 2020-08-05 09:06:11 +05:30
Lucy Phipps
df935cfb3e libllvm: don't rm clang-import-test
https://github.com/termux/termux-packages/issues/5382#issuecomment-641155664
2020-08-04 01:14:51 +03:00
Butta
ccb6b269ea libllvm: update from 10.0.0 to 10.0.1 2020-07-25 18:57:46 +05:30
Henrik Grimler
7c74bf9726 Rename termux_step_post_extract_package->termux_step_post_get_source 2020-07-21 10:14:19 +02:00
Henrik Grimler
9342d2584d clang: replace clangd from @its-pointless repo 2020-07-16 10:41:45 +02:00
Henrik Grimler
1a4aa0791c clang: break libllvm 9.0.1
At least one file has been moved between packages, see
https://github.com/termux/termux-packages/issues/5506.
2020-07-10 10:37:17 +02:00
its-pointless
d1dc931a1a fix libllvm because of changed docker image. 2020-07-09 13:51:35 +02:00
Butta
fe6b72da02 libllvm: update from 9.0.1 to 10.0.0 2020-07-09 13:51:35 +02:00
Leonid Pliushch
3fa9c23c5d libllvm: bump revision 2020-07-09 02:19:35 +03:00
ifurther
4adffed10e libllvm: build clang-tidy (#5495) 2020-07-09 02:18:41 +03:00
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