Commit Graph

107 Commits

Author SHA1 Message Date
Butta
0fe298fd86 libllvm: update from 13.0.1 to 14.0.0 2022-04-13 12:10:32 +05:30
Wetitpig
757db2c47f More targets (#8194) 2022-04-13 12:10:32 +05:30
Wetitpig
0410a2a1bd LLVM Tools (#7952) 2022-04-13 12:10:32 +05:30
Wetitpig
cdf1a20f5d Concurrent documentation build 2022-04-13 12:10:32 +05:30
Wetitpig
7240bcf422 Add diagtool.1.gz to clang docs 2022-04-13 12:10:32 +05:30
Tee KOBAYASHI
72d3b537a9 libllvm: Explicitly disable python support for lldb
%ci:no-build
2022-03-02 10:58:56 +09:00
Butta
10fafcb645 libllvm: update from 13.0.0 to 13.0.1 2022-02-07 21:11:39 +05:30
Yaksh Bariya
3ce1eb0663
do not use debianutils which in our scripts
The utility is deprecated and might just unnecessarily spam the CI logs when we update to new docker image

%ci:no-build
2022-01-30 10:04:20 +05:30
Henrik Grimler
845c2c79a9
libllvm: should be no need to set up llvm-config in build.sh
It is done in termux_step_override_config_scripts instead.

%ci:no-build
2021-12-05 13:18:35 +01:00
Butta
6f8c30816e libllvm: fix system library path for i686 added by clang 2021-11-07 09:53:31 +05:30
Butta
7a89f6c3d7 libllvm: add llvm as a dependency of the clang compiler, for utilities like llvm-ar 2021-11-05 15:31:37 +05:30
Henrik Grimler
f32b2c0e7e libllvm: replace arm-linux-androideabi-clang symlink with wrapper
This is the same wrapper as what the ndk uses for selecting api level.

This fixes https://github.com/termux/termux-packages/issues/7232 and
https://github.com/termux/termux-packages/issues/7839.
2021-10-26 11:23:16 +02:00
Butta
f063fe399f libllvm: update from 12.0.1 to 13.0.0 2021-10-23 23:27:34 +05:30
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
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
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
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
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