Addded option to build PHD2
This commit is contained in:
parent
c8a5cae067
commit
96ab8b495f
3
README
3
README
@ -17,3 +17,6 @@ Beware that only one version can be installed at a time and during installation
|
||||
it overwrite previosly installed version.
|
||||
|
||||
KStars NEED 64bit OS so make sure that you are running this on 64 bit Raspberry OS or alike. It will fail on 32 bit system
|
||||
|
||||
You can build PHD2 2.6.12 by adding phd2 as argument for either of script. For example `./build-soft-stable.sh phd2`
|
||||
But before that you may need to install libwxgtk3.0-gtk3-dev or libwxgtk3.2-dev depending on distribution.
|
||||
|
@ -70,12 +70,15 @@ sudo make install || { echo "KStars installation failed"; exit 1; }
|
||||
|
||||
sudo ldconfig
|
||||
|
||||
exit
|
||||
[ "$1" != "phd2" ] && exit
|
||||
|
||||
cd "$ROOTDIR"
|
||||
[ ! -d "phd2" ] && git clone --depth=1 https://github.com/OpenPHDGuiding/phd2.git
|
||||
[ ! -d "phd2" ] && git clone https://github.com/OpenPHDGuiding/phd2.git
|
||||
cd phd2
|
||||
[ $CHECKOUT == 1 ] && git pull origin
|
||||
[ ! -d ../build-phd2 ] && cmake -B ../build-phd2 ../phd2 -DCMAKE_BUILD_TYPE=Release || { echo "PHD2 failed"; exit 1; }
|
||||
cd ../build-phd2 || { echo "PHD2 failed"; exit 1; }
|
||||
make -j $JOBS || { echo "PHD2 failed"; exit 1; }
|
||||
git fetch origin
|
||||
git switch -d --discard-changes "v2.6.12"
|
||||
[ ! -d ../build-phd2 ] && cmake -B ../build-phd2 -DCMAKE_BUILD_TYPE=Release || { echo "PHD2 configuration failed"; exit 1; }
|
||||
cd ../build-phd2
|
||||
make -j $JOBS || { echo "PHD2 compilation failed"; exit 1; }
|
||||
sudo make install
|
||||
|
||||
|
@ -81,12 +81,15 @@ sudo make install || { echo "KStars installation failed"; exit 1; }
|
||||
|
||||
sudo ldconfig
|
||||
|
||||
exit
|
||||
[ "$1" != "phd2" ] && exit
|
||||
|
||||
cd "$ROOTDIR"
|
||||
[ ! -d "phd2" ] && git clone --depth=1 https://github.com/OpenPHDGuiding/phd2.git
|
||||
[ ! -d "phd2" ] && git clone https://github.com/OpenPHDGuiding/phd2.git
|
||||
cd phd2
|
||||
[ $CHECKOUT == 1 ] && git pull origin
|
||||
[ ! -d ../build-phd2 ] && cmake -B ../build-phd2 ../phd2 -DCMAKE_BUILD_TYPE=Release || { echo "PHD2 failed"; exit 1; }
|
||||
cd ../build-phd2 || { echo "PHD2 failed"; exit 1; }
|
||||
make -j $JOBS || { echo "PHD2 failed"; exit 1; }
|
||||
git fetch origin
|
||||
git switch -d --discard-changes "v2.6.12"
|
||||
[ ! -d ../build-phd2 ] && cmake -B ../build-phd2 -DCMAKE_BUILD_TYPE=Release || { echo "PHD2 configuration failed"; exit 1; }
|
||||
cd ../build-phd2
|
||||
make -j $JOBS || { echo "PHD2 compilation failed"; exit 1; }
|
||||
sudo make install
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user