Michael - You are getting a "dirty" tag on your compile. This can be fixed by doing the following before you do the build.sh:

git pull --rebase --recurse-submodules

Works for me.

Jack

On 2020-07-16 4:56 p.m., Michael Rasmussen wrote:
On Fri, 17 Jul 2020 01:23:37 +0200
Michael Rasmussen <m...@miras.org> wrote:

If I start darktable with opencl enabled I get this error message:
: CommandLine Error: Option 'polly' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options

Found the issue, I think:
Debian sid has transitioned to LLVM-10 are therefor opencl is also
transitioned to LLVM-10. Darktable's opencl support only works with
LLVM-3.6 to LLVM-9 since compiling darktable's opencl support with
LLVM-10 shows the same error.

-- Found LLVM 10.0.1
-- Found clang compiler - /usr/bin/clang-10
-- Found clang opencl-c.h header in
/usr/lib/llvm-10/lib/clang/10.0.1/include -- Will be able to
test-compile OpenCL programs. Nice.

darktable --version
this is darktable 3.0.2+9~g5ac2260e3-dirty
copyright (c) 2009-2020 johannes hanika
darktable-...@lists.darktable.org

compile options:
   bit depth is 64 bit
   normal build
   SSE2 optimized codepath enabled
   OpenMP support enabled
   OpenCL support enabled
   Lua support enabled, API version 5.0.2
   Colord support enabled
   gPhoto2 support enabled
   GraphicsMagick support enabled
   OpenEXR support enabled

darktable-cltest
0.022321 [opencl_init] opencl related configuration options:
0.022335 [opencl_init]
0.022337 [opencl_init] opencl: 1
0.022339 [opencl_init] opencl_scheduling_profile: 'default'
0.022341 [opencl_init] opencl_library: ''
0.022343 [opencl_init] opencl_memory_requirement: 768
0.022345 [opencl_init] opencl_memory_headroom: 500
0.022347 [opencl_init] opencl_device_priority: '!GeForce GTX
1050,*/!GeForce GTX 1050 Ti,*/GeForce GTX 1050 Ti,*/GeForce GTX 1050
Ti,*' 0.022349 [opencl_init] opencl_mandatory_timeout: 200 0.022351
[opencl_init] opencl_size_roundup: 16 0.022352 [opencl_init]
opencl_async_pixelpipe: 1 0.022354 [opencl_init] opencl_synch_cache:
false 0.022355 [opencl_init] opencl_number_event_handles: 100
0.022358 [opencl_init] opencl_micro_nap: 1000
0.022360 [opencl_init] opencl_use_pinned_memory: 0
0.022361 [opencl_init] opencl_use_cpu_devices: 0
0.022363 [opencl_init] opencl_avoid_atomics: 0
0.022364 [opencl_init]
0.022518 [opencl_init] found opencl runtime library 'libOpenCL'
0.022536 [opencl_init] opencl library 'libOpenCL' found on your system
and loaded : CommandLine Error: Option 'polly' registered more than
once! LLVM ERROR: inconsistency in registered CommandLine options


____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to