Commit Graph
309 Commits
Author SHA1 Message Date
Duncaen 38b17b4d89 common/build-style/cmake.sh: add -Wno-dev unless XBPS_VERBOSE is set 2026-02-22 17:02:31 +01:00
Duncaen 22d78adc2b xbps-src: export XBPS_VERBOSE and add make_verbose to some build styles 2026-02-22 17:02:28 +01:00
Đoàn Trần Công Danh 70657b4a30 void-cross: enable gdc 2025-11-25 09:41:55 +07:00
Đoàn Trần Công Danh 4d95b66b09 Reapply "build-style/cmake: set KF6_HOST_TOOLING"
This reverts commit c81dda9806.
2025-09-21 06:36:03 +07:00
Đoàn Trần Công Danh c81dda9806 Revert "build-style/cmake: set KF6_HOST_TOOLING" 2025-09-21 06:34:30 +07:00
Đoàn Trần Công Danh 243875eff6 build-style/cmake: set KF6_HOST_TOOLING 2025-09-17 20:21:28 +07:00
ii8 944f51437c cabal-install: update to 3.10.3.0. 2025-09-12 10:19:32 +02:00
Đoàn Trần Công Danh 770cbc65cf build-style/gem: allow multiple version of gem 2025-08-08 08:08:11 +07:00
Đoàn Trần Công Danh 587bcae649 build-style/cmake: change policy to 3.5
Let's see if anything break before we switch the cmake-bootstrap to v4
2025-06-27 16:42:49 +07:00
classabbyamp 479bef3b2f common: define meta-packages with metapackage=yes
Overloading `build_style` for meta-packages has always felt very hacky,
and it prevents having the main package be a meta-package (with non-meta
subpackages) and using a `build_style` at the same time (example of
trying to hack around that: 62c0c08e18).
It also can create confusion about how subpackages work if you can
define a `build_style` there (but only `meta`).

This makes using `build_style=meta` an error at the package and subpackage
level, and replaces it with a new variable (`metapackage=yes`).

A pkglint for non-empty meta-packages is also added.
2025-06-12 20:15:05 -04:00
classabbyamp cea895205b common/build-style/void-cross: handle multiple musl versions 2025-05-25 14:00:51 -04:00
classabbyamp 04c39e3735 Revert "[RFC] musl 1.2, timeline bifurcation edition"
the builder didn't like doing this all at once

This reverts PR merge #55342.
2025-05-25 13:03:42 -04:00
classabbyamp 0577f00059 common/build-style/void-cross: handle multiple musl versions 2025-05-25 12:16:28 -04:00
oreo639 4e3377bafd common/build-style/void-cross.sh: fix obtaining gcc version 2025-04-14 23:17:31 -07:00
icp 379c3bfe58 common/build-style/go.sh: disable verbose test output
The output with `-v` is often too verbose, making it difficult to
scour the logs, especially in the GitHub actions UI.
2025-03-15 10:23:07 -04:00
tranzystorekk d00bae1f94 common/build-style/meson.sh: disable relocatable pkgconfig 2024-10-15 10:12:33 +02:00
tranzystorekk cd36d66c3d common/build-style/zig-build.sh: add --verbose flag 2024-09-29 11:39:23 +02:00
classabbyamp 46e756a27b common/build-style: remove waf build style
no longer needed by any packages, and should not ever be needed by any
new packages
2024-09-28 23:21:44 -04:00
Whitehole 99ada8c55d common/build-style/cargo.sh: add make_build_args to build 2024-09-17 15:01:20 -04:00
icp 5baa13c618 common/build-style/go.sh: support $make_check_pre 2024-09-17 11:15:15 -04:00
classabbyamp 332756ed08 common/build-style/go: add a default do_check function 2024-09-11 15:55:51 -04:00
classabbyamp 69fa5df28f common/build-style/meson: move PYTHONUNBUFFERED to environment/build-style 2024-08-18 17:23:45 -04:00
classabbyamp be2c8a440e common/build-style/meson: use meson test/install instead of ninja
per eschwartz's advice
2024-08-18 17:23:45 -04:00
tranzystorekk 998c752385 common/build_style/zig-build.sh: update for zig 0.13 2024-07-22 19:24:01 +02:00
Andrea Brancaleoni fefd26e5b8 build-style/go: fix build using GOPATH 2024-05-22 22:56:38 +02:00
Đoàn Trần Công Danh 5b4e07f57e Revert "build-style/cmake: common flags for KDE"
This reverts commit f10887f683.
2024-05-12 06:23:54 +07:00
Đoàn Trần Công Danh f10887f683 build-style/cmake: common flags for KDE 2024-05-11 21:44:12 +07:00
Đoàn Trần Công Danh 974b3f3803 build-style/qmake: build in build_wrksrc 2024-04-08 16:45:11 +07:00
fosslinux ee6b3e602c texlive: update to 20230313. 2024-02-08 06:23:24 -05:00
oreo639 afd0df789d build-style/void-cross: fix libgomp path 2024-01-27 22:13:07 -08:00
oreo639 4c4a7fb004 build-style/void-cross.sh: include libquadmath and remove libgomp 2024-01-27 22:05:13 -08:00
icp 0e1f4fc46a common/build-style/python3-pep517.sh: enable PY_IGNORE_IMPORTMISMATCH for testing
Fixes `ImportMismatchError` for doctest-modules in pytest
Ref: https://github.com/pytest-dev/pytest/issues/2042#issuecomment-381309723
2024-01-21 16:04:19 -05:00
icp 997caab87c common/build-style/python3-module.sh: enable PY_IGNORE_IMPORTMISMATCH for testing
Fixes `ImportMismatchError` for doctest-modules in pytest
Ref: https://github.com/pytest-dev/pytest/issues/2042#issuecomment-381309723
2024-01-21 16:04:19 -05:00
oreo639 d2725466e7 build-style/void-cross.sh: fix building for glibc 2.38 2023-12-25 14:09:19 -05:00
John 32e6ea71aa New package: corrosion-0.4.4 2023-10-31 18:33:40 +01:00
John 13b085be7c build-style/cmake.sh: specify paths as type PATH
specifying the type prevents cmake to converthing the paths
relative to the CWD

