Commit Graph

49 Commits

Author SHA1 Message Date
Butta
72767ca5ae swift: get new Concurrency library working, by compiling it with the Swift-forked clang instead of the NDK clang
Also, adjust some linker config and libraries to work with this new clang config.
2021-09-30 04:24:15 +05:30
Butta
ded7d319a1 swift: fix on-device build 2021-09-27 17:16:31 +05:30
Butta
0354a09676 swift: update from 5.4.3 to 5.5 2021-09-22 19:44:42 +05:30
Butta
d83fd5b384 swift: update from 5.4.2 to 5.4.3 2021-09-10 15:20:16 +05:30
Henrik Grimler
d1af6df63f swift: set TERMUX_PKG_FORCE_CMAKE and TERMUX_CMAKE_BUILD=Ninja
To make termux_step_configure aware that termux_setup_{cmake,ninja}
need to be run.
2021-08-24 21:40:46 +02:00
Henrik Grimler
5eeadcf2e9 swift: keep hostbuilt tools in hostbuild dir instead
Symlink into build directory so that they can be found.
Also remove TERMUX_CLANG_VERSION variable, since it does not seem to
be used(?).
2021-08-24 21:40:46 +02: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
3b608f2e5f swift: bump after libllvm update 2021-08-05 15:46:15 +05:30
Butta
9a137331fe swift: update from 5.4.1 to 5.4.2 2021-06-29 13:44:04 +05:30
Butta
5ca2e4d2f0 swift: rebuild after libicu update 2021-06-18 20:35:22 +05:30
Yaksh Bariya
76714f7929 swift: Do not revise version 2021-06-18 16:41:20 +03:00
Yaksh Bariya
d63cc00830 Bump revisions for nodejs,nodejs-lts and swift to force rebuild 2021-06-18 16:41:20 +03:00
Butta
bf7b30d9a5 swift: add upstream patch that fixes building for 32-bit ARM 2021-06-09 23:15:52 +05:30
Butta
c7626ec952 Bump Swift build on CI 2021-05-26 13:55:17 +05:30
Butta
150ec978fe swift: update from 5.4 to 5.4.1 2021-05-26 01:01:42 +05:30
Butta
ceed745fa3 swift: bump dependencies, like clang, and remove arm fix that didn't work 2021-04-30 17:58:38 +05:30
Butta
b6df5e7f6c swift: update from 5.3.3 to 5.4 2021-04-27 19:21:52 +05:30
Butta
7b6d6d8041 Bump Swift to link against the clang 11.1.0 headers 2021-02-23 01:52:06 +05:30
Leonid Pliushch
28aa9413af
swift: rebuild after libicu update 2021-02-09 13:28:26 +02:00
Butta
5ce5505df2 swift: update from 5.3.2 to 5.3.3 2021-01-30 07:18:36 +05:30
Butta
131b4ff765 swift: bump revision to use clang 11 headers and remove some unused patches 2020-12-24 12:33:33 +05:30
Butta
9817b566aa swift: update from 5.3.1 to 5.3.2 2020-12-16 07:27:00 +05:30
Butta
e905587dff swift: update from 5.3 to 5.3.1 2020-11-13 12:28:40 +05:30
Butta
e0f0681a75 swift: blocked working arches by mistake 2020-11-11 12:26:38 +05:30
Butta
7547e0d9f8 swift: add x86_64 package and refactor with upstreamed and submitted patches 2020-11-11 12:23:16 +05:30
Butta
8fc1278ed0 swift: bump revision for arm fix 2020-10-02 00:48:03 +05:30
Butta
f1579e0a28 swift: fix arm issue with importing C macros, caused by a mismatch between LLVM
and the Swift compiler frontend because this define wasn't set
2020-10-01 16:15:25 +05:30
Butta
6cef10bdb9 swift: enable arm build and add upstream patch that fixes linking statically against the corelibs 2020-09-25 01:19:03 +05:30
Butta
0017d3e1df swift: update from 5.2.5 to 5.3 2020-09-18 13:24:17 +05:30
Butta
cf1d4e6536 swift: build the Swift package manager with itself, rather than using the alternate CMake config 2020-08-21 14:03:24 +05:30
Butta
b3b620530e swift: bump after libicu update 2020-08-12 21:23:38 +05:30
Butta
1b2180731d swift: update from 5.2.4 to 5.2.5 2020-08-07 03:04:24 +05:30
Butta
8c65964325 swift: bump clang headers symlink version to 10.0.1 and refactor some flags and patches 2020-08-03 09:20:35 +05:30
Henrik Grimler
7c74bf9726 Rename termux_step_post_extract_package->termux_step_post_get_source 2020-07-21 10:14:19 +02:00
Butta
e303a010a4 swift: add clang dependency 2020-07-10 11:56:25 +02:00
Butta
4e756545ff swift: bump revision to pick up new clang version 2020-07-10 06:01:16 +02:00
Butta
ccbac394fc swift: tweaks to get on-device build working again 2020-07-09 02:23:00 +03:00
buttaface
d7c5b4e621 swift: build the corelibs and package manager (#5352) 2020-06-13 15:45:59 +03:00
Butta
dc0c6405e9 swift: update from 5.2.3 to 5.2.4 2020-05-23 11:58:56 +03:00
Butta
f380827f81 swift: update from 5.2.2 to 5.2.3 2020-05-19 21:28:40 +03:00
Leonid Pliushch
6c886523ef fix formatting for some packages
%ci:no-build
2020-05-09 14:09:43 +03:00
Leonid Pliushch
033a9f033a swift: fix typo in build.sh
Revision bumping script issue...
2020-04-26 14:45:26 +03:00
Leonid Pliushch
979ff6f1de swift: rebuild 2020-04-26 14:44:45 +03:00
buttaface
fc1c4c4bd5 swift: update from 5.2.1 to 5.2.2 and fix static compilation (#5169)
* TERMUX_PKG_QUICK_REBUILD: don't delete the host build if doing a quick rebuild
* swift: update from 5.2.1 to 5.2.2 and fix static compilation
2020-04-26 12:52:25 +03:00
Leonid Pliushch
1367754399 swift: rebuild 2020-04-26 12:44:20 +03:00
Leonid Pliushch
8cb61b7b80 swift: bump revision 2020-04-26 12:32:21 +03:00
Butta
f36759a52b swift: enable package and update to 5.2.1 2020-04-10 13:03:38 +03:00
Leonid Pliushch
eab39222c5 move 'swift' to disabled packages
Currently it supports only on-device builds.
https://github.com/termux/termux-packages/pull/4895

How to build:

 cp -a ./disabled-packages/swift ./packages/
 pkg install clang binutils-gold file patch python cmake ninja python2 perl rsync libandroid-spawn libcurl libicu libsqlite libuuid libxml2 llbuild pkg-config
 TERMUX_MAKE_PROCESSES=7 ./build-package.sh swift
2020-02-17 13:47:32 +02:00
buttaface
6d7d47b267 swift: add script for on-device build (#4895)
%ci:no-build
2020-02-17 13:46:04 +02:00