Commit Graph

288 Commits

Author SHA1 Message Date
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ía 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
Michal Vasilek c7206b4bdc common/build-style/python3-pep517: use absolute path for check temp dir
some tests change cwd which causes relative tmpdir to point to a non-existent
location
2023-05-07 16:28:06 +02:00
Jan Christian Grünhage 3c3b8a2e7b common/build-style/cargo.sh: use --locked for build and check as well 2023-04-13 13:15:04 -04:00
icp 37d268a907 common/build-style/python3-pep517.sh: unpack wheels for testing
Python packages built with pep517 system occasionally require
accessing distinfo files and/or entry points provided by the
package for tests to run. Since these assets are packed inside
the wheel generated in `do_build`, the target wheel is unpacked
in `do_check` first so that the said artifacts are accessible
during test runs.
2023-04-12 15:49:51 -04:00
Michal Vasilek cb9e4c02e6 common/build-style/go.sh: use -modcacherw
makes sure the go mod cache is not read only and ./xbps-src zap can
properly remove it
2023-04-06 18:33:16 +02:00
Marcin Puc 3641d47af7 build-style/cargo: use env var to select sparse index mode 2023-04-02 16:16:10 -04:00
Marcin Puc c325ca9320 common/build-style/cargo.sh: switch to sparse index protocol 2023-04-02 04:39:44 -04:00
Jami Kettunen a3876cd45c build-style/qmake: add support for Qt6 2023-03-02 07:52:08 +07:00
zlice 12e6985c34 common: cleanup trailing whitespaces 2023-02-07 03:26:02 -05:00
Đoàn Trần Công Danh 8f84acad0b build-style/void-cross: fix musl __stack_chk_fail_local 2023-01-20 16:06:07 +07:00
oreo639 88c076875e build-style/void-cross: disable libssp 2023-01-20 14:34:27 +07:00
Đoàn Trần Công Danh 48dabfa867 build-style/cmake: Disable FetchContent 2023-01-17 08:20:02 +07:00
oreo639 1be73bd4fa build-style/void-cross: Update flags for gcc12 and glibc 2.36
gcov can't be built without libc:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289

Remove -no-pie from build. glibc 2.35 and newer uses -static-pie by default:
https://sourceware.org/pipermail/glibc-cvs/2021q4/075916.html
2022-12-17 12:52:00 +07:00
Andrew J. Hesford 936a6ed85d build-style/python3-pep517.sh: abandon pip 2022-11-09 21:24:02 -05:00
Jami Kettunen e0bcd5d955 common/build-style/python3-pep517: add missing \n for msg_warn 2022-11-10 08:42:05 +07:00
Michal Vasilek 693229f70c common: build-style/meson: use meson setup
WARNING: Running the setup command as `meson [options]` instead of
         `meson setup [options]` is ambiguous and deprecated.

meson setup works since 0.42 and this deprecation warning was introduced
in 0.64
2022-11-08 18:24:04 +01:00
Đoàn Trần Công Danh 8c5358f792 xbps-src: set wrksrc to $pkgname-$version unconditionally 2022-11-08 22:30:37 +07:00
Jan Christian Grünhage ca8c4fb08f build-style/cargo: produce auditable binaries 2022-11-03 03:50:11 -04:00
Joel Beckmeyer def53da009 common/build-style/python3-pep517.sh: use full path for TMPDIR
fixes side effects with setuptools_rust / rustc
2022-09-28 10:04:27 -04:00
Đoàn Trần Công Danh 014a230f24 build-style/qmake: remove Qt4 reference 2022-09-18 20:36:36 +07:00
q66 5df385d509 Revert "build-style/waf3: set config dir to /etc"
This reverts commit ca4ee9b002.

--configdir is not supported in some projects
2022-09-11 13:28:49 +00:00
Đoàn Trần Công Danh ca4ee9b002 build-style/waf3: set config dir to /etc 2022-09-06 17:43:20 +07:00