classabbyamp
cdf59f35d1
common/build-helper/meson: use qemu-<target> not qemu-<target>-static
...
the -static version is a symlink now
2024-12-15 11:40:08 -05:00
Andrew J. Hesford
53d581e2a4
python3: update to 3.13.1.
2024-12-14 07:41:09 -05:00
Daniel Martinez
c71768affd
xbps-src: llvm-config wrapper
2024-11-23 14:35:23 -05:00
classabbyamp
e85ae8b892
common/build-helper/gir: only install the relevent user emulator
2024-09-20 03:58:42 -04:00
classabbyamp
66e9495c31
common/build-helper/qemu: only install the relevant user emulator
...
now that the package is split, we don't have to install every emulator
under the sun.
2024-09-20 03:58:42 -04:00
classabbyamp
7ffbd5ed6c
*: qemu-user-static -> qemu-user
2024-09-08 19:40:38 -04:00
Andrew J. Hesford
2cfd60fe4f
common/build-helper/numpy.sh: update paths for python3-numpy>=2.0.0
2024-07-31 15:12:09 -04:00
Matthias von Faber
559fa7125d
New build-helper: qmake6
2024-07-02 01:20:40 -04:00
meator
c63355e4fd
common/build-helper/meson.sh: Fix deprecation warn
...
This commit removes the following deprecation notice:
DEPRECATION: "pkgconfig" entry is deprecated and should be replaced by
"pkg-config"
2024-05-07 15:18:34 -04:00
Marcin Puc
737173a42f
common/build-helper/rust.sh: force using system libgit2 library
2024-03-28 14:13:38 +00:00
classabbyamp
d43fe51166
common/build-helper/rust.sh: support larger pagesizes
...
intentionally not forcing the usage of system jemalloc because it builds
with an unprefixed malloc and thus jemalloc's malloc can unintentionally
be used for linked C libraries
2024-01-17 22:11:45 -05:00
classabbyamp
585515f423
common/build-helper/meson: pass target to bindgen
2023-12-01 21:45:14 -05:00
John
ee59a36bdd
build-helper/rust.sh: prevent stripping by cargo
...
Some rust pacakges (e.g. eza and bat) do set strip = true
in their release profile which removes the debug symbols
before xbps-src can split them.
closes #47459
2023-11-28 12:23:22 +01:00
classabbyamp
62281ca96a
Partially revert "common/build-helper/rust.sh: link to libgit2 and libsqlite3 dynamically"
...
This reverts commit d69cddbbc4d5ccabfe4d42d5b0f8cfe087c6e742.
libgit2 part will be applied as part of the libgit2 update
2023-11-26 04:01:26 -05:00
icp
d69cddbbc4
common/build-helper/rust.sh: link to libgit2 and libsqlite3 dynamically
...
libgit2 upstream: 59a81cac9a
libsqlite3 upstream: b4604f2421
2023-11-26 03:32:34 -05:00
Andrew J. Hesford
28b724db5c
common/build-helper/meson.sh: remove obsolete linker config
2023-11-25 16:29:31 -05:00
Andrew J. Hesford
174deccefd
common/build-helper/numpy.sh: only write meson cross-file once
2023-10-27 12:14:24 -04:00
Andrew J. Hesford
557b4a73cf
common/build-helper/meson.sh: only write cross file once
2023-10-27 12:14:24 -04:00
Gonzalo Tornaría
d0be5a7ef0
common/build-helper/rust.sh: fix cross for pyo3
2023-09-26 14:48:33 -04:00
Andrew J. Hesford
99d8d3e26f
common/build-helper/numpy.sh: write meson cross file when needed
2023-09-23 12:49:44 -04:00
Andrew J. Hesford
c6431f06c5
common/build-helper/meson.sh: new build helper, used by meson build style
2023-09-22 10:16:59 -04:00
Jan Christian Grünhage
63ab475c69
common/build-helper/rust.sh: dynamic linking to oniguruma
2023-04-07 15:03:58 -04:00
Jan Christian Grünhage
f1abc3c655
common/build-helper/rust.sh: dynamic linking to zstd
2023-04-06 18:36:43 +02:00
oreo639
eb9d775838
common/build-helper/rust.sh: allow specifying BINDGEN_EXTRA_CLANG_ARGS
2023-03-27 22:11:49 +02:00
zlice
12e6985c34
common: cleanup trailing whitespaces
2023-02-07 03:26:02 -05:00
Đoàn Trần Công Danh
bc6016b05c
build-helper/cmake-wxWidgets-gtk3: set configure_args, too
...
CMake on their mission to handle all use-cases, ships a FindwxWidgets,
this module ignores WX_CONFIG environment variable,
even the code seems to respect it.
2022-09-02 01:34:32 +07:00
classabbyamp
98a4596b1e
common/build-helper/python3.sh: add python3 helper
2022-08-29 23:25:05 -04:00
classabbyamp
1490e17b58
common/build-helper/rust.sh: link to libsodium dynamically
...
without this envvar, libsodium-sys will attempt to link to libsodium
staticly, and may fail.
2022-03-15 14:52:08 +01:00
classabbyamp
191bf2460d
common/build-helper/rust.sh: fix cross for bindgen
...
When using a build.rs script to dynamically generate bindgen bindings
at build-time, it will run on the host, and by default bindgen will
generate bindings for the host arch/libc instead of the target.
To generate the bindings on cross, we need to use BINDGEN_EXTRA_CLANG_ARGS
to specify the proper sysroot and include path for the target.
These arguments are not used for anything other than bindgen's clang
invocation.
2022-03-14 08:08:30 +01:00
Michal Vasilek
b2879f0d3e
python-gobject: remove package
2022-03-05 23:28:28 +01:00
Evgeny Ermakov
1baf431894
build-helper/numpy: fix typo
2022-01-18 16:19:51 -03:00
newbluemoon
0b217003e2
build-helper/qmake.sh: always quote build flags
...
Co-Authored-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
2021-11-15 08:54:14 +07:00
Andrew J. Hesford
59ab2669e6
build-helper/numpy: add cross path for libnpyrandom to LDFLAGS
2021-06-22 12:02:17 -04:00
Đoàn Trần Công Danh
d284d8b6db
build-helper/qmake: respect {C,CXX,LD}FLAGS
...
As of it's now, package built with build-helper/qmake natively won't
pick our CFLAGS CXXFLAGS and LDFLAGS. The result could be seen in no
debug symbol in djview.
Furthermore, cross build won't pick our hardening flags.
Let's force qmake pick our flags by using the same method as
build-style/qmake.
2021-04-09 18:06:35 +07:00
É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