Skip to content

Commit

Permalink
Updated README and prepare_for_dev scripts. Added opencl packages
Browse files Browse the repository at this point in the history
  • Loading branch information
buddhi1980 committed Dec 20, 2018
1 parent 2345d0d commit c5db0bd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion mandelbulber2/deploy/README
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,11 @@ QGAMEPAD: for gamepad support qt is required in version 5.7 and above

Mandelbulber can utilize OpenCL to accelerate rendering.
To compile Mandelbulber with OpenCL support, the headers need to be present.
These can be obtained with the package: opencl-headers
To use an OpenCL device you need to install a current driver for the CPU/GPU.

required packages:
opencl-headers ocl-icd-libopencl1

Compiling from source:
cd makefiles
qmake mandelbulber-opencl.pro
Expand Down
5 changes: 3 additions & 2 deletions mandelbulber2/tools/prepare_for_dev_debian_testing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ installing all needed packages
sudo apt-get install build-essential libqt5gui5 qt5-default libpng16-16 libpng-dev qttools5-dev qttools5-dev-tools \
libgomp1 libgsl-dev qtmultimedia5-dev libsndfile1-dev libqt5multimedia5-plugins liblzo2-2 liblzo2-dev
sudo apt-get install qtcreator git
sudo apt-get install opencl-headers ocl-icd-libopencl1

echo "
getting fresh source files from git repository
Expand All @@ -43,7 +44,7 @@ compiling the program
"

cd qmake
qmake mandelbulber.pro
qmake mandelbulber-opencl.pro
make -j4

echo "
Expand Down Expand Up @@ -77,7 +78,7 @@ sudo ln -s ${PWD}/deploy/share/mandelbulber2/sounds $MANDELBULBER_SHARE/sounds
sudo ln -s ${PWD}/opencl $MANDELBULBER_SHARE/opencl

echo "To start development of Mandelbulber you can open
mandelbulber2/mandelbulber2/qmake/mandelbulber.pro
mandelbulber2/mandelbulber2/qmake/mandelbulber-opencl.pro
with QtCreator which is already in your system"

echo "To run the program you need to launch folowing file:
Expand Down
5 changes: 3 additions & 2 deletions mandelbulber2/tools/prepare_for_dev_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ installing all needed packages
sudo apt-get install build-essential libqt5gui5 qt5-default libpng16-16 libpng-dev qttools5-dev qttools5-dev-tools \
libgomp1 libgsl-dev libsndfile1-dev qtmultimedia5-dev libqt5multimedia5-plugins liblzo2-2 liblzo2-dev
sudo apt-get install qtcreator git
sudo apt-get install opencl-headers ocl-icd-libopencl1

echo "
getting fresh source files from git repository
Expand All @@ -43,7 +44,7 @@ compiling the program
"

cd qmake
qmake mandelbulber.pro
qmake mandelbulber-opencl.pro
make -j4

echo "
Expand Down Expand Up @@ -77,7 +78,7 @@ sudo ln -s ${PWD}/deploy/share/mandelbulber2/sounds $MANDELBULBER_SHARE/sounds
sudo ln -s ${PWD}/opencl $MANDELBULBER_SHARE/opencl

echo "To start development of Mandelbulber you can open
mandelbulber2/mandelbulber2/qmake/mandelbulber.pro
mandelbulber2/mandelbulber2/qmake/mandelbulber-opencl.pro
with QtCreator which is already in your system"

echo "To run the program you need to launch folowing file:
Expand Down

0 comments on commit c5db0bd

Please sign in to comment.