cmake documentation:

Furthermore, if the <type> is PATH or FILEPATH and the <value> provided
on the command line is a relative path, then the set command will treat
the path as relative to the current working directory and convert it to an absolute path.
2023-10-14 10:21:59 +02:00
Andrew J. Hesford f2ac1733dc common/build-style/python3-pep517.sh: use meson cross files by default 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
John 8714c52bf7 build-style/cmake.sh: add riscv64 arch 2023-08-25 17:06:56 +02:00
Kirill 4c22fd9b48 common/build-style/go.sh: update go build style for go1.21.0 2023-08-23 16:06:44 -05:00
Đoàn Trần Công Danh 5215d4a7f9 build-style/cmake: no longer need to block FetchContent 2023-08-21 21:32:09 +07:00
Đoàn Trần Công Danh 1f2932447a build-style/cmake: set PATH in environment 2023-08-21 09:11:59 +07:00
Đoàn Trần Công Danh 6b9c9c7dfa build-style/cmake: support build with cmake-bootstrap 2023-08-17 19:59:36 +07:00
classabbyamp bf66db28e8 common/build-style/go: use -x -> -v so go build logs are readable
this is still verbose (prints each module being compiled), but build
logs should be more readable (for finding things like errors) now
2023-08-09 22:09:34 -04:00
Leah Neukirchen 944f3b8b28 build-style/void-cross.sh: adjustments for --enable-autolink-libatomic. 2023-07-26 23:27:32 +02:00
John 04738fa6bb New package: cross-riscv64-linux-gnu-0.35 2023-07-26 23:27:32 +02:00
Érico Rolim 24076327ba common/build-style: check if go_import_path matches go.mod.
Without this check, calling `go install` with a wrong go_import_path
might end up downloading the source code for said package (using git,
for example), instead of building from the provided tarball. The first
line of go.mod should be "module $go_import_path" for Go to not try and
download source code instead of using what it has locally.

Fixes #27690.
2023-06-26 00:55:36 -04:00
Michal Vasilek 9e47b517b0 common: remove unused python-module build style
python-module build style is now unused, all projects that want to have
a python2 and a python3 package should be split to two templates
2023-06-18 20:24:37 +02:00
icp 71185be9d1 common/build-style/python3-pep517.sh: extract wheels in hidden dirs
This prevents pytest from collecting tests multiple times when
they are bundled in the wheel itself alongside the source tree.

Closes: #43946 [via git-merge-pr]
2023-06-05 16:27:02 -04:00
Gonzalo TornaríaandAndrew J. Hesford 126798875f build-style/python3-pep517: use generic glob for wheels, refactor
Also: do not compile bytecode in `do_install()` since it will be removed
in `post_install()`.

Co-authored-by: Gonzalo Tornaría <tornaria@cmat.edu.uy>
Co-authored-by: Andrew J. Hesford <ajh@sideband.org>

Closes: #44071.
2023-05-25 13:43:16 -04:00