Commit Graph

46 Commits

Author SHA1 Message Date
Yaksh Bariya b8037128f3
`termux_go_get`: Do not override `$GOPATH` 2021-07-05 12:22:15 +05:30
Yaksh Bariya 92f1afaa54
Fix go cache reliability in some edge cases 2021-07-05 09:33:28 +05:30
Yaksh Bariya 40aef7e5ea
Move golang cache logic out of build.sh 2021-07-05 09:22:16 +05:30
Suhan G Paradkar 0c103765f4
golang: update to 1.16.5 (#7020) 2021-06-16 16:49:39 +03:00
Richard Boß 60eff6a0ef
golang: update to 1.16.3 (#6636) 2021-04-16 14:14:45 +03:00
Nuruddin Ashr 47151cb409
golang: update to 1.16 (#6417) 2021-02-17 15:01:29 +02:00
Leonid Pliushch 2d5fdf9b32
golang: update to 1.15.8 2021-02-05 20:48:13 +00:00
Leonid Pliushch 40f14b24f8
golang: update to 1.15.6 2020-12-07 20:55:56 +00:00
Leonid Pliushch 1cff00f7cb golang: update to 1.15.5 2020-11-22 13:01:28 +00:00
Leonid Pliushch be0b9e9331 build-package.sh: support offline preinstalled build tools
First step of making possibility to have offline snapshots of
'termux-packages' repo. Useful for making full repo snapshots.

That will allow to preinstall tools like Cmake, Go, Meson to
directory stored within packages tree and will not be wiped when
using ./clean.sh.

Next steps will also implement offlining of the package sources
and NDK standalone toolchain.
2020-10-22 22:46:02 +03:00
Henrik Grimler e6d61103b0 golang: update to 1.15.3 2020-10-17 21:19:10 +02:00
Krishna Kanhaiya c3eb5a8313 golang: update to 1.15.2 (#5794) 2020-09-11 03:50:33 +03:00
Nuruddin Ashr 41a5d5efd6 Upgrade to go version 1.15.1 2020-09-02 12:32:12 +05:30
Butta 43c6c153f9 golang: update from 1.14.7 to 1.15 2020-08-12 10:39:23 +05:30
Nuruddin Ashr 23c155d70a Upgrade to go version 1.14.7 2020-08-08 14:21:10 +07:00
Henrik Grimler 503eaf1375 termux_setup_golang: update url to archive with prebuilt binaries 2020-07-20 20:40:09 +02:00
Nuruddin Ashr 3ba79550b1 Upgrade to golang version 1.14.6 2020-07-17 13:07:25 +03:00
Nuruddin Ashr ebc92a9485 Upgrade to go version 1.14.5 2020-07-15 10:08:58 +03:00
Nuruddin Ashr b1dda1c1c2 Upgrade to Golang version 1.14.4 2020-06-03 15:08:11 +03:00
Nuruddin Ashr 077bf9ccc8 Upgrade golang to version 1.14.3 2020-05-15 13:26:58 +03:00
Nuruddin Ashr 3738891830 Upgrade golang version to 1.14.2 (#5143) 2020-04-11 12:28:48 +03:00
Leonid Pliushch 6d996feac4 golang: update to 1.14.1 2020-03-20 13:17:48 +02:00
Leonid Pliushch 02a2c53d11 golang: update to 1.14 2020-03-08 19:35:46 +02:00
Fredrik Fornwall 1cef84f37a golang: Update from 1.13.7 to 1.13.8 2020-02-15 22:40:57 +01:00
Leonid Pliushch 4590b61015 golang: update to 1.13.7 2020-01-30 21:06:21 +02:00
Fredrik Fornwall 683301b678 golang: Update from 1.13.5 to 1.13.6 2020-01-09 23:48:39 +01:00
Leonid Pliushch 729a737a49 build-package.sh: move golang variable configuration to termux_step_setup_toolchain.sh
Allow to use termux_setup_golang.sh for host builds.
2020-01-03 23:39:54 +02:00
Fredrik Fornwall 0533835564 golang: Update from 1.13.4 to 1.13.5 2019-12-05 23:29:18 +01:00
Fredrik Fornwall b40b0bc2aa golang: Update from 1.13.3 to 1.13.4 2019-11-21 00:01:01 +01:00
Leonid Pliushch 4cbeb565e2 golang: update to 1.13.3 2019-10-18 15:11:11 +03:00
Fredrik Fornwall 0e0d92a66c golang: Update from 1.13 to 1.13.1 2019-09-29 03:04:25 +02:00
Fredrik Fornwall 0a3d65e292 golang: Update from 1.12.8 to 1.13 2019-09-03 21:41:24 +02:00
Leonid Pliushch 43afcb4b55 golang: allow on-device builds
But it will fail currently anyway to non-pie executables generated in
bootstrap process.
2019-08-19 02:38:29 +03:00
Fredrik Fornwall c3e0bf0149 caddy: Update from 1.0.1 to 1.0.3 2019-08-16 00:04:43 +02:00
Leonid Pliushch d08dc0fa13 build-package.sh: use text-based comparsion in conditionals instead of exit-code based 2019-08-13 02:03:47 +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 e303212ae5 enable on-device builds
Partial compatibility for on-device builds.

There is no guarantee that it will be possible to build all available
packages and built packages will have same reliability that cross-compiled
but should solve "self-hosting" problems as much as possible.
2019-08-08 16:58:34 +03:00
Henrik Grimler a36acc44e4 setup_golang: set CGO_CFLAGS=-I$TERMUX_PREFIX/include 2019-07-19 10:22:31 +02:00
Fredrik Fornwall c5a58e63a2 golang: Update from 1.12.6 to 1.12.7 2019-07-11 14:31:17 +02:00
Leonid Pliushch 32ef9db225 golang: update to 1.12.6 2019-06-16 18:38:39 +03:00
Fredrik Fornwall 2e6aa72a19 golang: Update from 1.12.2 to 1.12.5 2019-05-07 22:41:30 +02:00
Fredrik Fornwall c0d22ec7d1 golang: Update from 1.12.1 to 1.12.2 2019-04-07 22:44:13 +02:00
Fredrik Fornwall 12ad4574aa golang: Update from 1.12 to 1.12.1 2019-03-15 14:53:10 +01:00
Fredrik Fornwall 73ec719d77 Set CGO_LDFLAGS="$LDFLAGS" for go packages
This should add DT_RUNPATH. See #3490.
2019-03-10 22:27:52 +01:00
Fredrik Fornwall 30c73290b6 go: Update from 1.11.5 to 1.12 2019-03-06 22:57:26 +01:00
Henrik Grimler 7eb7ad6617 build-package: mv termux_setup_golang to scripts/build/setup 2019-02-27 21:59:08 +02:00