This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -e | |
| echo "=== 1. Ensuring build tools and C compiler are ready ===" | |
| if command -v conda &>/dev/null || module load anaconda3 2>/dev/null; then | |
| conda install -y -p "$HOME/.local/envs/nvim" -c conda-forge gcc_linux-64 gxx_linux-64 make tree-sitter-cli git 2>/dev/null || true | |
| fi | |
| if [ -f "$HOME/.local/bin/micromamba" ]; then | |
| "$HOME/.local/bin/micromamba" install -y -p "$HOME/.local/envs/nvim" -c conda-forge gcc_linux-64 gxx_linux-64 make tree-sitter-cli git 2>/dev/null || true | |
| fi |