Commit graph

1100 commits

Author SHA1 Message Date
CvH
8aaaa82fab
Merge pull request #6666 from lrusak/qa-checks
Add support for logging and reporting QA Checks
2022-07-18 12:19:21 +02:00
CvH
8ea83db9e3
Merge pull request #6606 from SupervisedThinking/up_generic_target_cpu
[le11] config/arch.x86_64: updated TARGET_CPU & TARGET_FEATURES
2022-07-11 12:01:41 +02:00
Matthias Reichl
bb7c110320 config/optimize: drop unused MACHINE_HARDWARE_CPU/PLATFORM variables
uname options -p and -i are non portable and return "unknown" on
Linux with GNU coreutils as there's no OS support for it.

Note: some distributions like Fedora or Ubunto patch coreutils so
that uname -p (more or less) returns the machine name (uname -m output).
But that should not be used and fails on distributions like Debian
that don't add that patch.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-06-30 16:35:04 +02:00
Matthias Reichl
27c6321afe rust: use MACHINE_HARDWARE_NAME instead of MACHINE_HARDWARE_CPU
Signed-off-by: Matthias Reichl <hias@horus.com>
2022-06-30 16:35:04 +02:00
Matthias Reichl
210049e5cc config/functions: set build cpu in meson.conf to MACHINE_HARDWARE_NAME
This is also what meson does by default on Linux as Linux doesn't
support reporting CPU type.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-06-30 16:35:04 +02:00
Lukas Rusak
27b48ddff2
config/functions: log safe_remove as a qa check 2022-06-28 15:24:23 -07:00
Lukas Rusak
3fa587eb52
add ability to log qa checks 2022-06-28 15:24:22 -07:00
SupervisedThinking
35d4939701 config/arch.x86_64: updated TARGET_CPU & TARGET_FEATURES 2022-06-17 20:09:50 +02:00
SupervisedThinking
99e260c909 config/show_config: ident cflags/ldflags 2022-05-27 01:19:21 +02:00
CvH
825503c729
Merge pull request #6502 from lrusak/rust
Compile rust compiler from scratch
2022-05-21 09:36:08 +02:00
Lukas Rusak
a5dedbd369
rust: add package 2022-05-17 14:57:32 -07:00
Lukas Rusak
4ec7fb1638
llvm: cleanup target build 2022-05-16 09:01:30 -07:00
Rudi Heitbaum
5c6663237e config/functions: improve error message when there in not a device directory 2022-05-11 13:15:34 +00:00
Tomáš Kelemen (vudiq)
d901413d8a
Merge 'libreelec/master'
pull updates from upstream
2022-04-23 21:44:57 +02:00
Jernej Skrabec
771d19715b config: switch aarch64 toolchain 2022-04-14 19:52:37 +02:00
Tomáš Kelemen (vudiq)
8069eb0a09
Merge changes from LibreELEC master 2022-04-12 18:24:10 +02:00
CvH
e4e5d2a412
Merge pull request #5876 from antonlacon/le11-toolchain
Toolchain Updates
2022-04-09 17:32:16 +02:00
Tomáš Kelemen (vudiq)
ee6140e55c
Merge 'libreelec/master' 2022-03-04 00:02:04 +01:00
CvH
70c3c5d981
Merge pull request #5255 from smp79/master
Remove redundant ARCH specific *FLAGS for x86-64
2022-02-28 05:25:30 +01:00
SupervisedThinking
8893cf7106 config/optimize: build debug with -Og instead of -0s
If we build with `-Os` some vars are missing in backtraces and will be listed as `<optimized out>`

- https://github.com/PCSX2/pcsx2/issues/5226#issuecomment-1036987320

```
Optimize debugging experience. -Og should be the optimization level of choice for the standard edit-compile-debug cycle, offering a reasonable level of optimization while maintaining fast compilation and a good debugging experience. It is a better choice than -O0 for producing debuggable code because some compiler passes that collect debug information are disabled at -O0.

Like -O0, -Og completely disables a number of optimization passes so that individual options controlling them have no effect. Otherwise -Og enables all -O1 optimization flags except for those that may interfere with debugging:
```

- https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
2022-02-17 15:39:30 +01:00
CvH
1808f92226
Merge pull request #6094 from heitbaum/rpath-so
Remove libtool preserved temporary RPATH/RUNPATH from "shared object" ELF binaries (libraries/executables)
2022-02-03 17:44:55 +01:00
SupervisedThinking
ccd90a3a56 config/grapic: add VA-API / Vulkan support for nvidia-ng 2022-02-03 11:13:35 +01:00
heitbaum
4762f8a1d0 config/functions: add libtool_remove_rpath function
This function can be used on "autotools" and "configure" packages.

Use libtool_remove_rpath() to remove hardcode rpath when --disable-rpath
is not supported by "configure".

usage: `libtool_remove_rpath libtool`

If there are multiple libtool scripts or they are in subdirectories,
then you may need to run this function using the path to libtool or run
the function multiple times.

If binaries and shared objects installed by the package to target have
incorrect or system libraries then this function can be used. After
using the function, these example command below should NOT have a
RPATH/RUNPATH.

