Commit Graph

109 Commits

Author SHA1 Message Date
Emil Velikov
aafc2e0981 Build with CI jobs with -Dwerror=true
Currently the CI jobs only builds on releases, which catches some of the
fallout.

We might get a proper CI at some point in the future.

v2: pass the -Dwerror=true directly into build.sh

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2022-03-06 19:07:01 +00:00
jackun
24a011702f
[build.sh] Fix typo 2021-08-09 01:46:31 +03:00
jackun
f273bf20f1
[build.sh] Re-add Deepin 2021-08-08 21:25:21 +03:00
jackun
361641382c
[build.sh] Attempt to fix wrong 32bit lib dir on non-Arch distros 2021-08-08 17:08:36 +03:00
gk
06a37bdcce
Use alternate method of checking for distro
Use ID/ID_LIKE instead of NAME which will allow less popular forks of
distros to work properly, for example archlabs, whose ID_LIKE will be
arch. And due to the simpler format this should be more
future-compatible.

It appears that some distros don't have ID_LIKE so it also includes ID
in the DISTRO variable.

There are a few downsides to this approach, notably:
 - The OpenSUSE message won't be able to detect whether the user is on
    leap or tumbleweed, so I made it print the command for both.
 - This requires some more globbing since the ID field will be before
    the ID_LIKE field, and the ID_LIKE field can include multiple
    distros.

https://freedesktop.org/software/systemd/man/os-release.html

PR #420
2021-08-08 15:53:22 +03:00
jackun
75cf178abd
Update build scripts for libdrm/SRT 2021-07-13 19:54:39 +03:00
vesterlay
fb672833da Update build.sh 2021-03-19 16:29:11 +02:00
KlfJoat
18fb0d5649 Fix var typo in unrecognized command argument feedback 2021-03-19 16:29:11 +02:00
flightlessmango
73b7c58724 Clean subprojects in build.sh clean 2021-02-03 11:36:27 +01:00
Witold Baryluk
d4b8f5f519 Search whole PATH for glslangValidator from system
This is more robust and correct way do to it.
2021-01-24 13:13:06 +02:00
jackun
6a5cd38127
Meson option to have absolute paths in LD_PRELOAD 2020-11-27 17:44:22 +02:00
jackun
b177b2ac1f
Partial revert 63b50abede 2020-11-10 09:32:24 +02:00
jackun
9974992f7a
Some distros annoyingly prefix tls/[x86_64|i686] with arch triplet 2020-10-22 19:22:54 +03:00
jackun
63b50abede
Try out tls/x86_64, tls/i686 for less symlinking 2020-09-11 10:47:26 +03:00
jackun
eb681427ca
\$LIB probably has lib/ in it too 2020-08-15 21:50:23 +03:00
FlightlessMango
8a39043a13 Merge branch 'master' into develop 2020-08-15 14:04:30 +02:00
jackun
8c4a724154
[build.sh] Go back to installing with install
Sudo'ing `ninja install` has high change of messing with file permissions in build dir
2020-08-13 18:37:06 +03:00
jackun
2aca7df721
Revert "[build.sh] Utilize ninja uninstall"
This reverts commit a16a5fd907.
2020-08-13 18:28:16 +03:00
jackun
b1dc9b2ca7
[build.sh] "Refreshen" build dirs before install
Running `sudo ninja install` isn't ideal but for convenience do it anyway.
Re-run `build` before install to somewhat mitigate files getting "chowned" by root.
2020-08-05 11:56:51 +03:00
jackun
a16a5fd907
[build.sh] Utilize ninja uninstall 2020-08-04 20:13:57 +03:00
jackun
a173989b1c
Make build.sh compatible with \$LIB 2020-08-04 19:51:00 +03:00
flightlessmango
5f51f3f1ed
Merge pull request #281 from m-rzb/master
Update build.sh
2020-08-02 06:36:07 +00:00
FlightlessMango
a06e01c7ef Merge branch 'develop' 2020-08-02 08:28:24 +02:00
FlightlessMango
27df2ef24b Merge branch 'benchmark-percentages' 2020-08-02 08:25:31 +02:00
FlightlessMango
107526198e [Build.sh] Updated glslang link for *buntu 2020-07-27 16:24:14 +02:00
jackun
05551a4049
build.sh: pass arguments to functions 2020-07-25 19:40:15 +03:00
jackun
da4b6a291d
build.sh: add fedora dbus-devel
Issue #263
2020-07-13 13:35:25 +03:00
Newbyte
53ceeb3182 Document reinstall in usage help 2020-06-29 17:50:45 +03:00
m-rzb
c9c91808dc
Update build.sh
Added "KDE neon"
2020-06-27 11:42:45 +01:00
Valters
cdeee98521
Add reinstall function to build.sh 2020-06-02 16:47:58 +03:00
jackun
1e300ae583
[build.sh] Don't run pip show with sudo
Allows for checking if it is already installed to user's home
2020-05-26 17:58:47 +03:00
jackun
610a69190f
[build.sh] Rename dep installer function to dep_install
On first run with e.g. `./build.sh build install`, `install` would get
"overwritten" by dep installer function instead.
2020-05-26 17:55:59 +03:00
jackun
5261088243
[build.sh] Fix distro name parsing if it doesn't have double quotes 2020-05-12 02:07:58 +03:00
jackun
768297b430
[editorconfig] Apply whitespace rules 2020-05-10 15:18:59 +03:00
FlightlessMango
2177aa35dc Merge branch 'develop' 2020-05-02 20:50:13 +02:00
jackun
12a528b894
Merge pull request #120 from medusalix/os-release
Improve os-release parsing
2020-04-21 17:34:28 +03:00
jackun
934dc31e44
Add utility lib with dlsym hooking 2020-04-21 17:05:37 +03:00
Newbyte
06e0fdd248 Remove $ that shouldn't have been there 2020-04-12 12:12:28 +02:00
Newbyte
9f83e15750 Implement doas support in build and setup scripts 2020-04-12 11:51:14 +02:00
FlightlessMango
d6314da8b2 Merge branch 'master' into develop 2020-04-11 22:49:50 +02:00
medusalix
4906140a49 Fix Debian os-release name 2020-04-09 14:03:35 +02:00
medusalix
f9b5e233ed Improve os-release parsing 2020-04-09 14:03:11 +02:00
jackun
b4163b744b
[build.sh] openSuse: add python3-pip and ninja to deps 2020-04-07 02:20:49 +03:00
jackun
08859b83c1
[build.sh] openSuse: pip install meson>=0.54, add dbus-1, warn about libXNVCtrl-devel needing extra repo 2020-04-05 16:10:30 +03:00
jackun
08d8ece7be
[build.sh] Ubuntu: add dbus and force pip to install meson>=0.54 2020-04-05 15:11:16 +03:00
FlightlessMango
0cb3bbef50 [Build script] Corrected name for Manjaro Linux 2020-04-05 14:00:04 +02:00
FlightlessMango
fea9980d06 [Build script] *Buntu no longer needs libx11-dev 32bit 2020-04-05 13:47:27 +02:00
jackun
186e40d702
[build.sh] Allow passing extra options to meson configure with CONFIGURE_OPTS env var 2020-03-30 22:50:38 +03:00
jackun
fd6e742474
[build.sh] Fix dependency installation by 'set +e' beforehand 2020-03-30 22:26:08 +03:00
jackun
52382834d5
Added nvctrl build dep for Fedora/openSUSE 2020-03-23 20:07:17 +02:00