Skip to content

Commit

Permalink
Update prepare.sh and README.
Browse files Browse the repository at this point in the history
  • Loading branch information
renpytom committed Dec 22, 2024
1 parent 2e2c3f8 commit d74734b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 33 deletions.
35 changes: 4 additions & 31 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ the same manner that is used to make official Ren'Py releases.
Requirements
-------------

Ren'Py Build requires a computer running Ubuntu 22.04. While it can run on
Ren'Py Build requires a computer running Ubuntu 24.04. While it can run on
a desktop computer, portions of the build process must run at root, and the
whole process has security implications. My recommendation is to create a
virtual machine, install Ubuntu 22.04 on it, and run this procedure on
virtual machine, install Ubuntu 42.04 on it, and run this procedure on
that machine.

The virtual machine must be provisioned with at least 64 GB of disk space.
Expand Down Expand Up @@ -81,7 +81,7 @@ It should then be possible to build using the command::
The build command can take some options:

`--python <version>`
The python version to build. Can be "3" or "2", defaults to 3.
The python version to build. Only 3 is currently valid.

`--platform <name>`
The platform to build for. One of linux, windows, mac, android, ios, or web.
Expand All @@ -90,34 +90,9 @@ The build command can take some options:
The architecture to build for. The architectures vary by platform,
here is a copy of the table from build.py. ::

# Python 2

Platform("linux", "x86_64", "2")
Platform("linux", "i686", "2")
Platform("linux", "aarch64", "2")
Platform("linux", "armv7l", "2")

Platform("windows", "x86_64", "2")
Platform("windows", "i686", "2")

Platform("mac", "x86_64", "2")
Platform("mac", "arm64", "2")

Platform("android", "x86_64", "2")
Platform("android", "arm64_v8a", "2")
Platform("android", "armeabi_v7a", "2")

Platform("ios", "arm64", "2")
Platform("ios", "sim-x86_64", "2")
Platform("ios", "sim-arm64", "2")

Platform("web", "wasm", "2")

# Python 3

Platform("linux", "x86_64", "3")
Platform("linux", "aarch64", "3")
Platform("linux", "armv7l", "3")

Platform("windows", "x86_64", "3")

Expand All @@ -132,10 +107,8 @@ The build command can take some options:
Platform("ios", "sim-x86_64", "3")
Platform("ios", "sim-arm64", "3")

Platform("web", "wasm", "3", experimental=True)
Platform("web", "wasm", "3")

`--experimental`
This builds platforms marked as experimental.

A second build should be faster than the first, as it will only rebuild
Ren'Py, pygame_sdl2, and other components that are likely to frequently
Expand Down
4 changes: 2 additions & 2 deletions prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ mkdir -p $ROOT/tmp
# Clang is needed to compile for many platforms.
wget -O tmp/llvm.sh https://apt.llvm.org/llvm.sh
chmod +x tmp/llvm.sh
sudo tmp/llvm.sh 15
sudo tmp/llvm.sh 18

# Darwin clang_rt is needed to prevent undefined symbol: __isPlatformVersionAtLeast
sudo tar xzf "$BASE/prebuilt/clang_rt.tar.gz" -C /usr/lib/clang/15/lib/
sudo tar xzf "$BASE/prebuilt/clang_rt.tar.gz" -C /usr/lib/clang/18/lib/


# Install the programs and virtualenvs.
Expand Down

0 comments on commit d74734b

Please sign in to comment.