Commit Graph

31 Commits

Author SHA1 Message Date
Leonid Pliushch
f0c88e6b47 ldc: bump revision 2019-09-10 16:33:12 +03:00
Martin Kinkelin
6d50ac0afd LDC: Upgrade from v1.13 to v1.17 (#4246)
* LDC: Upgrade from v1.13 to v1.17

* LDC: Fix missing symbols in druntime's core.sys.posix.unistd

* LDC: Fix repeated llvm-config help output

* LDC: Revise build script

1) Use an 'installed' (ninja install) LLVM for LDC.
2) Cross-compile LLVM before invoking CMake for LDC, so that the LLVM
   dir is actually populated (previously: just fake bin/llvm-config).
3) Include dlang tools ddemangle and dustmite in the final package too,
   just like official LDC packages. Cmdline flags have been synced with
   upstream.

* Add hello-world smoke test

* LDC: Upgrade LLVM from v7.0.1 to v8.0.1
2019-09-03 20:06:03 +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
c81d4c8698 add stubs to prevent on-device building packages with dangerous operations in build.sh
%ci:no-build
2019-08-08 16:58:34 +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
241bcf7fb5 ldc: bump revision 2019-06-20 21:30:12 +03:00
Leonid Pliushch
11200afa32 add zlib to dependencies where needed 2019-04-14 16:00:23 +03:00
Leonid Pliushch
69397baf18 ldc: fix build error 2019-03-29 14:06:16 +02:00
Joakim
3158273f08 ldc: step down as maintainer 2019-02-24 20:35:10 +02:00
Wetitpig
7ddcce5701 No backticks 2019-02-15 18:01:09 +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
Joakim
3ccad90ac7 ldc: Update from 1.12 to 1.13 and add x64 build. 2018-12-17 22:28:19 +01:00
Joakim
60767d4367 ldc: Add x86 build 2018-10-25 22:58:45 +02:00
Fredrik Fornwall
e5805d0d19 Use python3 when building llvm 2018-10-14 23:12:36 +02:00
Joakim
1de0a22b9c ldc: Update from 1.11 to 1.12 and tweak llvm-config script. 2018-10-14 18:54:35 +02:00
Joakim
542fbbd197 ldc: Update from 1.10 to 1.11, add AArch64 build, update llvm-config
script, and use Ninja to build.
2018-08-21 00:49:42 +02:00
Joakim
b686f4aeed ldc: Update from 1.9 to 1.10 2018-06-20 23:35:23 +02:00
Henrik Grimler
71594b6ea5 Allow TERMUX_PKG_SRCURL and TERMUX_PKG_SHA256 to be arrays (#2506)
* build-package.sh: allow for arrays in TERMUX_PKG_{SRCURL,SHA256}

Packages that require several source archives can then set these parameters to
arrays instead of downloading them "manually" in termux_step_post_extract.

Downloaded files are extracted into subfolders in TERMUX_PKG_SRCDIR.

Tested for backward compatibility in a couple of packages and the combinations
tar + tar, zip + tar, tar + zip, zip + zip.

* perl: download perl-cross through TERMUX_PKG_SRCURL

* perl: remove $PREFIX/{lib/libperl.so,include/perl} before build

Otherwise building perl twice doesn't give the same results, symlinks are
messed up.

Also remove old remnant from when there was a Kid.pm.patch.

* bash: fix tiny typo

* ecj: remove hardcoded SHA256 and pkg version

* elfutils: download argp-standalone through TERMUX_PKG_SRCURL

* ldc: download all src archives through TERMUX_PKG_SRCURL

* libgc: download libatomic_ops through TERMUX_PKG_SRCURL

* libllvm: download all src archives through TERMUX_PKG_SRCURL

* linux-man-pages: download src archives through TERMUX_PKG_SRCURL

* ncurses: download all src archives through TERMUX_PKG_SRCURL

* pngquant: download lib sources through TERMUX_PKG_SRCURL

Use .zip for lib since the downloaded archives are otherwise both named
$TERMUX_PKG_VERSION.tar.gz and replace each other. This causes caching to
not work.
2018-06-13 02:15:26 +02:00
Joakim
62d67962d6 ldc: Update from 1.8 to 1.9 2018-05-01 22:40:33 +02:00
Joakim
2e1127e646 ldc: Update from 1.7 to 1.8 2018-03-06 16:43:50 +01:00
Joakim
1a8f5cef66 ldc: Update from 1.6 to 1.7 2018-01-06 20:16:14 +01:00
Henrik Grimler
c783d149e1 ldc: update llvm tar SHA256 & name 2017-12-22 00:09:53 +01:00
joakim-noah
bdc719bf14 ldc: update to 1.6 release (#1893) 2017-12-03 10:04:16 +01:00
joakim-noah
6de5db5e29 ldc: update to 1.5 release (#1731) 2017-10-31 19:10:15 +01:00
Fredrik Fornwall
57ddd0c3b4 ldc: Build with -DPYTHON_EXECUTABLE=which python
This avoids a cross-compiled python binary from being picked up.
2017-09-13 15:44:02 +02:00
Joakim
7d6f61b303 ldc: update to 1.4 release 2017-09-13 11:56:33 +02:00
joakim-noah
af2a5cbed7 ldc: add dub and rdmd, plus bump host dmd to latest version 2.076.0 (#1377) 2017-09-06 21:16:04 +02:00
Joakim
4b8d96c72f ldc: Enable the package, switch to lightly tweaked llvm from ldc repo, add more targets, update wiki link, and upgrade host D compiler to 2.075.1 2017-08-29 21:15:08 +02:00
Fredrik Fornwall
baee2e1708 packages/ldc -> disabled-packages/ldc 2017-07-01 02:43:26 +02:00
joakim-noah
8f758f1ae2 ldc: add package (#1078) 2017-07-01 02:43:00 +02:00