Commit graph

51 commits

Author SHA1 Message Date
Đoàn Trần Công Danh
97a4afa006 build-style/cmake: do not require ninja if make_cmd is make 2021-03-25 06:58:07 +07:00
Roberto Ricci
436c814fd4 build-style/go: set GO111MODULE=auto 2021-03-15 09:54:49 -03:00
John
04715e12f6 build-style/cmake: use ninja as default generator
closes #28304
2021-02-09 00:19:07 +01:00
John
599b7fef67 build-style/void-cross: remove enable-obsolete-{rpc,nsl} from glibc
also enable glibc cross toolchains on musl
2021-01-20 15:24:58 +01:00
q66
761b378854 build-style/go: drop 32-bit ppc from gccgo
this will always give us trouble, and probably is not worth
supporting
2021-01-20 14:14:39 +01:00
q66
210a2823ef common/build-style: add void-cross
this introduces a new build-style void-cross, which can be used
to write system crosstoolchain templates; this is to reduce the
amount of maintenance, resolve existing problems with the cross
toolchain templates and remove repeated code
2020-12-31 23:48:57 +01:00
q66
69b49cfba6 build-style/go: restrict archs for gccgo env too
this is because some archs lack support in gccgo, and some are
not integrated yet in our toolchains
2020-12-17 01:50:52 +01:00
Andrew J. Hesford
2dff49c420 build-style/python3-pep517: new style for PEP517 Python packages 2020-12-08 15:26:38 -05:00
Jürgen Buchmüller
375a75dc07 build-style cmake: depend only if $CHROOT_READY 2020-10-23 11:51:02 +02:00
fosslinux
4acb08c4dc common/environment/build-style/gem.sh: remove archs=noarch. 2020-09-14 01:26:08 +00:00
Zach Dykstra
e30979d037 perl-module: add perl to build depends 2020-08-04 15:10:22 +02:00
fosslinux
102841754a xbps-triggers: add texmf-dist regeneration trigger 2020-07-14 02:38:24 +02:00
fosslinux
92fd1c57cc New build-helper: texmf
Co-authored-by: Piotr Wójcik <chocimier@tlen.pl>
2020-07-14 02:38:24 +02:00
q66
02eeac0798 environment/build-style/go: check for empty hostmakedepends 2020-04-17 05:00:39 +02:00
q66
1b2bf53e82 build-style/go: allow usage with gccgo compiler
This checks if gcc-go-tools have been specified in host deps
and if so, use gccgo to build (gcc-go-tools conflicts with go).

Also, since gccgo is not a multi-compiler, we need to override GCCGO
to get cross-builds. The gccgo for target is always installed, as
it's a part of our cross-toolchains.

[ci skip]
2020-04-17 04:53:13 +02:00
Jürgen Buchmüller
c7891063fb build-style/go.sh: support armv5* as well 2020-04-01 10:23:34 +02:00
q66
ec937e4d29 environment/build-style/go.sh: specify a default set of archs
This is necessary so that crossbuilds to unsupported architectures
are not actually attempted. There is a default archs set which
covers all architectures supported by the official compiler,
and setting it in the template can be used to restrict it more.

Also, add missing GOARCHs. These are irrelevant to whether we
can currently build for that arch or not. Just keep it around
as a list of potential archs to support. These are taken from
gccgo, and in case support for anything is added in the official
compiler, they should match.
2020-03-30 05:32:09 +02:00
Andy Weidenbaum
e8e2b2e90a build-style/perl6-dist: rename to raku-dist. 2020-02-05 09:58:38 +01:00
Leah Neukirchen
bd739bd45f environment/build-style/python*-module: makedepends on the appropriate versions. 2019-12-23 17:34:15 +01:00
maxice8
0f76ad0f76
environment/build-style/gem.sh: set noarch=yes to archs=noarch 2019-02-16 04:02:31 -02:00
Piotr Wójcik
43e2545baf build-style/perl-ModuleBuild: add perl to makedepends 2019-01-27 10:09:46 +01:00
maxice8
6e0a917d01
environment/build-style/cargo.sh: use rust build_helper 2019-01-25 20:44:42 -02:00
q66
151f876627 common: add ppc64 build profiles and other ppc64 bits
This adds the build profiles for ppc64 targets as well as
modifications in other parts of the infra.

These targets are supported:

- ppc64le (glibc little endian elfv2)
- ppc64le-musl (musl little endian)
- ppc64-musl (musl big endian)

ELFv1 targets are explicitly not supported at this point.

