Skip to content

Commit 2b665ae

Browse files
authored
Merge pull request #754 from OpenGATE/kochebina-patch-2
Update dependencies and versions in vGate.sh
2 parents 9b1d13b + de35c9e commit 2b665ae

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

source/docker/vGate.sh

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Ubuntu 22.04
22
#user: vgate
3-
#psswd: virtual
3+
#psswd: vgate
44

55
sudo apt update
66
sudo apt install build-essential
@@ -26,8 +26,10 @@ sudo apt-get install -y
2626
libx11-dev \
2727
libtbb-dev \
2828
libxext-dev \
29-
qtbase5-dev \
30-
qt5-qmake \
29+
qt6-base-dev \
30+
qt6-base-dev-tools \
31+
qt6-tools-dev \
32+
qt6-tools-dev-tools \
3133
python3.8-dev \
3234
ccache \
3335
libfftw3-dev
@@ -39,7 +41,7 @@ cd Software
3941
mkdir VTK ITK RTK vv root Geant4 Gate
4042
cd VTK
4143
mkdir src bin
42-
git clone -b v9.0.3 https://github.com/Kitware/VTK.git src
44+
git clone -b v9.5.0 https://github.com/Kitware/VTK.git src
4345
cd bin
4446
cmake ../src -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DVTK_MODULE_ENABLE_VTK_GUISupportQt=YES -DVTK_MODULE_ENABLE_VTK_RenderingQt=YES -DVTK_MODULE_ENABLE_VTK_ViewsQt=YES
4547
make
@@ -74,20 +76,22 @@ cd ..
7476
cd
7577
cd Software/root
7678
mkdir src bin
77-
git clone -b v6-32-02 https://github.com/root-project/root.git src
79+
git clone -b v6-38-00 https://github.com/root-project/root.git src
7880
cd bin
7981
cmake ../src -DCMAKE_CXX_STANDARD=17 \
8082
-Dpython=OFF \
8183
-Dpyroot=OFF \
8284
-Dclad=OFF \
8385
-Dxrootd=OFF \
86+
-DCMAKE_OSX_ARCHITECTURES=arm64 \
87+
-DCMAKE_INSTALL_PREFIX=$HOME/software/root/install
8488
-DCMAKE_INSTALL_PREFIX=$HOME/Software/root/install
8589
make install
8690

8791
cd
8892
cd Software/Geant4
8993
mkdir src bin install data
90-
git clone -b v11.3.0 https://github.com/Geant4/geant4.git src
94+
git clone -b v11.4.0 https://github.com/Geant4/geant4.git src
9195
cd bin
9296
ccmake ../src -DGEANT4_INSTALL_DATA=ON -DGEANT4_BUILD_MULTITHREADED=OFF -DGEANT4_INSTALL_DATADIR=/home/vgate/Software/Geant4/data -DCMAKE_INSTALL_PREFIX=/home/vgate/Software/Geant4/install -DGEANT4_BUILD_MULTITHREADED=OFF -DGEANT4_USE_QT=ON -DGEANT4_USE_OPENGL_X11=ON
9397
make install
@@ -119,7 +123,7 @@ echo 'source /home/vgate/Software/Geant4/install/bin/geant4.sh' >> /home/vgate/.
119123
cd
120124
cd Software/Gate
121125
mkdir src bin
122-
git clone -b v9.4.1 https://github.com/OpenGATE/Gate.git src
126+
git clone -b v9.4.2 https://github.com/OpenGATE/Gate.git src
123127
cd bin
124128
ccmake ../src -DGATE_USE_RTK=ON -DGATE_USE_TORCH=ON -DTorch_DIR=/home/vgate/Software/libtorch/share/cmake/Torch -DGATE_COMPILE_GATEDIGIT=ON
125129
make

0 commit comments

Comments
 (0)