scripts are split between local and installs

This commit is contained in:
2026-06-23 21:01:42 +02:00
parent 25612fc232
commit fddbf187ee
4 changed files with 0 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/bin/bash
# ---------------------------------------------------------------------------------
# Odin compiler install recipe
# Target: Void Linux
# Builds from source - recommended method on Linux
# ---------------------------------------------------------------------------------
set -e
ODIN_DIR="$HOME/odin"
echo "Installing Odin build dependencies..."
sudo xbps-install -Sy llvm18 llvm18-devel clang18 libstdc++-devel
echo "Cloning Odin repository..."
git clone https://github.com/odin-lang/Odin "$ODIN_DIR"
cd "$ODIN_DIR"
echo "Building Odin compiler..."
LLVM_CONFIG=$(command -v llvm-config) make release-native
echo ""
echo "✓ Odin install complete."
echo " Then verify with: odin version"