Commit graph

21 commits

Author SHA1 Message Date
Érico Rolim
4e04578831 common/build-helper: pass a full path for native builds in cmake-wxWidgets-gtk3.
At least KiCAD tries to find wx-config-gtk3 in the current directory,
without looking for it in PATH, so the build fails. Actually give it a
full path, like we do for the cross build case.
2021-03-06 11:52:06 -03:00
Đoàn Trần Công Danh
4e652be441 build-helper/qmake: sync with qmake build-style
- create pseudo target for cross compile in order to not include host
  specific headers
- look for modules inside target
- ignore rpath
2021-02-11 09:01:47 +07:00
Andrew J. Hesford
2f5e5f1e5e build-helper/rust: define HOST_CC and HOST_CFLAGS
The cc-rs crate will try to guess the host compiler and use default
flags these are not specifically set. The default behavior is wrong in
Void cross-compilation environments. Explicitly define HOST_CC=gcc and
use innocuous HOST_CFLAGS=-O2 just to thwart the bad defaults.

Co-authored-by: Érico Rolim <erico.erc@gmail.com>
Co-authored-by: Andrew J. Hesford <ajh@sideband.org>

Closes: #28416.
2021-02-04 00:33:41 -05:00
John
31e4259c1c common: Add new cmake-wxWidgets-gtk3 build-helper 2020-12-30 17:58:36 +01:00
Artur Sinila
b0b2053e4c common/build-helper/rust.sh: dynamic linking to libpcre2 on musl 2020-10-15 03:09:51 -03:00
Érico Rolim
813d893710 common/build-helper/qemu.sh: add vtargetrun function.
It's a function to call the qemu executable for the target arch, or a
noop if the build isn't a cross build.
2020-07-28 04:24:40 +00:00
Andrew J. Hesford
8e6c1786d1 xbps-src: add numpy build_helper
Packages that link against python3-numpy require special consideration
to ensure that, in a cross-building environment, target libraries and
headers as well as the FORTRAN compiler and linker are properly
identifeid. Previously, this was done directly in the python3-scipy
template to support cross compilation. Now, a build_helper generalizes
these changes to support other package templates.
2020-07-12 22:45:32 -04:00
Érico Rolim
46ab04b8d1 common/build-helper/rust.sh: force native SSL lib
The OPENSSL_NO_VENDOR environment variable forces the openssl-sys crate
to use the system's SSL library instead of building its own.
2020-05-31 21:03:45 +02:00
q66
7f97e7c382 libgit2: update to 1.0.0 2020-05-04 16:18:57 +02:00
John
4a967a96da common/rust.sh: set CARGO_HOME to /host/cargo
currently cargo chaches everything in /tmp/.cargo and is not shared
between masterdirs
2019-12-14 11:25:59 +01:00
newbluemoon
618a9a7366 New build-helper: qmake 2019-11-04 17:44:02 +01:00
John
f4273541b8 New build-helper: qemu 2019-10-26 00:59:41 +02:00
Johannes
ed80967b9d build-helper/rust: add variables for sodium-sys 2019-06-16 21:40:08 +02:00
Jürgen Buchmüller
9f69e99756
build helper gir: auto add pkgs to hostmakedepends
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-05-07 14:26:45 +02:00
Jürgen Buchmüller
d121842302 build helper gir: check for gobject-introspection
Do not add gobject-introspection a second time if it is already
contained in the makedepends.
2019-04-29 15:36:28 +02:00
Jürgen Buchmüller
74ad7c6a11 build helper gir: check for gobject-introspection
Do not add gobject-introspection a second time if it is already
contained in the hostmakedepends.
2019-04-29 13:14:42 +02:00
Jürgen Buchmüller
892616f336 build helper gir: hint vapigen search paths 2019-04-29 04:55:54 +02:00
Jürgen Buchmüller
b6501476ae build-helper/gir: provide host gtk+3-devel if required
When cross building a package using build_helper="gir" add the
gtk+3-devel package to the hostmakedepends in case it is
contained in the makedepends.

Remove the specific case in gcr now that this is automatic.
2019-04-28 17:40:06 +02:00
Johannes
026ebc069e common: unset rust-cross specific variables for native builds 2019-02-08 19:16:39 +01:00
maxice8
fae786dec1 build_helper: add gir build_helper 2019-02-02 23:33:48 -02:00
maxice8
b287b66c83
build-helper/rust.sh: Add 2019-01-25 20:44:42 -02:00