2025-07-06 21:59:52 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
|
|
cd /p2pool
|
|
|
|
|
git fetch --jobs=$(nproc)
|
|
|
|
|
git checkout $1
|
|
|
|
|
git submodule update --recursive --jobs $(nproc)
|
|
|
|
|
|
2025-07-07 10:54:58 +02:00
|
|
|
export COMPILER="-DCMAKE_C_COMPILER=/usr/local/gcc-$2/bin/gcc -DCMAKE_CXX_COMPILER=/usr/local/gcc-$2/bin/g++ -DCMAKE_AR=/usr/local/gcc-$2/bin/gcc-ar -DCMAKE_RANLIB=/usr/local/gcc-$2/bin/gcc-ranlib"
|
2025-07-06 21:59:52 +02:00
|
|
|
|
2025-07-07 10:54:58 +02:00
|
|
|
./test2.sh
|