Index of /riscv64/DC-ROMA-II-Pad/Tools/godot/
# Make sure we have latest clang
mkdir $HOME/SRC
cd $HOME/SRC
git clone --depth=1 https://github.com/llvm/llvm-project.git
cd llvm-project
mkdir build
cd build
cmake -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ../llvm
make -j8
sudo make install
# Compile mold linker
cd $HOME/SRC
git clone https://github.com/rui314/mold
cd mold
mkdir build
cd build
cmake ..
make -j8
sudo make install
# Compile godot 4.3-stable (editor)
cd $HOME/SRC
wget https://github.com/godotengine/godot/archive/refs/tags/4.3-stable.tar.gz
tar -zxvf 4.3-stable.tar.gz
cd godot-4.3-stable
scons -j8 arch="rv64" use_llvm="yes" linker="mold" lto="none" \
target="editor" platform="linux" \
precision="single" module_text_server_fb_enabled="yes" \
module_theora_enabled="no" \
module_denoise_enabled="no" \
module_raycast_enabled="no" \
module_xatlas_unwrap_enabled="no" \
# Run godot (editor) on DC-ROMA II pad
cd $HOME/SRC/godot-4.3-stable/bin
./godot.linuxbsd.editor.rv64.llvm --display-driver wayland --rendering-driver opengl3_es