Andrew J. Hesford
74e0a12915
build-style/python3-pep517: make sure ./build exists in do_install
...
This allows templates to override do_build and not have to create the
build subdirectory used as TMPDIR in do_install; failure to create this
directory will cause pip to use (and pollute) /tmp in the masterdir.
2021-02-03 16:30:01 -05:00
q66
b2d670be60
build-style/void-cross: always enable libssp
...
this way we'll be able to provide libssp(-devel) unconditionally
inside cross-vpkg-dummy, which should be the right thing to do
2021-01-26 20:17:55 +01:00
q66
22962b7118
build-style/void-cross: symlink bin on install
...
this is needed so that binaries go in sysroot/usr/bin instead
of sysroot/bin
2021-01-26 19:53:19 +01:00
q66
3cee024b0d
build-style/void-cross: add minor-versioned gcc sylinks
2021-01-20 15:25:27 +01:00
q66
76f3a1d0b7
build-style/void-cross: remove linux and libucontext arch vars
2021-01-20 15:25:14 +01:00
q66
dd50c1905d
build-style/void-cross: fix for newer libucontext + autoguess arch
2021-01-20 15:25: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
John
a40f4cd82b
build-style/void-cross: disable usage of fixincl, it breaks glibc and does nothing for musl
2021-01-20 15:24:45 +01:00
John
0caccad4cc
build-style/void-cross: fix build with 5.10 kernel headers
2021-01-20 15:24:37 +01:00
q66
2d80cf4c49
build-style/void-cross: enable patching binutils
2021-01-20 15:24:32 +01:00
fosslinux
1d74fb6d7b
common/build-style/texmf.sh: various improvments.
...
- do_check (ownership check): only check against latest version of
package.
- Add comments.
2021-01-19 19:46:52 +01:00
q66
e44dfff752
build-style/void-cross: explicitly enable plugins in binutils
...
this is already enabled implicitly based on checks, but might as
well make it explicit; it does not actually make any practical
difference though
2021-01-13 21:02:05 +01:00
Andrew Benson
b0296b1252
common/build-style/qmake: fix variable name
2021-01-12 13:04:49 -06:00
q66
f2f3c6661b
build-style/void-cross: unify binutils options with template a bit
2021-01-07 16:42:47 +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
John
98f239edf8
build-style/cmake.sh: remove handeling of wxWidgets when cross compiing
...
This can be potentially broken, and the preffered way is to just set the WX_CONFIG env variable
2020-12-30 17:58:36 +01:00
q66
87d28506e1
build-style: change all build-styles to use /usr/libNN
2020-12-22 22:18:25 +01:00
Andrew J. Hesford
7d68e8f4d2
build-style/waf3: rely on qemu build helper in cross builds
2020-12-19 17:53:30 -05:00
q66
068c64c844
build-style/qmake: add ppc(64) cross bits
2020-12-15 23:01:31 +01:00
Andrew J. Hesford
a3227ffb48
build-style/python3-module: prefer pytest in do_check
...
Closes : #25052 .
2020-12-09 15:45:53 -05:00
Andrew J. Hesford
2dff49c420
build-style/python3-pep517: new style for PEP517 Python packages
2020-12-08 15:26:38 -05:00
Érico Rolim
2325ae153b
common/build-style/gnu-makefile: pass CXXFLAGS in make invocation.
2020-12-06 22:03:54 -03:00
Đoàn Trần Công Danh
b400ac3e81
build-style/cmake: set find_root_path to cross_base/usr
2020-11-28 05:56:03 +07:00
Jürgen Buchmüller
bba453427e
build-style gnu-makefile: pass $OBJCOPY to make
2020-11-07 16:13:56 +01:00
Đoàn Trần Công Danh
3c1727cf31
build-style/cmake: only look into masterdir libraries
...
As of it's now, cmake will look into host's libraries, thus
bootstrapping will fail at ccache if host system doesn't have
libzstd-devel installed.
2020-11-01 21:22:23 +01:00
Érico Rolim
5af961ece2
common/build-style/meson.sh: set auto-features to auto.
...
This allows the build system to detect itself whether it should use
certain features, instead of defaulting to (potentially bad) enabled
status.
Features that aren't detected properly, be it because false positives or
negatives, should be explicitly called out in the templates.
2020-10-18 00:00:00 -03:00
Piotr Wójcik
6efc7dd98d
xbps-src: quote wrksrc to allow whitespace
2020-09-03 21:03:32 +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
John
335286d3e2
build-style/meson: add cups and llvm-config to crossfile
2020-07-13 19:14:53 +02:00
John
0e87174b5e
build-style/cmake: set CTEST_OUTPUT_ON_FAILURE=TRUE in do_check
...
Currently a failed output has to be found somewhere in the build directory,
having it output also to stdout makes it far easier to see why it failed
2020-07-11 14:07:29 +02:00
Érico Rolim
2be5dd6156
build-style/cargo: use configure_args in do_check.
...
Cargo rebuilds the package if the command line arguments aren't the
same, which makes it test the wrong binary.
2020-07-06 09:01:06 +02:00
John
82734d940c
common/xbps-src: set PKG_CONFIG{,FOR_BUILD} env vars
2020-05-26 21:18:27 +02:00
Andy Weidenbaum
d4bf579cde
build_style/raku-dist.sh: RAKULIB=lib
2020-05-18 13:42:00 +02:00
Đoàn Trần Công Danh
368a1e571d
build-style: scons: add lowercase compiler variable
2020-05-18 00:32:13 +02:00
q66
b5fd7971b5
build-style/cmake: recognize ppcle for cross
2020-04-30 01:06:52 +02:00
q66
81e7a17c79
build-style/meson: recognize ppcle for cross
2020-04-30 01:06:52 +02:00
Daniel Eyßer
ef4596b546
build-style/cargo.sh: don't use post_install() for leftover removal
2020-04-12 18:43:18 +02:00
travankor
3610a35271
cargo.sh: don't hardcode the path.
...
Clean up the cargo remnants in the post install phase.
2020-04-07 21:25:12 +02:00
John
aecf307fdb
common/qmake.sh: reorder args
...
[ci skip]
2020-04-03 09:19:18 -07:00
John
f4d315aaa8
build-style/meson: update for new env var behaviour
...
meson 0.54 now honors _FOR_BUILD env vars, and we don't have to set CC
and friends to the host system vars. Setting PKG_CONFIG_FOR_BUILD is
needed since otherwise it would pickup our cross wrapper
2020-03-31 16:01:20 +02:00
q66
2163ca2d03
build-style/meson.sh: drop unneeded AR export
...
This was fixed in Meson upstream ages ago. We have also fixed this
in gcc itself.
2020-03-15 22:03:35 +01:00
Alexander Gehrke
a28a777a95
build-style/cargo.sh: also delete /usr/.crates2.json
2020-02-25 12:23:45 +01:00
travankor
3842294972
build-style/cargo.sh: append configure_args to cargo install
...
Cargo will only activate the default features for a package.
Instead, pass the correct features to cargo install.
2020-02-22 19:09:05 +01:00
John
0adf0a781c
build-style/cmake: pass DESTDIR as env var to make install
...
this ensures that the build-style also works with ninja when setting
-GNinja and make_cmd=ninja
2020-02-06 10:34:36 +01:00
Andy Weidenbaum
e8e2b2e90a
build-style/perl6-dist: rename to raku-dist.
2020-02-05 09:58:38 +01:00
q66
f317ed5e7e
common/build-style/cmake.sh: strip -pipe if present in C(XX)FLAGS
...
Reason: https://gitlab.kitware.com/cmake/cmake/issues/19590
Our workaround within cmake is not sufficient as it does not
address the issue fully and things still break sometimes. So
work around this in the build-style for the time being (and
drop the cmake patch).
Once this is fixed upstream (probably needs special casing
for the -pipe flag and strip it during compile tests) we
can drop this.
2020-01-11 18:52:12 +01:00
Leah Neukirchen
d3968bef3c
build-style/python[3]-module: override _PYTHON_SYSCONFIGDATA_NAME
...
Use the sysconfigdata for the appropriate cross arch.
Upstream change: https://bugs.python.org/issue36235
2019-12-23 17:15:51 +01:00
Leah Neukirchen
915fe2de9f
common/environment/setup/python.sh: update to Python 3.8.
2019-12-23 14:11:45 +01:00
John
f20e10cd44
Revert "build-style meson: fix _MESON_CPU_FAMILY=ppc64le"
...
This reverts commit 0d23f73635
.
2019-11-27 21:41:55 +01:00
Jürgen Buchmüller
0d23f73635
build-style meson: fix _MESON_CPU_FAMILY=ppc64le
...
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-11-27 11:16:20 +01:00