34 Commits

Author SHA1 Message Date
Hugo Locurcio
35fce7fcf6 Remove unneeded dependencies from Fedora installation in Compiling for Linux/*BSD
Only a few packages are actually needed, as most libraries used by Godot
are either embedded or `dlopen()`'d at runtime.
2025-02-14 19:20:24 +01:00
Bernat
990fe8334f Fix library/binary confusion in compiling_for_linuxbsd.rst 2025-02-06 13:15:56 +01:00
Max Hilbrunner
73d92a8c3e Merge pull request #10439 from 0HyperCube/fedora-embree
Update fedora embree package
2025-01-03 10:32:38 +01:00
tetrapod00
c4d3aa134a Standardize RST header syntax 2024-12-29 13:44:09 -08:00
hypercube
ebdb8067f8 Fix fedora embree package 2024-12-26 16:50:28 +00:00
O.S. of Smecta
e117dc8c23 Improve instruction for RISC-V
* Improve instruction for RISC-V
2024-12-26 08:37:35 -05:00
Hugo Locurcio
59d97a7331 Remove instructions on setting up Pyston for faster development
This is done for several reasons:

- Recent CPython versions such as 3.13 have mostly caught up
  with Pyston in terms of performance. If the trend continues,
  CPython may supersede Pyston's performance in the long term.
  This is especially the case if the experimental JIT is
  eventually able to run Godot's SCons setup.
- Pyston is not maintained anymore (its last release was in 2022),
  and the last Python version it can run is 3.8. Python 3.8 is now
  end-of-life. Godot's SCons setup (as well as SCons itself) will
  eventually require Python versions newer than 3.8.
2024-11-29 02:05:45 +01:00
Jonathan Sekela
9057f15806 Add dev_build and dev_mode flags to scons compilation instructions for desktop editor pages 2024-11-19 19:55:33 -05:00
Max Hilbrunner
eda6a2da1f Compiling for Linux/BSD: Add openKylin
Co-authored-by: DSOE1024 <90103853+DSOE1024@users.noreply.github.com>
2024-11-17 11:56:12 +01:00
Thaddeus Crews
a12dfff799 Bump minimum SCons/Python for builds 2024-11-14 10:01:37 -06:00
MBCX
2a85b24ec3 Add compilation instructions for RISC-V 2024-09-05 11:00:35 -04:00
Gio
18ad4e72f3 Ubuntu APT oneliner to install system builtin alternatives (#9512)
* Ubuntu APT oneliner to install system builtin alternatives

Might work on Debian, not sure - tested on Ubuntu 24.04 LTS

* Use new table syntax (easier to maintain), add Debian

---------

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-07-29 00:11:19 +02:00
A Thousand Ships
36e2351df2 Fix invalid indentation in various files 2024-06-06 16:16:45 +02:00
Hugo Locurcio
06bd5b3ccb Fix false positives in codespell CI and fix reported typos
- Don't install codespell when building offline docs
  as it's not needed in that workflow.
2024-05-31 10:58:12 +02:00
Rémi Verschelde
55f6c52037 Compiling: Min versions are now SCons 3.1.2 and GCC 9 2024-05-17 11:24:51 +02:00
Hugo Locurcio
27f9076302 Update dependencies in Compiling for Linux/*BSD
- List Wayland dependency and packages on most distributions.
- Use `sudo` on distributions that are set up to use it by default.
- Use unattended install-friendly commands (e.g. `-y` switch).
- Mention required commands to run before installing, such as
  `apt-get update`.
- Fix install commands on some distributions:
  - Alpine no longer packages libexecinfo since 3.17, so it was removed
    from the list.
  - Solus requires `-c` for `system.devel`.
- Reorder distributions so they're in alphabetical order.
2024-05-11 00:05:57 +02:00
Mikael Hermansson
3279f8a8a8 Update the names of the export binaries 2024-04-17 12:26:18 +02:00
Hugo Locurcio
a5649f0a4b Clarify production=yes SCons option in Compiling for Linux/*BSD 2024-03-05 19:37:08 +01:00
DSOE1024
bd86d78232 Update compiling_for_linuxbsd.rst
Added a description that compiling for RISC-V devices requires the use of the Clang compiler
2024-01-29 19:52:43 +08:00
idoleat
4219b924bf Add an option to soft link besides copying
The document suggests copy `/usr/lib/libatomic_ops.a` to
`/usr/lib/libatomic.a`. Instead of copying, using a soft link to
libatomic_ops is also an option. The reason to soft link is also added.
I have successfully built Godot by using soft link.
2023-11-19 10:20:15 +08:00
Hugo Locurcio
338c1f6351 Update SCons link-time optimization option for 3.5 and later 2023-06-30 12:55:41 +02:00
worstname
4ec777d15e Update embree library version (embree3-devel) to install for Fedora. (#7404) 2023-05-24 15:49:53 +02:00
Max Hilbrunner
ae797db99c Merge pull request #7203 from kashiw1n/patch-1 2023-05-20 13:06:03 +02:00
Max Hilbrunner
8c9523a6ca Add solutions to an Arch Linux Clang and LLD error
Co-authored-by: dathide <47128084+Dathide@users.noreply.github.com>
2023-05-05 13:13:43 +02:00
kashiw1n
10cf0d3039 Fix link to the 3.x version of Compiling for Linux
Since there is no "3.x " branch of the docs, I'm not sure which branch the link should point to instead. I went with the latest 3.x, but maybe 3.0 is better?
2023-04-21 21:14:08 +02:00
Unai Martinez-Corral
08f2c7ce44 [contributing/development/compiling/compiling_for_linuxbsd] update style; use directives (#7059)
* [contributing/development/compiling/compiling_for_linuxbsd] use tabs to show distro-specific one-liners
2023-03-28 07:50:21 +02:00
John Veness
08498ef96a Change capitalization of Project Manager 2023-03-13 20:08:49 +00:00
RedworkDE
8f585bfd84 Fix Python link typo in Compiling for Linux (#6794) 2023-02-20 18:41:56 +01:00
Hugo Locurcio
9a361d1ecf Remove most mentions of SCons -j parameter as it's now set automatically
The Introduction to the buildsystem page still mentions this parameter
in case it needs to be changed, but in most situations, the default
value of `(number of CPU threads) - 1` does a good job.
2023-01-24 13:17:21 +01:00
Max Hilbrunner
be5ac7b34b Merge pull request #6648 from Calinou/compiling-linuxbsd-faster-linking
Document ways to further speed up linking in Compiling for Linux/*BSD
2023-01-23 17:19:46 +01:00
Hugo Locurcio
004654a114 Document ways to further speed up linking in Compiling for Linux/*BSD
mold and/or system libraries can be used to make iteration times
significantly faster when working on the engine.
2023-01-22 11:43:46 +01:00
Hugo Locurcio
14e4b0e110 Document using Pyston-lite for faster builds on macOS 2023-01-22 11:01:14 +01:00
Hugo Locurcio
554394c5cd Update Python version requirements on Compiling pages
The `master` branch has required Python 3.6 to be compiled for
a few years now.

This also makes the text more consistent across platforms.
2023-01-20 13:07:35 +01:00
Yuri Sizov
dbfe3b1d26 Reorganize documentation for contributors
- Merge Community/Contributing and Engine Development into one top-level section, Contributing.
- Structure it in a way that gives equal priority to various ways to contribute, including documentation.
- Rename several articles to be more comprehensive and in line with the overall state of the documentation.
- Rewrite the guide for class reference contributions.
2023-01-10 01:49:30 +03:00