Commit Graph

109 Commits (aafc2e0981193fb76891a09df671e1114590de4c)

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>
2 years ago
jackun 24a011702f
[build.sh] Fix typo 3 years ago
jackun f273bf20f1
[build.sh] Re-add Deepin 3 years ago
jackun 361641382c
[build.sh] Attempt to fix wrong 32bit lib dir on non-Arch distros 3 years ago
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
3 years ago
jackun 75cf178abd
Update build scripts for libdrm/SRT 3 years ago
vesterlay fb672833da Update build.sh 3 years ago
KlfJoat 18fb0d5649 Fix var typo in unrecognized command argument feedback 3 years ago
flightlessmango 73b7c58724 Clean subprojects in build.sh clean 3 years ago
Witold Baryluk d4b8f5f519 Search whole PATH for glslangValidator from system
This is more robust and correct way do to it.
3 years ago
jackun 6a5cd38127
Meson option to have absolute paths in LD_PRELOAD 3 years ago
jackun b177b2ac1f
Partial revert 63b50abede 4 years ago
jackun 9974992f7a
Some distros annoyingly prefix `tls/[x86_64|i686]` with arch triplet 4 years ago
jackun 63b50abede
Try out tls/x86_64, tls/i686 for less symlinking 4 years ago
jackun eb681427ca
\$LIB probably has `lib/` in it too 4 years ago
FlightlessMango 8a39043a13 Merge branch 'master' into develop 4 years ago
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
4 years ago
jackun 2aca7df721
Revert "[build.sh] Utilize `ninja uninstall`"
This reverts commit a16a5fd907.
4 years ago
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.
4 years ago
jackun a16a5fd907
[build.sh] Utilize `ninja uninstall` 4 years ago
jackun a173989b1c
Make build.sh compatible with \$LIB 4 years ago
flightlessmango 5f51f3f1ed
Merge pull request #281 from m-rzb/master
Update build.sh
4 years ago
FlightlessMango a06e01c7ef Merge branch 'develop' 4 years ago
FlightlessMango 27df2ef24b Merge branch 'benchmark-percentages' 4 years ago
FlightlessMango 107526198e [Build.sh] Updated glslang link for *buntu 4 years ago
jackun 05551a4049
build.sh: pass arguments to functions 4 years ago
jackun da4b6a291d
build.sh: add fedora dbus-devel
Issue #263
4 years ago
Newbyte 53ceeb3182 Document reinstall in usage help 4 years ago
m-rzb c9c91808dc
Update build.sh
Added "KDE neon"
4 years ago
Valters cdeee98521
Add reinstall function to build.sh 4 years ago
jackun 1e300ae583
[build.sh] Don't run `pip show` with sudo
Allows for checking if it is already installed to user's home
4 years ago
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.
4 years ago
jackun 5261088243
[build.sh] Fix distro name parsing if it doesn't have double quotes 4 years ago
jackun 768297b430
[editorconfig] Apply whitespace rules 4 years ago
FlightlessMango 2177aa35dc Merge branch 'develop' 4 years ago
jackun 12a528b894
Merge pull request #120 from medusalix/os-release
Improve os-release parsing
4 years ago
jackun 934dc31e44
Add utility lib with dlsym hooking 4 years ago
Newbyte 06e0fdd248 Remove $ that shouldn't have been there 4 years ago
Newbyte 9f83e15750 Implement doas support in build and setup scripts 4 years ago
FlightlessMango d6314da8b2 Merge branch 'master' into develop 4 years ago
medusalix 4906140a49 Fix Debian os-release name 4 years ago
medusalix f9b5e233ed Improve os-release parsing 4 years ago
jackun b4163b744b
[build.sh] openSuse: add python3-pip and ninja to deps 4 years ago
jackun 08859b83c1
[build.sh] openSuse: pip install meson>=0.54, add dbus-1, warn about libXNVCtrl-devel needing extra repo 4 years ago
jackun 08d8ece7be
[build.sh] Ubuntu: add dbus and force pip to install meson>=0.54 4 years ago
FlightlessMango 0cb3bbef50 [Build script] Corrected name for Manjaro Linux 4 years ago
FlightlessMango fea9980d06 [Build script] *Buntu no longer needs libx11-dev 32bit 4 years ago
jackun 186e40d702
[build.sh] Allow passing extra options to meson configure with CONFIGURE_OPTS env var 4 years ago
jackun fd6e742474
[build.sh] Fix dependency installation by 'set +e' beforehand 4 years ago
jackun 52382834d5
Added nvctrl build dep for Fedora/openSUSE 4 years ago