From 9db78e83a37ae6af023dbdf050bee40351a0ee32 Mon Sep 17 00:00:00 2001 From: David Jensenius Date: Sat, 7 Feb 2026 15:26:08 -0500 Subject: [PATCH] Don't install rust stuff until clang is done --- install.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 24f3396..43547de 100755 --- a/install.sh +++ b/install.sh @@ -255,6 +255,9 @@ function install_software() { # Parallel installation mode with fast track for essential tools echo "🚀 Using parallel installation with fast track for essential tools..." + # Wait for clang to be available before using CC=clang + wait $additional_packages_pid + # FOREGROUND PRIORITY: Install atuin, zoxide, and tree-sitter in parallel before login start_time=$(start_operation "Foreground priority: atuin, zoxide, tree-sitter") echo "🎯 Installing atuin, zoxide, and tree-sitter in foreground (parallel)..." @@ -354,9 +357,6 @@ function install_software() { echo "❌ External tools installation failed" >> "$LOG_FILE" fi - # Wait for additional packages to complete before showing status - wait $additional_packages_pid - # Let user know about background installations echo "" echo "🦀 Rust tools are installing in the background (PID: $rust_background_pid)" @@ -408,6 +408,9 @@ function install_software() { export PATH="$PATH:$HOME/.local/bin" log_with_timing "Installing Protocol Buffers" "$start_time" + # Wait for clang to be available before using CC=clang + wait $additional_packages_pid + # Cargo installations (these tend to be slow) start_time=$(start_operation "Installing eza via cargo") CC=clang cargo install eza