proof-of-work-solver/build_all.sh

20 lines
405 B
Bash
Raw Permalink Normal View History

2024-10-30 21:03:22 +00:00
#!/bin/bash
# Update package list and install required utilities
sudo apt update
sudo apt install -y gcc make golang ruby python3 argon2
# Compile C
gcc -o solver_c solver.c -lm
# Compile Go
go build -o solver_go solver.go
# Check Ruby script
ruby -c solver.rb
# Python doesn't require compilation
echo "Python script (solver.py) does not require compilation."
echo "All files have been processed."