Big endian musl supports ppc 970 or newer, while little endian
targets are set to a generic powerpc64le which effectively means
POWER8 and newer. Tuning is always set for POWER9, which is the
most likely target hardware. We also make sure AltiVec is always
on, because it is supported on all hardware we target.

[ci skip]
2019-01-05 23:38:00 +01:00
Andy Weidenbaum
afdfdf9991 build_style=perl6-dist: add 2018-11-26 04:11:50 -02:00
Johannes
5f5a55c2bb build-style/cargo.sh: export common variables to avoid static linking 2018-11-22 18:18:11 -02:00
Johannes
3aa797cb3a build-style cargo: move cargo config from wrksrc to home
since cargo 0.31.0 ${wrksrc}/.cargo/config is ignored for cargo install
fixes: https://github.com/void-linux/void-packages/issues/4328
2018-11-02 13:39:53 +01:00
maxice8
03ea181231 build_style: Add gemspec build_style 2018-11-02 07:15:08 -03:00
maxice8
49e11e1ca5 build_style: Add gem build_style 2018-11-02 07:15:08 -03:00
Johannes
acd2241ba4 build-style cargo: do not pull complete rustc for target 2018-10-16 00:23:41 +02:00
Rasmus Thomsen
0318d0385a build-style/cargo.sh: add 2018-10-15 20:58:51 +02:00
Toyam Cox
1edc8846ca xbps-src: Migrate from build_style for 32bit pkgs
This allows dxpb to have a simpler test for whether or not a 32bit
package will be built.
2018-10-04 10:28:27 +02:00
Jürgen Buchmüller
e9cbfacb5a
build style go.sh: split gocache for glibc/muslc
Closes: #2542

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-09-11 12:39:29 +02:00
Michael Aldridge
a4dd50388a xbps-src: Always enable the gocache
[ci_skip]
2018-09-01 22:05:07 -07:00
maxice8
b2221a8071
build-style/scons.sh: add scons to hostmakedepends= 2018-08-21 20:37:47 -03:00
Alessio Sergi
7737976464 xbps-src: lib32disabled=yes for python{2,3}-module too 2018-03-26 19:01:36 +02:00
Piotr Wójcik
92fd2f3d4b build-styles/waf{,3}: python{,3} in hostmakedepends
Closes: #11592 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-03-25 20:00:51 +02:00
Michael Gehring
7c20248a20 common/environment/build-style/go.sh: drop go-cross-linux dep 2018-03-19 08:29:05 +01:00
Michael Aldridge
92d6e1a521 go build style: move GOPATH creation to do_configure() 2017-11-26 00:41:26 -08:00
Sir_Boops
c0aa21a3f2 xbps-src: you need meson to build with meson 2017-09-12 08:58:51 -06:00
Florian Wagner
f2c0f7885e Add and document R-cran build style; support CRAN in update-check. 2017-06-08 13:32:40 +02:00
Christian Neukirchen
088dda2191 environment/build-style/haskell-stack.sh: hostmakedepend automatically on ghc and stack. 2016-12-18 15:28:54 +01:00
Christian Neukirchen
ff8e25b4f3 build-style/go.sh: enable aarch64. 2016-09-16 22:26:56 +02:00
Toyam Cox
f7cb309d20 build-style/cmake: Add cmake as hostmakedepends 2016-03-12 12:14:42 +00:00
Dominik Honnef
5accddbb26 go, build-style/go: set nopie=yes 2015-11-19 09:55:48 +01:00
Dominik Honnef
114c395bf9 build-style/go: support cross-compilation with cgo 2015-09-04 02:18:57 +02:00
Dominik Honnef
2bb87e4e07 build-style/go: don't set GOBIN
Go 1.5 doesn't permit our use of GOBIN anymore, breaking
cross-compilation (for details, see
https://github.com/golang/go/issues/9769)

In retrospect, I'm not sure why we set GOBIN in the first place;
GOPATH/bin should suffice.

Closes #2337
2015-08-22 20:58:24 +02:00
Dominik Honnef
3b617119c7 build-style/go: support building multiple packages 2015-05-04 13:40:44 +02:00
Juan RP
1bbaef721c xbps-src: do not generate 32bit pkgs for perl/python modules. 2015-02-25 12:00:10 +01:00
Dominik Honnef
a62f407007 set Go env vars in environment
This way, a template can overwrite do_build but still have good defaults
for GOPATH, GOARCH and GOARM.
2015-02-21 14:49:02 +01:00
Dominik Honnef
77e8751a93 New build_style: go 2015-02-21 14:49:02 +01:00