e.g. (before using the fucntion)
  $ readelf --dynamic ${filename} | grep PATH
    RPATH           Library runpath: [.....]
    RUNPATH         Library runpath: [.....]

Before using this function; check if the package supports
--disable-rpath (and that it works.) Work with upstream and have a
working --disable-rpath added to the package.
2022-01-23 21:39:17 +00:00
SupervisedThinking
3bec9f616f config/show_config: added Vulkan opts 2022-01-01 14:26:52 +01:00
SupervisedThinking
2d756f0d61 config/graphic: added Vulkan opts 2022-01-01 14:26:52 +01:00
Ian Leonard
79d1e14510 buildsystem: rename GCC_OPTS to TARGET_ARCH_GCC_OPTS
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-12-25 21:28:35 +00:00
heitbaum
f6e648aad8 ntfs-3g_ntfsprogs: drop package 2021-12-08 21:49:50 +00:00
CvH
aef66b7ef5
Merge pull request #5911 from SupervisedThinking/config_tweaks
[le11] config/graphics & show_config: clean up & tweaks
2021-12-08 12:04:56 +01:00
CvH
4e16eba336
Merge pull request #5916 from SupervisedThinking/meson_native_build
[le11] use Meson native build for package:host
2021-12-08 12:04:13 +01:00
Peter
3c5b47bb32 config/functions: fix file get_handler_support with manual toolchain
Currently building a package with

GET_HANDLER_SUPPORT="file"
PKG_URL="file:///some_path_to_file_with_sources"

throws an error

ERROR: using manual toolchain but PKG_TAR_COPY_OPTS is configured.
2021-12-01 07:21:18 +01:00
SupervisedThinking
4ef5569205 config/graphics & show_config: clean up & tweaks
- clean up
- tweaks for show_config
- default to `OPENGL/OPENGLES=no` if not set
- sort `GRAPHIC_DRIVERS` & list them for all projects not just x11
- moved video acceleration out of graphic config
2021-11-29 17:49:16 +01:00
SupervisedThinking
6f2ccfae7e config/functions: add build_machine to meson conf 2021-11-29 17:31:58 +01:00
SupervisedThinking
ec1d61ce43 config/optimize: add MACHINE_HARDWARE_CPU for meson conf 2021-11-29 17:31:58 +01:00
Tomáš Kelemen (vudiq)
6bd3406f20
Merge branch 'libreelec-master' 2021-11-27 12:32:40 +01:00
heitbaum
4bc87e50ab mesa GRAPHIC_DRIVERS: delete classic drivers (DRI)
i915, i965, nouveau, r100, r200
2021-11-22 15:16:43 +11:00
Tomáš Kelemen (vudiq)
f1e2ea4d6b
Merge branch 'libreelec-master' 2021-11-20 13:59:00 +01:00
Tomáš Kelemen (vudiq)
c1d478df35
mesa: crocus: prefer crocus for older intel GPUs, drop i965 driver 2021-10-27 18:03:30 +02:00
Tomáš Kelemen (vudiq)
4e6f8705e6
crocus: add Mesa gallium driver for older Intel GPUs 2021-10-27 15:45:50 +02:00
Tomáš Kelemen (vudiq)
3982e1b98b Pull updates from LibreELEC/master 2021-10-26 22:27:07 +02:00
CvH
36dcdfdc8b
Merge pull request #5779 from antonlacon/assorted-minors
Assorted minors
2021-10-26 11:43:35 +02:00
mglae
a0ec688ed9
Merge pull request #4738 from mklein-de/pythondontwritebytecode
Fix Python package breakage due to PYTHONDONTWRITEBYTECODE=1
2021-10-24 16:01:44 +02:00
Tomáš Kelemen (vudiq)
bdb7d1951d Pull updates from LibreELEC/master 2021-10-21 10:05:13 +02:00
rschupp
8781ccb0d5 build: fix detection of multiarch lib and include directories 2021-10-18 09:29:43 +02:00
Ian Leonard
7e67a70da0 show_config: remove a subshell
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-10-17 21:59:35 +00:00
Tomáš Kelemen (vudiq)
2061b4d004 Generic: graphic: add crocus driver
Co-authored-by: Demetris Ierokipides <ierokipides.dem@gmail.com>
Co-authored-by: David Lawson <dmrlawson@gmail.com>
2021-10-15 21:52:09 +02:00
Tomáš Kelemen (vudiq)
607dcb16b9 Merge remote-tracking branch 'libreelec/master' 2021-10-07 11:40:15 +02:00
Tomáš Kelemen (vudiq)
580391f3b5 Initial support for Generic.i386 (32-bit PC) 2021-10-05 10:27:28 +02:00
CvH
507492c930
Merge pull request #5435 from antonlacon/le11-arch-options
buildsystem: change when config/arch.$ARCH is sourced
2021-10-03 08:02:45 +02:00
CvH
8d6e4ac9a7
Merge pull request #5453 from antonlacon/le11-passwd
buildsystem: cleanup password hashing; drop busybox:host
2021-10-03 08:00:41 +02:00
CvH
7812192049
Merge pull request #5436 from antonlacon/functions-cleanup
Reduce subprocesses in buildsystem
2021-10-03 08:00:07 +02:00