tce-load -i compiletc cmake perl5 intltool clang desktop-file-utils libxslt-dev pugixml-dev gtk3-dev lensfun-dev libgphoto2-dev librsvg-dev exiv2-dev openjpeg-dev iso-codes libsecret-dev sdl2-dev lua-dev bash
wget https://github.com/darktable-org/darktable/releases/download/release-5.2.1/darktable-5.2.1.tar.xz
cd darktable-5.2.1
mkdir build
cd build
sudo ln -s /tmp/tcloop/gcc_libs-dev/usr/local/lib/libgomp.spec /usr/lib
cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE ../
find . -name flags.make -type f -exec sed -i 's/-march=native -g//g' {} \;
find . -name flags.make -type f -exec sed -i 's/-O3//g' {} \;
find . -name link.txt -type f -exec sed -i 's/-march=native -g//g' {} \;
find . -name link.txt -type f -exec sed -i 's/-O3//g' {} \;
make [23m 31.14s]
sudo make install
----
clinfo --list
Platform #0: rusticl
`-- Device #0: V3D 7.1.10.2
RUSTICL_ENABLE=v3d OCL_IGNORE_SELF_TEST=1 darktable -d opencl
darktable 5.2.1
Copyright (C) 2012-2025 Johannes Hanika and other contributors.
Compile options:
Bit depth -> 64 bit
Exiv2 -> 0.27.7
Lensfun -> 0.3.4
Debug -> DISABLED
SSE2 optimizations -> DISABLED
OpenMP -> ENABLED
OpenCL -> ENABLED
Lua -> ENABLED - API version 9.5.0
Colord -> DISABLED
gPhoto2 -> ENABLED
OSMGpsMap -> DISABLED - map view is NOT available
GMIC -> DISABLED - Compressed LUTs are NOT supported
GraphicsMagick -> DISABLED
ImageMagick -> DISABLED
libavif -> DISABLED
libheif -> DISABLED
libjxl -> DISABLED
LibRaw -> ENABLED - Version 0.22.0-Devel202502
OpenJPEG -> ENABLED
OpenEXR -> DISABLED
WebP -> ENABLED
See https://www.darktable.org/resources/ for detailed documentation.
See https://github.com/darktable-org/darktable/issues/new/choose to report bugs.
0.0001 [dt starting]
darktable -d opencl
0.3343 [opencl_init] opencl disabled via darktable preferences
0.3391 [opencl_init] opencl library 'libOpenCL' found on your system and loaded, preference 'default path'
0.4645 [opencl_init] found 1 platform
[opencl_init] found 1 device
[dt_opencl_device_init]
OpenCL Mesa platform `Mesa/X.org' --> `V3D 7.1.10.2'
DEVICE: 0: 'V3D 7.1.10.2', NEW
CONF KEY: cldevice_v5_rusticlv3d71102
PLATFORM, VENDOR & ID: rusticl, Mesa:Mesa/X.org, ID=5348
CANONICAL NAME: rusticlv3d71102
DRIVER VERSION: 25.0.5
DEVICE VERSION: OpenCL 3.0
DEVICE_TYPE: GPU, unified mem
*** The OpenCL driver doesn't provide image support. See also 'clinfo' output ***
[opencl_init] no suitable devices found.
0.4649 [opencl_init] FINALLY: opencl PREFERENCE=OFF is NOT AVAILABLE and NOT ENABLED.
clinfo | grep -i image
Image support No
Coming in mesa 25.2.x?
----
-- The following features have been enabled:
* OpenMP-based threading, used for parallelization of the library
* XML reading, used for loading of data/cameras.xml
* Lossy JPEG decoding, used for DNG Lossy JPEG compression decoding
* ZLIB decoding, used for DNG Deflate compression decoding
-- The following OPTIONAL packages have been found:
* FFI
* zstd
* LLVM
* Gphoto2 (required version >= 2.5)
* WebP (required version >= 0.3.0)
* OpenJPEG
* IsoCodes (required version >= 3.66)
* Libsecret
* Lua54 (required version >= 5.4)
* Cups
* SDL2, low level access to audio, keyboard, mouse, joystick, and graphics hardware,
* X11
-- The following REQUIRED packages have been found:
* Threads
* Gettext
* GTK3 (required version >= 3.24.15)
* LibXml2 (required version >= 2.6)
* LensFun
* SQLite3 (required version >= 3.26)
* GIO
* GThread
* GModule
* PangoCairo
* Rsvg2
* PNG
* TIFF
* LCMS2
* JsonGlib
* CURL (required version >= 7.56)
* Exiv2 (required version >= 0.27.2)
* Pugixml (required version >= 1.5), Light-weight, simple and fast XML parser,
Used for loading of data/cameras.xml
* Glib
* ZLIB, software library used for data compression
Used for decoding DNG Deflate compression
* JPEG, free library for handling the JPEG image data format, implements a JPEG codec
Used for decoding DNG Lossy JPEG compression
* OpenMP, Open Multi-Processing,
Used for parallelization of the library
-- The following OPTIONAL packages have not been found:
* Imath (required version >= 3.1)
* OpenEXR
* JXL (required version >= 0.7.0)
* libavif
* libheif (required version >= 1.13.0)
* PortMidi, Portable MIDI library,
Used for hardware MIDI input devices
* GraphicsMagick
* GMIC
* ICU
* OSMGpsMap
* Colord